`computer-mcp doctor`: one command that says what is installed, granted and missing
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript, macos, node.js
- Bereich
- cli, developer-experience
Rechercherichtung
Start with mcp-server/bin/cli.js to see how arguments reach the current server entry point, then read the existing helpers in mcp-server/helper.js, mcp-server/audit.js, and mcp-server/tilstede.js. Use .github/diagnose.sh and .github/ISSUE_TEMPLATE/bug.yml as references, and check the tests in test/ for the project's conventions. Done means doctor reports the requested checks in text and JSON, handles failures with guidance, preserves the no-argument server behavior, and its test confirms log contents are absent.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Why
When something does not work, the first question is always the same: which Node version, is the helper there, are the permissions granted, and to which app, is the icon running, can the log be written? Today you have to ask an agent to call computer_permissions, or run .github/diagnose.sh from a clone. A single command anyone can paste into a bug report would make issues much faster to solve.
How it works today
mcp-server/bin/cli.jsonly doesimport '../index.js'- there are no subcommands.- The pieces already exist:
helperPath()andcallHelper(['permissions'])inmcp-server/helper.js,AUDIT_PATH/kaedenHolder/loggenKanSkrivesinmcp-server/audit.js,ikonTilstand()inmcp-server/tilstede.js, and the version inpackage.json. .github/diagnose.shcovers part of it, but only for people who cloned the repo.
Proposed approach
Add npx -y @agent360/computer-mcp doctor, which prints, without starting the MCP server:
- computer-mcp version, Node version, macOS version, architecture
- helper path and whether it runs
- Accessibility and Screen Recording: granted / missing
- menu bar icon: running / not running / version
- state directory and audit log: writable, and whether the hash chain holds
- current
CMCP_MODEandCMCP_BACKGROUND
Plain text by default, --json for machines. It must not print anything secret (no log contents, only counts and paths).
Acceptance criteria
-
doctorexits 0 when everything is fine and non-zero when something is missing, with a line saying what to do. - Running with no arguments still starts the MCP server exactly as today (the MCP clients depend on it).
- A test in
test/checks the argument handling and that the output contains no log contents. - The bug template (
.github/ISSUE_TEMPLATE/bug.yml) asks for thedoctoroutput.
Pointers
mcp-server/bin/cli.js, mcp-server/helper.js, mcp-server/audit.js, mcp-server/tilstede.js, .github/diagnose.sh, .github/ISSUE_TEMPLATE/bug.yml.
A nice first contribution: small, self-contained, and it will help everyone who files a bug after you. Comment here if you want it.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1
- Forks
- 0
- Ø Merge
- 1 T. 21 Std.
- Gemergte PRs (30 T.)
- 9
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Agent360dk/computerMCP
-
Recipes for the native Mac apps everyone uses (Finder, Mail, Notes, System Settings, Safari, ...)Offengood first issue recipe
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Agent360dk/computerMCP#21 ·
-
documentation good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Agent360dk/computerMCP#20 ·
-
good first issue help wanted protection-list
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 94/100
-
enhancement help wanted
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Agent360dk/computerMCP#25 ·
-
enhancement help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 50/100
Agent360dk/computerMCP#24 ·
Alle Issues in Agent360dk/computerMCP
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
beginner bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
hiero-ledger/hiero-sdk-js#4824 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
aktin/apikey-manager-gui#49 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
openclaw/clawrouter#1348 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Missing repro Platform: Android
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
software-mansion/react-native-reanimated#11554 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag