Switch on by itself: icon at login, wake when something lands in the queue, first-run permission setup, self-recovery
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, macos, swift
- 領域
- accessibility, desktop, devtools
調査の方向性
Start with mcp-server/bin/cli.js, then read mcp-server/status.js and mcp-server/godkend.js for icon startup, and mcp-server/audit.js plus programlaas.js for queue handling. Pick one proposed part and trace its existing entry point; for login startup, inspect the LaunchAgent behavior and CLI argument handling. Done means meeting that part’s acceptance criteria, with plist and CLI tests and measured macOS behavior where applicable.
索引モデルが issue の本文から書いたものです。
説明
Why
Today computer-mcp only exists while an MCP client has it running. The first time someone tries it, they need to install it, find the right app to grant Accessibility and Screen Recording to, and have the menu bar icon running before any question can reach them. Every one of those steps is a place where people give up. We want it to just be there and switch itself on when an agent needs it.
How it works today
- Every client starts its own server over stdio (
mcp-server/bin/cli.jsjust importsindex.js; the transport isStdioServerTransport). The server shuts down when the client goes away (process.stdin.on('end')and the parent watch inmcp-server/vagt.js). - The menu bar icon (
ComputerMCPStatus.app) is started lazily bystartIkon()inmcp-server/status.jswithopen -g -j, and again fromikonetKlar()inmcp-server/godkend.jsif a question needs it. If it cannot be reached, a question in background mode is refused ("the menu bar icon is not running"). - Permissions: the README explains that macOS grants them to the responsible process, which depends on how the client started the server.
computer_permissionsreports what is missing, but only after an agent asks.
Proposed approach
Split into small PRs - any one of them is a useful contribution:
- Start the icon at login (opt-in). A
computer-mcp install-login-item(anduninstall-login-item) subcommand inbin/cli.jsthat writes a user LaunchAgent (~/Library/LaunchAgents/dev.computermcp.status.plist) launching the icon withopen -g -j, so questions never fail because the icon is not running. It must not take focus (see the note instartIkon). - First-run onboarding. A
computer-mcp setupsubcommand that checks both permissions (the helper already haspermissions), opens the right System Settings pane (x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility/?Privacy_ScreenCapture), waits, and confirms. It should say honestly which app the grant lands on, rather than guessing. - Recover by itself. If the icon dies while a server is running, restart it on the next question (partly there in
ikonetKlar()), and report it in the startup line on stderr. - Document it on the site (
docs/docs/install-*) and in the README Install section.
Out of scope: a long-lived daemon that holds Accessibility permission for all clients. The WISHLIST explains why ("A persistent helper process"): the 21 ms per call is not worth it. Happy to discuss if you have numbers that say otherwise.
Wake on queue - no manual activation
Owner request (25 Nov): computer-mcp should switch itself on when something lands in the queue, also when the person is driving the agent by voice and nobody is watching the screen.
What that means for this issue:
- The icon started at login (part 1) is the piece that is always there. It should watch the queue -
pending.jsonl(written bynoterVentendeinmcp-server/audit.js) and the per-app lock folder (programlaas.js) - and wake up by itself when a request arrives: banner and sound (both exist since 0.4.1), and the waiting call continues once it is its turn. - No step should need a person to "activate" anything first: no opening the app, no restarting the client, no re-enabling the server.
- The queue mechanics (order, position, continuing in the same call) are in #17. The hands-free / voice side (spoken announcements, Voice Control, telling a voice client the answer is in) is in #25.
- A gate does not get weaker for it: a yes is still Touch ID or the Mac's password in the icon, never a spoken word.
Extra acceptance criterion:
- With the icon installed at login and no other manual step, a request that lands in the queue is noticed (banner/sound) within a few seconds and processed when its turn comes - measured, with the number in the PR.
Acceptance criteria
-
npx -y @agent360/computer-mcp install-login-iteminstalls a LaunchAgent; after logging out and in, the icon is running and no app lost focus. -
uninstall-login-itemremoves it cleanly, anddocs/docs/uninstallmentions it. -
setupwalks a fresh user through both permissions and ends with a clear "ready" / "still missing X". - Nothing here weakens a gate: the icon still requires Touch ID or the password for every yes.
- Tests for the plist content and the CLI argument handling (the macOS parts can be manual; please paste what you measured).
Pointers
mcp-server/bin/cli.js, mcp-server/status.js (startIkon), mcp-server/godkend.js (ikonetKlar), mcp-server/vagt.js, helper/Sources/cmcp-helper/Permissions.swift, docs/docs/install-claude-code/index.html, docs/docs/uninstall/index.html.
The first-run experience is where we lose most new users, so this one matters a lot. Pick one of the four parts and comment here - you do not have to do all of it.
Related: #17 (the queue itself) and #25 (hands-free and voice).
- 主要言語
- JavaScript
- スター
- 1
- フォーク
- 0
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 9
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent360dk/computerMCP のほかの issue
-
Recipes for the native Mac apps everyone uses (Finder, Mail, Notes, System Settings, Safari, ...)オープンgood first issue recipe
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent360dk/computerMCP#21 ·
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Agent360dk/computerMCP#20 ·
-
good first issue help wanted protection-list
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Agent360dk/computerMCP#25 ·
-
enhancement help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
Agent360dk/computerMCP#24 ·
Agent360dk/computerMCP の issue をすべて見る
似ている issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openclaw/clawrouter#1348 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Missing repro Platform: Android
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
software-mansion/react-native-reanimated#11554 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[DOCS]: Correct ESM initialization in the README examples対応中かも @VIOLETee0 が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
octokit/graphql.js#716 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
directus/directus#28558 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信