Why it happens
Clients show a tool by its title, and MCP has carried it in annotations.title since the 2025-03-26 revision. The top-level title only arrived in 2025-06-18, so older clients never see it, and some newer client surfaces still ignore it: Claude Code's transcript shows the bare tool name. Anthropic's Connectors Directory review asks every tool for a title and hint annotations, and its portal has flagged tools that set only the top-level title. Both MCP toolkits fill the top-level title from the file name and pass annotations through as written, so a file-discovered tool ships without one unless you add it.
Fix
Set annotations.title to the same human-readable name as the top-level title.
Example
Name the tool in its annotations
Before
export default defineMcpTool({
name: 'get_kpis',
title: 'Get KPIs',
annotations: { readOnlyHint: true },
handler: () => kpis(),
})
After
export default defineMcpTool({
name: 'get_kpis',
title: 'Get KPIs',
annotations: { title: 'Get KPIs', readOnlyHint: true },
handler: () => kpis(),
})
Verify the fix
Run only this rule after editing so the report stays focused on the diagnostic you are closing:
pnpm vite-doctor . --rules mcp/tools/require-annotation-title