Skip to content

Conversation

@olaservo
Copy link
Member

Summary

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.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Refactoring (no functional changes)
  • Test updates
  • Build/CI improvements

Changes Made

  1. Added .mcp.json - New MCP server configuration file at project root with the mcp-docs HTTP server:

    {
      "mcpServers": {
        "mcp-docs": {
          "type": "http",
          "url": "https://modelcontextprotocol.io/mcp"
        }
      }
    }
  2. Updated .github/workflows/claude.yml:

Related Issues

N/A

Testing

Have not tested this yet.

  • Tested in UI mode
  • Tested in CLI mode
  • Tested with STDIO transport
  • Tested with SSE transport
  • Tested with Streamable HTTP transport
  • Added/updated automated tests
  • Manual testing performed

Test Results and/or Instructions

This is a CI configuration change. To verify:

  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

Checklist

  • Code follows the style guidelines (ran npm run prettier-fix)
  • Self-review completed
  • Code is commented where necessary
  • Documentation updated (README, comments, etc.)

Breaking Changes

None

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 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 <noreply@anthropic.com>
@olaservo olaservo marked this pull request as draft November 27, 2025 14:52
@olaservo
Copy link
Member Author

Converting to draft until I fix a couple issues with allowed tools config

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.

1 participant