examples/: runnable examples - chat prompts, a 50-line agent of your own, and a zero-risk read-only demo

オープン
#23 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, macos, node.js

調査の方向性

Read the main README sections on Tools, Modes, and Without taking over your screen, then inspect mcp-server/tools.js and docs/use-cases/ to confirm the available tools and safe examples. Add one self-contained example under examples/ and list it in examples/README.md; link the examples from the main README. For the Node example, run it on macOS with permissions granted and document the expected output; done means the example follows the acceptance criteria.

索引モデルが issue の本文から書いたものです。

説明

documentation good first issue

Why

The best way to get people building on computer-mcp is to show what it can do, end to end, in a form they can copy. The README explains the gates well, but there is no folder of runnable examples - neither prompts for chat clients nor code for people writing their own agent.

What to do

Add an examples/ folder with a few small, self-contained examples. Each one is a short README plus whatever it needs:

  1. Prompts for chat clients - tasks that show the background mode, for example: "fill in this form in the window behind me", "rename the screenshots on my Desktop in Finder", "draft a reply in Mail and wait for my yes". Say what the agent should do, which tools it ends up using, and what the person sees (box, icon, questions).
  2. Your own agent, in code - a minimal Node script using the client side of @modelcontextprotocol/sdk that starts npx -y @agent360/computer-mcp over stdio, lists the tools and calls computer_permissions and computer_screenshot. About 50 lines, so anyone can start from it.
  3. A read-only example with CMCP_MODE=readonly, for people who want to try it with zero risk.

Acceptance criteria

  • examples/README.md lists every example with one line each.
  • The code example runs with node on a Mac with the permissions granted, and its README says what output to expect.
  • Linked from the main README.
  • No example asks for anything the gates would refuse (password managers, etc.) - or if it does, it shows the refusal on purpose.

Pointers

README.md (Tools, Modes, Without taking over your screen), mcp-server/tools.js (tool definitions and descriptions), docs/use-cases/.

Good first issue: pick one example and send it on its own - several small PRs are better than one big one. If you have built something cool with computer-mcp, an example of it is very welcome too.

主要言語
JavaScript
スター
1
フォーク
0
平均マージ
1日 21時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Agent360dk/computerMCP のほかの issue

Agent360dk/computerMCP の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。