Add MCP docs server to Claude Code GitHub Action #937
+10
−1
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.