Skip to content

Conversation

@olaservo
Copy link
Member

@olaservo olaservo commented Nov 26, 2025

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

  • Server: N/A (CI configuration change)
  • Changes to: .github/workflows/claude.yml, .mcp.json

Motivation 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:

  1. Trigger the Claude Code action on a PR or issue mentioning @claude with an MCP-related question
  2. Verify Claude uses the mcp-docs MCP server to look up documentation

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

The .mcp.json file also benefits local Claude Code CLI users who clone the repository, as it will automatically configure the mcp-docs server for them.

- Add .mcp.json with mcp-docs HTTP server configuration
- Update claude.yml to load MCP server config with --mcp-config
- Change --system-prompt to --append-system-prompt to preserve defaults
- Extend instructions to use mcp-docs for MCP-related work

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Member

@domdomegg domdomegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this is a great idea

@olaservo olaservo merged commit 8b80372 into modelcontextprotocol:main Nov 26, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants