Comparison

OpenAPI to MCP generators compared

If you want free code you run yourself, openapi-mcp-generator (TypeScript) and FastMCP (Python) are the usual starting points. If you want the MCP server hosted for you, Speakeasy, Zuplo and MCPEasy do that, each in a different way. Whatever you pick, don't expose every endpoint: the tools that work best let you choose a small set or let the agent discover tools on demand.

We checked six tools that turn an OpenAPI spec into an MCP server, using only each tool's own documentation, README, package page and pricing page, on 1 December 2026. Where a tool's docs don't say something, the table says "not stated" rather than guessing.

One disclosure first: we make MCPEasy, one of the six. We've tried to describe the others as fairly as we describe ourselves, including where they are the better choice.

Checked 1 December 2026

Three kinds of OpenAPI to MCP tool

Code generators
Read your spec once and write the source code of an MCP server. You own the code, edit it, and host it. Examples: openapi-mcp-generator, Speakeasy's CLI.
Runtime converters
Load your spec when the server starts and create tools on the fly. Nothing is generated, but you still run the process. Examples: FastMCP, AWS Labs OpenAPI MCP Server.
Hosted platforms
You upload the spec and get an MCP URL. The platform runs the server, stores the credentials and handles keys and logs. Examples: Speakeasy Control Plane, Zuplo, MCPEasy.

The six tools side by side

Six OpenAPI to MCP tools compared
ToolTypeLanguageInputTransportsBig APIsHostingPrice
openapi-mcp-generatorCode generator (MIT)Generates TypeScript (Node.js)OpenAPI 3.0 and 3.1. Swagger 2.0 must be converted firststdio, Streamable HTTP, SSE, Cloudflare WorkerInclude and exclude by tag or operationYou host itFree
FastMCP (from_openapi)Runtime converter (Apache-2.0)PythonOpenAPI spec as a dict (JSON loaded by your code)stdio, Streamable HTTP, SSE (legacy)Route maps: turn routes into tools or resources, or exclude themYou host itFree
AWS Labs OpenAPI MCP ServerRuntime converter (Apache-2.0)Python 3.10+OpenAPI 3.x, JSON or YAML, one bundled filestdioInclude and exclude by tagYou host itFree
SpeakeasyCode generator (CLI) and hosted gatewayGenerates TypeScriptOpenAPI or Swagger; the gateway works best with 3.1Not stated by nameScopes, a tool allow-list, and a dynamic mode with 4 meta-toolsYou host the generated server, or Speakeasy hosts itGateway: pay as you go, no platform fee; generation pricing not stated
ZuploAPI gateway with an MCP handlerRuns on the Zuplo gateway (custom tools in TypeScript)OpenAPI with an operationId on each routeStreamable HTTPYou list each operation to exposeZuplo managed edge, dedicated or self-hostedFree tier paused; Enterprise custom
MCPEasyHosted platform (ours)Nothing to runOpenAPI 3 and Swagger 2.0 (JSON or YAML), Postman, cURL, code on GitHubHosted remote MCP endpointPick the tools; big APIs go into groups of at most 40, opened through 4 toolsMCPEasy hosts it (no self-hosted option yet)Free for 500 tool calls a month; paid from $19 a month

Scroll sideways on a small screen to see every column.

Each tool in more detail

openapi-mcp-generator

An open-source CLI that turns an OpenAPI spec into a ready-to-run TypeScript MCP server project. It had about 24,700 npm downloads in the last week of November 2026.

Good at

  • You get plain source code you can read, change and deploy anywhere, including as a Cloudflare Worker.
  • Fine-grained control over which operations become tools: by tag, by operation, or with an x-mcp extension in the spec.
  • Supports API keys, bearer tokens, Basic, OAuth2 and OpenID for calling your API, with credentials from environment variables.

Watch out for

  • Swagger 2.0 specs are refused; convert them to OpenAPI 3 first.
  • Its HTTP and Worker servers are stateless.
  • Tool names over 64 characters are shortened with a hash.
  • Version 5 has breaking changes for projects made with older versions.

Source: GitHub README

FastMCP (from_openapi)

FastMCP is a widely used Python framework for MCP servers. FastMCP.from_openapi creates tools from a spec at runtime and forwards each call to your API through an HTTP client you configure.

Good at

  • A few lines of Python and your API is an MCP server, which makes it very quick for a prototype.
  • Route maps let you turn GET endpoints into resources instead of tools, or exclude whole groups of routes.
  • Part of a full framework, so you can mix generated tools with hand-written ones.

Watch out for

  • FastMCP's own docs recommend the OpenAPI integration "for bootstrapping and prototyping, not for mirroring your API to LLM clients".
  • By default every endpoint becomes a tool, so a large spec needs route maps from the start.
  • A client you create yourself defaults to a 5-second timeout.

Source: FastMCP docs: OpenAPI integration · Stop Converting Your REST APIs to MCP (FastMCP's author)

AWS Labs OpenAPI MCP Server

An open-source Python server from AWS Labs that reads an OpenAPI spec from a file or URL and creates MCP tools and resources from it when it starts.

Good at

  • Install and run with uvx: no code to write.
  • Can merge several specs into one server.
  • Careful defaults: private networks and plain HTTP are blocked unless you allow them.

Watch out for

  • stdio only, so it runs next to the AI client rather than as a shared remote server.
  • Specs split over several files must be bundled into one first, and specs are capped at 10 MiB.

Source: GitHub: awslabs/mcp openapi-mcp-server

Speakeasy

Speakeasy offers two things: a CLI that generates a TypeScript MCP server from your spec, and a hosted MCP gateway (formerly Gram, now the Speakeasy Control Plane) that serves one from an uploaded spec.

Good at

  • A dynamic mode that gives the agent four meta-tools (list_tools, describe_tool, execute_tool and list_scopes) instead of every tool, which their docs say avoids bloating the context window.
  • Scopes let you publish, for example, a read-only server from the same spec.
  • The generated server can ship as an npm package, a Cloudflare Worker with OAuth, or an MCPB bundle.

Watch out for

  • Pricing for MCP generation itself isn't stated; the gateway is billed by usage (storage, risk scanning and egress).
  • Response validation is off by default in the generated server.

Source: Speakeasy docs: Build an MCP server · Speakeasy docs: MCP gateway from OpenAPI · Speakeasy pricing

Zuplo

Zuplo is an API gateway. Its MCP Server handler exposes routes you choose as MCP tools, and every call goes through the same gateway policies (rate limits, auth, validation) as normal API traffic.

Good at

  • A good fit if your API already runs through Zuplo: MCP reuses your existing policies.
  • You name each operation explicitly, so nothing is exposed by accident.
  • Custom TypeScript tools can wrap several API calls into one task.

Watch out for

  • Its docs say API keys aren't supported directly by MCP; OAuth is the main route, with a workaround for keys.
  • The free tier is paused and pay-as-you-go is "coming soon", so today it is an Enterprise product.

Source: Zuplo docs: MCP Server handler · Zuplo pricing

MCPEasy

Our product. You import a spec, a Postman collection, cURL commands or a GitHub repository, choose the tools, and get a hosted MCP endpoint with its own API keys, rate limits and logs.

Good at

  • Nothing to install or host, and inputs beyond OpenAPI, including Swagger 2.0, Postman and cURL.
  • Big APIs go into named groups of at most 40 tools; the agent starts with four tools and opens only the group it needs.
  • A Playground shows which tool the agent picked and the arguments it sent, so you can fix a description before going live.

Watch out for

  • Hosted only: there is no self-hosted option yet.
  • You don't get source code to edit; changes are made in the dashboard.

Source: MCPEasy pricing

What happened to Stainless?

Stainless used to be a common name in these comparisons. In May 2026 it joined Anthropic and announced it is winding down its hosted products, with new signups, projects and SDKs no longer available. Some comparison pages written since still list it as an option.

Source: Stainless: Stainless is joining Anthropic

Should you convert the whole spec at all?

Almost every tool here can turn every endpoint into a tool, and almost every one of their docs warns against doing it. FastMCP's author put it most bluntly in a post titled "Stop Converting Your REST APIs to MCP": an API designed for programs is a poor menu for a model, so use a converter to bootstrap, then curate.

The reason is measurable. We counted the official specs of eight public APIs: seven would go over VS Code's limit of 128 tools per request, and GitHub's alone is 1,281 operations. Even below the limits, every tool's description is sent with every request, and models pick the wrong tool more often as the list grows.

The tools above solve it in three ways: filtering (keep only some operations, which all of them support), resources instead of tools for read-only data (FastMCP), and on-demand discovery, where the agent starts with a few browsing tools (Speakeasy's dynamic mode, MCPEasy's tool groups).

The counts for all eight APIs, and each client's tool limit, are on MCP tool limits by client. If you are still deciding whether your API needs MCP at all, start with MCP vs API.

Which one should you use?

Free, and you want to own and edit the code (TypeScript)
openapi-mcp-generator
A quick prototype in Python, or a Python app that already uses FastMCP
FastMCP
A local server for your own AI client, with careful network defaults
AWS Labs OpenAPI MCP Server
You already generate SDKs with Speakeasy, or want a dynamic mode in generated code
Speakeasy
Your API already runs behind Zuplo's gateway
Zuplo
A hosted server without running anything, from a spec, Postman or cURL, with keys and logs
MCPEasy

Don't have a spec yet? Get an OpenAPI spec from your framework covers 12 frameworks, or start without one: REST API to MCP server.

Questions about OpenAPI MCP generators

What is an OpenAPI MCP generator?
A tool that reads an OpenAPI (Swagger) spec and produces an MCP server whose tools call your API. Some write source code you host, some create the tools at runtime, and some host the server for you.
What is the best free OpenAPI to MCP generator?
For TypeScript, openapi-mcp-generator (MIT licence) generates a full server project. For Python, FastMCP's from_openapi and the AWS Labs OpenAPI MCP Server (both Apache-2.0) create tools at runtime. All three are free, and you host them yourself.
Is there an OpenAPI MCP generator for Python?
Yes. FastMCP.from_openapi and the AWS Labs OpenAPI MCP Server are both Python. FastMCP's docs recommend it for prototyping rather than mirroring a whole API to AI clients.
Can I convert a Swagger 2.0 spec to an MCP server?
Some tools need OpenAPI 3: openapi-mcp-generator asks you to convert Swagger 2.0 first. MCPEasy reads Swagger 2.0 directly. For the others, their docs don't state Swagger 2.0 support.
Is Stainless still an option for MCP servers?
Not for new users. Stainless joined Anthropic in May 2026 and said new signups, projects and SDKs are no longer available.
Should every endpoint become an MCP tool?
No. Large tool lists cost tokens on every request and lead to wrong picks, and several clients cap the number of tools. Keep the endpoints agents need, or use a tool that lets the agent discover tools on demand.

How we checked

  • Every row comes from the tool's own documentation, README, package page or pricing page, read on 1 December 2026. We did not use other comparison articles as sources.
  • "Not stated" means we could not find it in the tool's own docs. It doesn't mean the tool can't do it.
  • The npm download figure is from the npm registry for 23 to 29 November 2026.
  • These tools change often. If something here is out of date, email support@mcpeasy.net and we'll correct it.

Try the hosted option

Import a spec, a Postman collection or a few cURL commands and get a hosted MCP server with tool groups, keys and logs. The free plan includes 500 tool calls a month.