Merge pull request #3078 from olaservo/add-mcp-docs-server

Add MCP docs server to Claude Code GitHub Action
This commit is contained in:
Ola Hungerford
2025-11-26 10:42:36 -07:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -44,5 +44,6 @@ jobs:
assignee_trigger: "claude"
claude_args: |
--mcp-config .mcp.json
--allowedTools Bash
--system-prompt "If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block."
--append-system-prompt "If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block. When working on MCP-related code or reviewing MCP-related changes, use the mcp-docs MCP server to look up the latest protocol documentation. For schema details, reference https://github.com/modelcontextprotocol/modelcontextprotocol/tree/main/schema which contains versioned schemas in JSON (schema.json) and TypeScript (schema.ts) formats."

8
.mcp.json Normal file
View File

@@ -0,0 +1,8 @@
{
"mcpServers": {
"mcp-docs": {
"type": "http",
"url": "https://modelcontextprotocol.io/mcp"
}
}
}