You already have an OpenAPI spec. Here is how it becomes a working MCP server in Python, and which parts a converter cannot do for you.
Converting a spec gets you a server. It does not get you anyone who wants to use it. MCP Showcase turns the same endpoint into a live playground with readable documentation for every tool.
The OpenAPI converter turns each operation into an MCP tool definition, in your browser, without uploading your spec.
Take the generated tool definitions and implement them against your API using the Python SDK, in the shape shown above.
A converted spec gives you one tool per operation, which is almost always far too many. Keep the ones an agent needs.
The mechanical half is genuinely mechanical: each OpenAPI operation becomes one MCP tool, its summary becomes the description, and its path, query and body parameters flatten into a single input schema. The OpenAPI converter does that part in your browser, without uploading your spec.
What remains is Python-shaped: implementing those tools against your API with
modelcontextprotocol/python-sdk (FastMCP) (pip install mcp), in the form shown
above.
FastMCP derives a tool's input schema from your type hints and its description from the docstring. That is the fastest path to a working server and the reason most MCP examples are Python -- but it also means the thing the model reads is your docstring. A vague docstring is a tool the agent picks wrongly, and nothing in your tests will catch it.
$ref bodies. Resolving them needs your components
section, so they come across as a generic object.Tool definitions are sent to the model on every request, not once per session. Eighty operations means eighty descriptions and eighty schemas in the context window of every turn — paid for continuously, and measurably worse at selection than a short list. The token calculator shows what a given list costs; the schema linter shows whether the descriptions survived conversion in a usable state.
A converted server proves the mapping worked. It tells a prospective customer nothing — they cannot read Python and will not configure a client to find out. MCP Showcase turns the same endpoint into a live playground with per-tool documentation anyone can try in a browser.