MCP Docs
https://modelcontextprotocol.io/mcp
Search, browse, and query the official Model Context Protocol documentation, and report documentation problems.
82.0/100
#11 of 33 · #10 in Docs & knowledge
Fix it with your coding agent
Free. Paste this into Claude Code, Cursor or Codex inside your server's repo.
Improve the MCP server at https://modelcontextprotocol.io/mcp so AI agents can use it better. It scored 82/100 (B+) on the Agnost MCP Leaderboard.
Top fixes:
1. Agents got stuck retrying in 11% of tasks.
2. Responses reach ~39,301 tokens (95th percentile). Add limits, pagination or summaries.
3. Trim query_docs_filesystem_model_context_protocol's description below 2 KB so Claude Code doesn't truncate it. Move the long command reference into a resource and keep the supported commands, path conventions, and one example inline.
Per-tool fixes:
- submit_feedback: Add: 'Sends feedback to the docs team (visible externally); confirm with the user before submitting. Returns a confirmation of receipt.' Doesn't say whether user confirmation is expected before sending externally Return value not described No outputSchema — agents can't tell what the tool returns
- query_docs_filesystem_model_context_protocol: Trim duplicated .mdx path explanations into one sentence and add what error is returned for unsupported commands or syntax. Very long; some repetition (path/.mdx rule stated multiple times) Doesn't state behavior on unsupported commands Description is over 2 KB — Claude Code truncates tool metadata at 2 KB No outputSchema — agents can't tell what the tool returns
- search_model_context_protocol: Expand param docs: query — 'Natural-language question or keywords, e.g. "tool annotations"'; version — 'Optional spec version such as "2025-06-18"; omit to search all versions.' 'query' param described only as 'Search query' with no guidance on phrasing 'version' filter lacks list of valid values or default behavior No mention of result count or ranking No outputSchema — agents can't tell what the tool returns
Keep tool names stable. Add readOnlyHint/destructiveHint annotations and outputSchema where missing.Score breakdown
Weighted by what breaks agents in 100M+ real MCP calls.
Error quality
5 bad-input tests · 4 clear errors
83/100 · 20 pts
↳ Clear errors that name the fix get ~3× more successful retries
Task success across agents
opus-5-5: 3/3 · haiku-5-5: 3/3 · gpt-5.5: 3/3 · first-call success 100% · 1.3 calls/task
95/100 · 15 pts
↳ The same tool can fail 0% of the time in one client and 13% in another
Tool count & token cost
3 tools · ~2,103 tokens · 1 overlapping pairs
94/100 · 15 pts
↳ The top 3 tools usually get >99% of calls; the rest just cost context
Schema & docs accuracy
Descriptions 85/100 · 0/3 declare outputSchema
81/100 · 15 pts
↳ Declared output schemas that don't match real output break calls
Response size
median ~1,726 tokens · p95 ~39,301 · no limit params
43/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 725ms · p95 3870ms · 0 timeouts
90/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 840ms · Streamable HTTP
100/100 · 10 pts
↳ After a login or permission error, ~1 in 5 sessions end
Metadata & discoverability
metadata 45/100 · Listed in the official MCP Registry ✕ · mcp.json manifest ✓ · Setup page in the browser ✕
39/100 · 5 pts
↳ The basics. Necessary, but not what makes agents succeed
What your errors look like to an agent
We sent deliberately bad inputs. Errors that name the bad field and the valid values get ~3× more successful retries in real agent traffic.
Left out a required field · search_model_context_protocol.query
Model sees it · "Input validation error: Invalid arguments for tool search_model_context_protocol: query: Required"
Sent the wrong type · search_model_context_protocol.query
Model sees it · "Input validation error: Invalid arguments for tool search_model_context_protocol: query: Expected string, received number"
Left out a required field · query_docs_filesystem_model_context_protocol.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_model_context_protocol: command: Required"
Sent the wrong type · query_docs_filesystem_model_context_protocol.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_model_context_protocol: command: Expected string, received number"
Called a tool that doesn't exist · —
Protocol error (often hidden from the model) · "Tool __agnost_nonexistent_tool__ not found"
We let a real AI agent use it
3 AI models got realistic tasks and the full tool list. We checked if the first call was right, how many calls it took, and if it finished the job. It used ~6,729 tokens per task on average.
opus-5-5How do MCP servers expose resources to clients? Find the relevant docs section.
Right tool first try · 7.8s · search_model_context_protocol
opus-5-5Find documentation on the Streamable HTTP transport in MCP.
Right tool first try · 6.8s · search_model_context_protocol
opus-5-5List the documentation pages available under the specification directory.
Right tool first try · 12.0s · query_docs_filesystem_model_context_protocol → query_docs_filesystem_model_context_protocol → query_docs_filesystem_model_context_protocol
haiku-5-5How do MCP servers expose resources to clients? Find the relevant docs section.
Right tool first try · 3.7s · search_model_context_protocol
haiku-5-5Find documentation on the Streamable HTTP transport in MCP.
Right tool first try · 3.8s · search_model_context_protocol
haiku-5-5List the documentation pages available under the specification directory.
Right tool first try · 10.1s · query_docs_filesystem_model_context_protocol → query_docs_filesystem_model_context_protocol
gpt-5.5How do MCP servers expose resources to clients? Find the relevant docs section.
Right tool first try · 5.7s · search_model_context_protocol
gpt-5.5Find documentation on the Streamable HTTP transport in MCP.
Right tool first try · 4.8s · search_model_context_protocol
gpt-5.5List the documentation pages available under the specification directory.
Right tool first try · 4.6s · query_docs_filesystem_model_context_protocol
Top 3 fixes
- 1
Agents got stuck retrying in 11% of tasks.
- 2
Responses reach ~39,301 tokens (95th percentile). Add limits, pagination or summaries.
- 3
Trim query_docs_filesystem_model_context_protocol's description below 2 KB so Claude Code doesn't truncate it. Move the long command reference into a resource and keep the supported commands, path conventions, and one example inline.