MCP server that turns any OpenAPI 3.x spec into callable tools for Claude — zero config, instant API access
The server exposes two tools for OpenAPI spec consumption: list_endpoints and call_endpoint. Both tools are explicitly registered in src/index.ts with descriptions and input schemas. However, the definitions have significant gaps that limit production readiness. Tool names follow verb-noun convention (list_, call_), which is correct. Descriptions exist but lack context about prerequisites, return structures, and error recovery. Input schemas use Zod validation and include type definitions, but descriptions for parameters are minimal or generic. The call_endpoint tool's 'body' parameter accepts z.unknown() with only a terse description, violating the principle that every parameter needs actionable guidance. Parameter descriptions like 'Path, query, and header parameters as key-value pairs' are vague, they do not specify expected formats, constraints, or how the tool disambiguates between these categories. The 'operationId' parameter description includes example values ('getPetById', 'createUser'), which the rubric explicitly warns against as LLMs tend to reuse examples literally. Error handling returns text responses for unknown operationIds, but responses are unstructured and lack recovery guidance. Output is serialized JSON without schema documentation, forcing LLMs to guess at response structure. The server implements no output filtering or pagination, and tools lack descriptions of what fields are returned or how to interpret them.
Call an endpoint in the API. Use list_endpoints first to discover available operationIds and their required parameters.
List all available endpoints in the API. Call this first to discover what operations are available and get their operationIds.
Parameter descriptions lack actionable constraints and examples are embedded in descriptions rather than using enums or format constraints. The 'operationId' description includes literal examples ('getPetById', 'createUser'), violating pattern:constrained-input. This trains LLMs to reuse example values literally rather than adapt to actual context.
call_endpoint's 'body' parameter uses z.unknown() with minimal description ('Request body for POST/PUT/PATCH requests'). This violates pattern:tool-description because the LLM cannot infer what structure the body should contain, what fields are required, or how the tool disambiguates between object and string formats. No guidance for type inference or validation.
Output schema is undocumented. Both tools return JSON serialized as text via { type: 'text', text: JSON.stringify(...) }, but the response structure is never described. LLMs have no specification of what fields to expect from call_endpoint responses (success/failure indicators, data vs metadata, pagination info, error details). Violates pattern:tool.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | 2026-07-28+ | v2 |
Error handling lacks recovery guidance. When call_endpoint receives an unknown operationId, it returns a list of available operations as text, but the response is unstructured and provides no guidance on what the LLM should do next (e.g., 'Try list_endpoints() to discover valid operationIds'). Violates pattern:recovery-guide.
No pagination support for list_endpoints. If an OpenAPI spec contains hundreds of endpoints, the response could exhaust context window. The tool lacks offset/limit parameters and does not indicate total count or whether results are truncated. Violates pattern:paginated-result and mxe:enforce-result-limits.
call_endpoint's 'parameters' field is opaque, the description says 'Path, query, and header parameters as key-value pairs' but does not explain how the tool determines which key maps to which category. For a PUT /users/{userId}/settings?includeArchived=true with a custom X-Trace header, the LLM must guess whether userId goes in 'parameters' or is inferred from the path. Violates pattern:tool-description.
No support for natural-language resource identifiers (names, emails, usernames). OpenAPI specs often require resource IDs, but users operate with display names. The tool offers no resolution mechanism, forcing users to manually look up IDs before calling the tool. Violates mxe:natural-identifiers and mxe:chat-data-model.