feat: add launchd service management and agent skill install#1
Open
dazuiba wants to merge 2 commits intopetergam:mainfrom
Open
feat: add launchd service management and agent skill install#1dazuiba wants to merge 2 commits intopetergam:mainfrom
dazuiba wants to merge 2 commits intopetergam:mainfrom
Conversation
Add `xcode-mcp service` commands (install/uninstall/status/logs) to run the bridge as a persistent macOS launchd daemon with auto-start on login and auto-restart on crash — replacing the need for pm2. Add `xcode-mcp skill install --skill-root-dir <path>` to copy the bundled SKILL.md into Claude Code or Codex skill directories, so agents learn how to use the CLI without loading 20 MCP tool definitions into context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xcode-mcp servicecommands (install/uninstall/status/logs) to run the bridge as a persistent macOS launchd daemon — auto-starts on login, auto-restarts on crash, zero extra dependencies (no pm2 needed)xcode-mcp skill install --skill-root-dir <path>to copy a bundledSKILL.mdinto Claude Code (~/.claude/skills) or Codex (~/.codex/skills) directories, so agents learn the CLI without loading all 20 MCP tool definitions into contextskills/xcode-mcp/SKILL.mdwith the npm package (added explicitfilesfield topackage.json)New commands
Test plan
npm test— all 16 existing tests passxcode-mcp --help— newserviceandskillcommands visible in correct orderxcode-mcp service --help/xcode-mcp skill --help— subcommands render correctlyxcode-mcp skill install --skill-root-dir /tmp/test— copies SKILL.md successfullyxcode-mcp service install— plist appears in~/Library/LaunchAgents/, bridge starts (requires Xcode 26.3)xcode-mcp service status— reports running + healthyxcode-mcp service uninstall— cleans up plist and stops process🤖 Generated with Claude Code