Skip to content

Commit 8b80372

Browse files
authored
Merge pull request #3078 from olaservo/add-mcp-docs-server
Add MCP docs server to Claude Code GitHub Action
2 parents 1abe62e + 57039be commit 8b80372

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
@@ -44,5 +44,6 @@ jobs:
4444
assignee_trigger: "claude"
4545

4646
claude_args: |
47+
--mcp-config .mcp.json
4748
--allowedTools Bash
48-
--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."
49+
--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)