Add MCP docs server to Claude Code GitHub Action #3078
Merged
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.
Description
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.
Server Details
.github/workflows/claude.yml,.mcp.jsonMotivation and Context
By adding the mcp-docs MCP server, Claude can access up-to-date protocol documentation when reviewing PRs or working on issues in this repository.
We were also replacing the Claude Code system prompt, but my assumption is that we actually want to append to it.
How Has This Been Tested?
I still need to verify this but don't currently have the GitHub Action set up in my own repo. I've tested the docs server locally and it seems to pull up information reliably in that scenario.
How this should be tested:
@claudewith an MCP-related questionBreaking Changes
None
Types of changes
Checklist
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.