mirror of
https://github.com/cloudflare/skills.git
synced 2026-04-25 06:35:50 +03:00
[GH-ISSUE #11] MCP server tool names exceed 64-character API limit #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/skills#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quad1661 on GitHub (Jan 29, 2026).
Original GitHub issue: https://github.com/cloudflare/skills/issues/11
Summary
The MCP server names defined in
.mcp.jsoncause tool names to exceed the 64-character limit enforced by the Claude API, resulting ininvalid_request_errorwhen using the plugin.Error
Root Cause
Claude Code prefixes MCP tool names with
mcp__plugin_cloudflare_, then appends the server name and tool name. The current server names in.mcp.jsoncreate excessively long prefixes:cloudflare-docsmcp__plugin_cloudflare_cloudflare-docs__cloudflare-workers-observabilitymcp__plugin_cloudflare_cloudflare-workers-observability__cloudflare-workers-buildsmcp__plugin_cloudflare_cloudflare-workers-builds__When combined with tool names like
query_worker_observability(26 chars), the total exceeds 64 characters.Suggested Fix
Remove the redundant
cloudflare-prefix from server names since it's already included in the plugin prefix:This would create prefixes of 29-38 characters, leaving ample room for tool names.
Environment
3f72589, 2026-01-28)@kalepail commented on GitHub (Jan 29, 2026):
Hitting this as well. Might want to consider actually shortening the mcp tool names themselves as well.
@davisshaver commented on GitHub (Jan 30, 2026):
Would this be why the servers show up as failed for me in Claude Code?