Skip to content

MCP 2026-07-28 conformance

  • SDK: mcp>=2.0,<3, low-level mcp.server.Server; protocolVersion comes from mcp.types.LATEST_PROTOCOL_VERSION (2026-07-28). server.py is the only module that imports the SDK server API. The architecture is adapted from idss-mesa/neon-mcp by way of weather-station-mcp.
  • Tools: 37, sorted by name, names matching ^nasa_[a-z_]+$ (enforced at import), descriptions of at most 600 characters ending with a Next: sentence. Every tool declares a JSON Schema 2020-12 inputSchema (additionalProperties: false) and outputSchema, title and all four annotations (every tool is read-only, non-destructive, idempotent and open-world). Tool _meta: io.nasa-mcp/surface, .../endpoints, .../providers, .../usesApiKey.
  • Results: the same compact JSON as TextContent and structuredContent; result _meta io.nasa-mcp/upstream = {requests, cacheHits, apiNasaGovRateLimit?}. Outputs are camelCase and carry resolved, notes, nextSteps and source {endpoints, via, cached, derived, citation}.
  • Errors are tool results (isError: true) whose text content is the compact JSON {error: {code, message, details, hint?}}. They carry no structuredContent, because each tool's outputSchema describes the success shape and clients that validate it even on errors would otherwise turn every tool error into JSON-RPC -32602. The 14 codes are listed in Conventions. Protocol faults (unknown resource, bad prompt arguments) are JSON-RPC -32602.
  • Size: a 50 000-byte result budget trims each tool's main list from the tail (page.truncated: true, page.truncatedReason: "budget", page.nextOffset, a nextSteps line); a 200 000-byte hard cap returns result_too_large.
  • Cache hints (public): tools/list 5 min, resources 1 h, prompts/list 24 h, server/discover 5 min.
  • Not used (CI greps src/ for them): elicitation, sampling, roots, progress, logging/setLevel, legacy SSE, sessions, tasks.