Medium
A destructive tool says it only reads
MCPS-TOOL-005Why it mattersreadOnlyHint: true on a tool whose name deletes, sends or pays is a hint some clients use to run it without asking.
How to fixRemove readOnlyHint from tools that change something.
- Request
POST https://trip1.com/api/mcp (tools/list, no sign-in)- Found on
- pay_order
Read from tool names; can be wrong
SpecMCP 2026-07-28, Server Features, Tools: Data Types, Tool (annotations)
Low
Answers a request from a foreign website
MCPS-ORIGIN-001Why it mattersThe MCP spec requires a 403 for an Origin the server does not expect. On a public server this keeps other websites' pages from calling it through a visitor's browser; on a server running on someone's own machine, it is what stops a web page from reaching it (DNS rebinding, behind CVE-2025-66414 and CVE-2025-66416).
How to fixWhen an Origin header is present and not on your list, answer 403; requests without one, from programs, keep working. In the official SDKs, turn on DNS rebinding protection and list the allowed origins and hosts.
new StreamableHTTPServerTransport({ enableDnsRebindingProtection: true, allowedOrigins: ['https://claude.ai'], allowedHosts: ['mcp.example.com'] })const origin = request.headers.get('Origin'); if (origin && !ALLOWED.has(origin)) return new Response(null, { status: 403 })- Request
POST https://trip1.com/api/mcp (initialize, Origin: https://probe.invalid)- Answer
200- What we saw
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true},"prompts":{"listChanged":true},"resources":{"listChanged":true},"logging":{},"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"serverInfo":{"name":"t…
Seen in the server's answer
SpecMCP 2026-07-28, Transports, Streamable HTTP: Security & Endpoint, item 1CVE-2025-66414 (TypeScript SDK), CVE-2025-66416 (Python SDK): DNS rebinding protection off by default
Low
Uses deprecated logging
MCPS-PROTO-001Why it mattersMCP 2026-07-28 deprecates logging; it can be removed from revisions released on or after 2027-07-28.
How to fixLog to stderr for stdio servers, or use OpenTelemetry.
- Request
POST https://trip1.com/api/mcp (initialize)- What we saw
capabilities: {"tools":{"listChanged":true},"prompts":{"listChanged":true},"resources":{"listChanged":true},"logging":{},"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}}
Seen in the server's answer
SpecMCP 2026-07-28, Deprecated Features: Logging (SEP-2577)