MCP server name plus tool name too long for IDE clients
If server name plus tool name passes 60 characters, IDE clients may truncate it. Shorten tool names and stop repeating the server name in each tool.
Keep tool names short and do not repeat the server name inside each tool name. The rule naming.combined-length is a minor, warn-level finding for the Grok Build (formerly Cursor) and VS Code platform tags. It fires when the server name length plus the tool name length is over 60 characters.
What you see
- A scan reports
naming.combined-length:Server name (12) + tool name (52) = 64 characters. - A warning only.
Why it happens
IDE clients prefix the server name to the tool name, so the model sees a combined name. The rule's fix text says the limit near 60 characters is community-documented. The scan source notes for these platforms say the tool-limit guidance is community-documented, not stated on the pages that could be fetched, so treat 60 as unverified for any given client version.
Check it yourself
curl -s -X POST https://mcp.acme.example/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H "Authorization: Bearer $TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
| jq -r '.result.tools[] | "\(.name | length)\t\(.name)"' | sort -rn | head
Add the length of your server name (from serverInfo.name) to the top entries.
Fix
- Before: server
acme-order-management, toolacme_order_management_get_order_with_shipping_status. - After: server
acme, toolget_order.
Aim for tool names under about 40 characters. Claude has a separate hard limit of 64 characters per tool name: naming.length.
Verify
Server name length plus every tool name length is 60 or less, then re-scan.
Which clients care
Grok Build (formerly Cursor) and VS Code, per the rule's platform tags.
Source
Grok Build MCP docs: https://docs.grok.com/build/agents-window/mcp
VS Code MCP servers: https://code.visualstudio.com/docs/agent-customization/mcp-servers
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check every rule at once
A free scan runs this check and the other 152 against your live URL.