Skip to content

fix: correct the client setup in the MCP guide - #48

Merged
shenxianpeng merged 1 commit into
mainfrom
bugfix/mcp-guide-client-setup
Sep 27, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
bugfix/mcp-guide-client-setup

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

The Add it to the agent tabs in docs/guides/mcp.md had drifted from how the clients actually work, and from the commit-check-mcp README.

What was wrong

Tab Before Now
Claude Code JSON in .claude/settings.local.json or ~/.claude/settings.json. Claude Code does not read MCP servers from there, so the server silently never loaded. commit-check/commit-check-mcp#36 fixed this in that repo's README. claude mcp add commit-check -- uvx commit-check-mcp. The tab explains --scope project (a shared .mcp.json at the repository root) and --scope user (every project), and shows the .mcp.json block for writing it by hand.
Zed mcp_servers context_servers
VS Code missing New tab for .vscode/mcp.json, which uses the servers key, not mcpServers
Other clients Linked to the README's #use-with-an-mcp-client, a heading that commit-check/commit-check-mcp#38 removed Links to #where-each-client-keeps-it, and adds Continue, whose entry is YAML
Without uv which only Also mentions where on Windows

There is also one sentence outside the tabs. "All tools are read-only" was not true: validate_push_safety and validate_repository_state may run git fetch to resolve a SHA. The page now names those two and says what the fetch updates. The other six are annotated read-only for clients that auto-approve on that.

Sources

  • Claude Code: claude mcp add --help (2.1.236) and the MCP docs for the scopes, where each one is stored, and the .mcp.json format.
  • Zed: the MCP docs, which use context_servers with command, args and env.
  • VS Code, Continue and the rest: the client table in the commit-check-mcp README.
  • Tool annotations: server.py in commit-check-mcp (read_only_hint = not fetches).

Checks

  • mkdocs build --strict passes (with SOCIAL_CARDS=false). The rendered page shows six tabs: Claude Code, Cursor, VS Code, Zed, the combined tab and Without uv.
  • The new README anchor exists on github.com/commit-check/commit-check-mcp.
  • python -m pytest tests/ -q passes with the released package installed (10 tests). The pins and the changelog were already at 2.18.1.

The Claude Code tab told readers to put the server in
.claude/settings.local.json or ~/.claude/settings.json. Claude Code does
not read MCP servers from settings.json, so that config was silently
ignored. commit-check/commit-check-mcp#36 fixed the same mistake in that
README; the site kept it.

- Claude Code: `claude mcp add commit-check -- uvx commit-check-mcp`,
  with --scope project for a shared .mcp.json or --scope user for every
  project, and the .mcp.json block for writing it by hand.
- Zed: the key is context_servers, not mcp_servers.
- VS Code: a tab of its own, since its .vscode/mcp.json takes the
  servers key rather than mcpServers.
- The catch-all tab pointed at the README's #use-with-an-mcp-client,
  which commit-check/commit-check-mcp#38 renamed; it now links
  #where-each-client-keeps-it and names Continue, whose entry is YAML.
- "All tools are read-only" was not true: the two push checks may run
  git fetch to resolve a SHA. The page now says which two, and what that
  updates.

Checked against Claude Code's `claude mcp add --help` and its MCP docs,
Zed's MCP docs, and the commit-check-mcp README.
@netlify

netlify Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for commit-check ready!

Name Link
🔨 Latest commit af88187
🔍 Latest deploy log https://app.netlify.com/projects/commit-check/deploys/6ab95e6f2718cb000854afdd
😎 Deploy Preview https://deploy-preview-48--commit-check.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Sep 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 05d0409e-3be4-4c15-8c96-beadad439fe8

📥 Commits

Reviewing files that changed from the base of the PR and between 4aea1f3 and af88187.

📒 Files selected for processing (1)
  • docs/guides/mcp.md

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.

@shenxianpeng
shenxianpeng merged commit a2fa2e8 into main Sep 27, 2026
8 checks passed
@shenxianpeng
shenxianpeng deleted the bugfix/mcp-guide-client-setup branch September 27, 2026 18:25
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.

1 participant