Skip to content

Commit da75bfb

Browse files
olaservoclaude
andcommitted
Add MCP docs server to Claude Code GitHub Action
- 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 <[email protected]>
1 parent 4e431c9 commit da75bfb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/claude.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ jobs:
4646
assignee_trigger: "claude"
4747

4848
claude_args: |
49+
--mcp-config .mcp.json
4950
--allowedTools Bash
50-
--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."
51+
--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."

.mcp.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mcpServers": {
3+
"mcp-docs": {
4+
"type": "http",
5+
"url": "https://modelcontextprotocol.io/mcp"
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)