MCP tool names mix camelCase, snake_case and kebab-case
Pick one naming style for every tool, usually snake_case. Mixed styles are harder for models and people to scan. Info-level, warn status.
Use one naming style for all tools, such as snake_case. The rule naming.mixed-style is an info-level, warn-status finding with the general platform tag.
What you see
- A scan reports
naming.mixed-style:Mixed styles: 2 camelCase, 5 snake_case, 0 kebab-case. - It fires when more than one of the three styles appears among the tool names.
Why it happens
Tools were added over time by different people or generated from different sources. The rule's fix text says snake_case is the most common and that mixed styles make the list harder for models and people to scan.
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' | sort
Look for names with an uppercase letter after a lowercase one, names with underscores and names with hyphens.
Fix
Rename to one style, for example getOrder to get_order. Renaming changes what clients call, so announce it as a breaking change and bump serverInfo.version.
Verify
Every name follows one style, then re-scan.
Which clients care
General, per the rule's platform tag.
Source
OpenAI MCP server guidance: https://developers.openai.com/plugins/build/mcp-server
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.