Back to catalog
ToolDeveloper ToolsOfficial Verified

OpenAPI → FastMCP

Generate a runnable FastMCP server from any OpenAPI 3 specification.

#openapi#fastmcp#codegen#python

Install

With the Zana CLI
$ zana add openapi-to-fastmcp
Direct (copy-paste fallback)
$ uvx zana-openapi-to-fastmcp --spec <path-or-url>

1 files. Read them here, or pull the folder without the CLI.

Copy the folder
$ npx degit aminitech/amini-zana/catalog/tools/openapi-to-fastmcp openapi-to-fastmcp

No clone, no history. Just this folder.

Sparse checkout (private repos, uses your git auth)
$ git clone --depth 1 --filter=blob:none --sparse https://github.com/aminitech/amini-zana.git && cd amini-zana && git sparse-checkout set catalog/tools/openapi-to-fastmcp
Single file (amini.yaml)
$ curl -sL https://raw.githubusercontent.com/aminitech/amini-zana/main/catalog/tools/openapi-to-fastmcp/amini.yaml
amini.yaml
schemaVersion: 1
slug: openapi-to-fastmcp
name: OpenAPI → FastMCP
kind: tool
category: developer-tools
tags: [openapi, fastmcp, codegen, python]
summary: Generate a runnable FastMCP server from any OpenAPI 3 specification.
description: |
  Point it at an OpenAPI 3.x document (URL or file) and it emits a typed FastMCP
  server: one MCP tool per operation, request/response models derived from the
  schema, and auth scaffolding. The fastest way to turn an existing REST API into
  an agent-ready MCP server.
author:
  name: Amini
  handle: amini
  url: https://amini.ai
  location:
    city: Bridgetown
    country: Barbados
    countryCode: BB
runtime: python
install:
  type: uvx
  package: zana-openapi-to-fastmcp
  args: ['--spec', '<path-or-url>']
links:
  repo: https://github.com/zana-dev/zana
  docs: https://zana.build/tools/openapi-to-fastmcp
flags:
  official: true
  verified: true

About

Point it at an OpenAPI 3.x document (URL or file) and it emits a typed FastMCP server: one MCP tool per operation, request/response models derived from the schema, and auth scaffolding. The fastest way to turn an existing REST API into an agent-ready MCP server.

repo docs
Author

Amini · Bridgetown, Barbados

Related in Developer Tools