64-Character Limit on Tool Names Conflicts with MCP Spec — Should Be Removed or Configurable · Issue #520 · github/github-mcp-server · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

64-Character Limit on Tool Names Conflicts with MCP Spec — Should Be Removed or Configurable #520

Closed as duplicate of#431
@jlwainwright

Description

@jlwainwright

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

  1. Remove or relax the 64-character limit
    Unless technically necessary, this constraint should be removed to comply with the MCP spec.

  2. Make it configurable
    If the limit is required (e.g. for DB/index safety), allow it to be set via environment variable or config.

  3. Document the implementation limit clearly
    Add a note in the README or a dedicated validation section to avoid confusion for tool developers.

  4. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      TMZ Celebrity News – Breaking Stories, Videos & Gossip

      Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

      Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

      🎥 Watch TMZ Live

      TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.