Parse the specification
Read paths, parameters, JSON request bodies, server URLs, and supported security schemes.
OpenAPI in. Runnable MCP server out.
Paste an OpenAPI or Swagger file. Select your endpoints. Download a runnable TypeScript MCP server for Cursor, Claude Desktop, and ChatGPT.
OpenAPI 3.x or Swagger 2.0 · JSON or YAML
Tiny Petstore API · 3.1.0 · 3 operations
How it works
SpecToMCP performs deterministic code generation. It does not send your schema to an AI model or invent behavior that is not in your API contract.
Read paths, parameters, JSON request bodies, server URLs, and supported security schemes.
Keep agent context focused by excluding endpoints the model should never call.
Get TypeScript source, stdio and HTTP transports, environment placeholders, and client setup files.
Deliberately small
The first release is designed to validate one search intent: developers want a fast way to turn an existing REST contract into code they control.
OpenAPI 3.x and basic Swagger 2.0
Path, query, header, and JSON body inputs
Bearer token and API key placeholders
Cursor, Claude, and ChatGPT setup
OAuth, cookies, multipart, or binary bodies
Hosted endpoints, accounts, teams, or billing
Those features only get built after real usage. Tell us what your production workflow needs.
Share your use case