Add MCP docs server to Claude Code GitHub Action#937
Merged
cliffhall merged 4 commits intomodelcontextprotocol:mainfrom Jan 20, 2026
Merged
Add MCP docs server to Claude Code GitHub Action#937cliffhall merged 4 commits intomodelcontextprotocol:mainfrom
cliffhall merged 4 commits intomodelcontextprotocol:mainfrom
Conversation
olaservo
commented
Nov 25, 2025
Member
Author
|
Converting to draft until I fix a couple issues with allowed tools config |
Contributor
|
👍 I've been doing this for awhile and it works well. I had noticed the use of |
- Add .mcp.json with mcp-docs HTTP server configuration - Update claude.yml to use --mcp-config and --append-system-prompt - Add instructions for Claude to use MCP docs and schema references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Add mcp__mcp-docs to allowedTools so Claude can actually use the MCP documentation server when reviewing MCP-related code. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
98e2710 to
4835b73
Compare
Member
Author
|
Hi @cliffhall , I finally took this out of draft - this should help as a reference for when we tag claude in the repo. |
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
Add MCP docs server configuration to the Claude Code GitHub Action, enabling Claude to look up the latest MCP protocol documentation and schema references when working on MCP-related code or reviewing changes.
Type of Change
Changes Made
Added
.mcp.json- New MCP server configuration file at project root with the mcp-docs HTTP server:{ "mcpServers": { "mcp-docs": { "type": "http", "url": "https://modelcontextprotocol.io/mcp" } } }Updated
.github/workflows/claude.yml:--mcp-config .mcp.jsonto load the MCP server configuration--system-promptto--append-system-promptto preserve Claude Code's default capabilitiesRelated Issues
N/A
Testing
Have not tested this yet.
Test Results and/or Instructions
This is a CI configuration change. To verify:
@claudewith an MCP-related questionChecklist
npm run prettier-fix)Breaking Changes
None
Additional Context
The
.mcp.jsonfile also benefits local Claude Code CLI users who clone the repository, as it will automatically configure the mcp-docs server for them.