An MCP server that automatically converts OpenAPI/Swagger specifications into MCP tools with support for OAuth authentication, route filtering, and adjustments via YAML configuration.
auto-mcp auto-generates MCP tools from OpenAPI/Swagger specifications. All 11 tools are defined dynamically via parsing and code generation, not explicit server-side tool registration visible in source. Tool definitions appear to be inferred from Swagger specs at runtime. The server_test.go file shows tool names and risk classifications but NO explicit input schemas, descriptions, or parameter definitions are visible in the provided source code. Only 1 of 11 tools has a description ('post_pet_petid_uploadimage'). Input schemas are largely absent or generic. This is a fundamental issue: the tools exist at runtime but their quality cannot be assessed from static code analysis. Per the hard scoring rules, tools without visible definitions in source are capped at 50 per-tool; tools without descriptions score 0 on description dimension.
Tool definitions are dynamically inferred from Swagger specs at runtime, not explicitly registered in source code. Input schemas, descriptions, and parameter metadata are not visible in the provided source. Per hard scoring rule: tools without visible definitions in source code are capped at 50 per-tool; tools without descriptions are capped at 0-20 on description dimension.
10 of 11 tools have NO description visible in source. LLMs cannot determine when or why to select these tools without descriptions. Only post_pet_petid_uploadimage has a description ('uploads an image to a specifc pet id'), but it is misspelled ('specifc' → 'specific').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 36 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 22 | - | v1 |
uploads an image to a specifc pet id
Input schemas are missing or minimal. get_pet_findbystatus has a partial schema ({"status":{"type":"string","description":null}}), but others lack visible schema definitions. get_store_inventory has empty input ({}).
Parameter descriptions are missing or null. get_pet_findbystatus shows a parameter 'status' with description:null. Per pattern:tool-description, every parameter must have a non-empty description explaining what it controls. Null/missing descriptions make parameters ambiguous to LLMs.
Tool naming uses path-based names (e.g. get_pet_findbystatus, post_pet_petid_uploadimage) derived from Swagger routes. While names start with verbs (get_, post_), they are verbose and inconsistently formatted. E.g. 'get_pet_findbystatus' vs 'get_pet_findbytags', naming style is mechanically derived from OpenAPI spec rather than LLM-optimized. Baseline: average tool name is 18 chars (p10=10, p90=27); some of these exceed 27 chars.
No output schemas documented. The provided source does not show what fields/structure each tool returns. Per pattern:tool, LLMs need to know what fields to expect so they can plan downstream tool calls. Without documented output schemas, agents cannot extract the right data downstream.
No error handling guidance visible. Tools do not document what errors they return, when they are retryable, or what the LLM should do next. Per pattern:recovery-guide, error responses must tell the LLM what to do next ('User not found. Try search_users()') rather than returning raw errors or stack traces.
get_user_logout is marked as WRITE risk but named get_. Per pattern:command-tool, if a tool modifies state (logout is typically irreversible), the description must say so. A GET request that performs logout is semantically confusing and violates REST conventions. This tool should be renamed to post_user_logout or put_user_logout, and the side effect must be documented.
Tool composition assumes Swagger/OpenAPI spec is complete. If the spec is incomplete, multi-step workflows cannot be composed. E.g. if create_pet does not return a pet_id, downstream tools like get_pet_petid cannot be chained. Per pattern:tool-chain, ensure tool A's output contains the IDs and references tool B needs.