From da75bfbdefa6547fbc566ed83c89a7e797f378af Mon Sep 17 00:00:00 2001 From: olaservo Date: Tue, 25 Nov 2025 08:30:11 -0700 Subject: [PATCH] Add MCP docs server to Claude Code GitHub Action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .github/workflows/claude.yml | 3 ++- .mcp.json | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .mcp.json diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 2910e4f3..40a96dac 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -46,5 +46,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
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
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." diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 00000000..5f68642a --- /dev/null +++ b/.mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "mcp-docs": { + "type": "http", + "url": "https://modelcontextprotocol.io/mcp" + } + } +}