Description
Hi team π β Iβve run into the following validation error when using github-mcp-server
in conjunction with Claude Code CLI:
After reviewing the official Model Context Protocol (MCP) specification, I found that no 64-character limit is defined for tool names or combined identifiers. This appears to be an implementation-specific constraint within this repo.
π Problem Summary
- The
github-mcp-server
enforces a 64-character limit on tool names (possibly via schema validation). - This limit is not part of the MCP spec.
- It creates friction for valid client tools (e.g. Claude Code) that generate descriptive or concatenated tool names.
π Suggestions
-
Remove or relax the 64-character limit
Unless technically necessary, this constraint should be removed to comply with the MCP spec. -
Make it configurable
If the limit is required (e.g. for DB/index safety), allow it to be set via environment variable or config. -
Document the implementation limit clearly
Add a note in the README or a dedicated validation section to avoid confusion for tool developers. -
Improve the error message
Recommend clarifying that the limit is from this server, not from MCP itself:"Tool name exceeds 64-character limit set by github-mcp-server (not MCP spec-defined)"
Thanks for your work on this β happy to help with a PR if the maintainers are open to adjustments!