Skip to content

fix(mcp): use installed server commands - #99

Merged
shunkakinoki merged 1 commit into
mainfrom
chore/pin-local-mcp-binaries
Mar 22, 2026
Merged

fix(mcp): use installed server commands#99
shunkakinoki merged 1 commit into
mainfrom
chore/pin-local-mcp-binaries

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Mar 22, 2026

Copy link
Copy Markdown
Owner

Switch the MCP server entries in .ruler/mcp.json from npx / uvx launchers to the installed command names instead.

The previous setup re-resolved packages on session startup and kept Serena tied to a git-backed uvx --from invocation. Using the installed commands removes that startup overhead and keeps the config aligned with the local tool installs.

This also updates the Xcode MCP entry to call xcodebuildmcp mcp, which is what the current CLI expects when starting the server.

No related GitHub issue was found.


Summary by cubic

Switch MCP server launchers in .ruler/mcp.json from npx/uvx to installed command names to speed up startup and match local installs. Also update Xcode to use xcodebuildmcp with the mcp subcommand.

  • Migration
    • Ensure these commands are installed and on PATH: xcodebuildmcp, serena, mcp-remote, codex, chrome-devtools-mcp, context7-mcp.

Written for commit a7a6b3c. Summary will update on new commits.

- replace npx/uvx launchers with direct command names
- use the xcodebuildmcp mcp subcommand required by the current CLI
@coderabbitai

coderabbitai Bot commented Mar 22, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@shunkakinoki has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 37 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0d63dcb4-1ab3-4879-a742-488797bf1a29

📥 Commits

Reviewing files that changed from the base of the PR and between d8ca5b6 and a7a6b3c.

📒 Files selected for processing (1)
  • .ruler/mcp.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/pin-local-mcp-binaries

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@shunkakinoki
shunkakinoki marked this pull request as ready for review March 22, 2026 04:06
Copilot AI review requested due to automatic review settings March 22, 2026 04:06

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@shunkakinoki
shunkakinoki merged commit 818f128 into main Mar 22, 2026
4 checks passed
@shunkakinoki
shunkakinoki deleted the chore/pin-local-mcp-binaries branch March 22, 2026 04:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates MCP server launcher configuration to use locally installed CLI commands instead of npx/uvx, reducing session startup overhead and aligning with local tool installs.

Changes:

  • Switch .ruler/mcp.json server commands from npx/uvx wrappers to direct installed executables.
  • Update XcodeBuildMCP to start via xcodebuildmcp mcp.
  • Adjust arguments for ChromeDevtools / Context7 to match installed command invocation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .ruler/mcp.json
Comment on lines +12 to +13
"command": "mcp-remote",
"args": ["https://api.githubcopilot.com/mcp/"]

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from npx/uvx to installed command names makes startup faster, but also shifts responsibility to the environment: these executables must exist on PATH (and be the correct versions) for the config to work. To avoid breakage/repro issues across machines/CI, consider adding a repo-managed installation/pinning mechanism (e.g., a setup script/Make target, a tool version file like mise.toml/.tool-versions, or explicit dev docs in-repo) that ensures these commands are installed at known versions.

Suggested change
"command": "mcp-remote",
"args": ["https://api.githubcopilot.com/mcp/"]
"command": "npx",
"args": ["mcp-remote", "https://api.githubcopilot.com/mcp/"]

Copilot uses AI. Check for mistakes.
Comment thread .ruler/mcp.json
Comment on lines +25 to +26
"command": "context7-mcp",
"args": []

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from npx/uvx to installed command names makes startup faster, but also shifts responsibility to the environment: these executables must exist on PATH (and be the correct versions) for the config to work. To avoid breakage/repro issues across machines/CI, consider adding a repo-managed installation/pinning mechanism (e.g., a setup script/Make target, a tool version file like mise.toml/.tool-versions, or explicit dev docs in-repo) that ensures these commands are installed at known versions.

Suggested change
"command": "context7-mcp",
"args": []
"command": "uvx",
"args": ["context7-mcp"]

Copilot uses AI. Check for mistakes.
Comment thread .ruler/mcp.json
Comment on lines +25 to +26
"command": "context7-mcp",
"args": []

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an explicit empty args array is potentially unnecessary noise and can be less compatible if the consumer expects args to be omitted when empty. If the MCP config loader treats missing/empty identically, consider removing \"args\": [] here for consistency/clarity (or, alternatively, keep empty args arrays consistently for all servers).

Suggested change
"command": "context7-mcp",
"args": []
"command": "context7-mcp"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants