Turn an OpenAPI document into an MCP server

Give GetMCP your OpenAPI 3.0 or 3.1 spec and every operation becomes an MCP tool, with its parameters, request body and description already filled in. Pick the ones you want, and Claude, ChatGPT or Cursor can call your API.

OpenAPI 3.0 and 3.1, JSON or YAML Paste, upload or fetch from a URL One tool per operation Included in Pro, Agency and Unlimited

The spec you already maintain does the work

Your OpenAPI document already names every endpoint, its parameters and what it returns. GetMCP reads it and builds the tools, so you review a list instead of writing definitions.

  • Open a server, choose Import, then OpenAPI
  • Paste the document, upload a .json, .yaml or .yml file, or give its URL
  • Untick the operations you do not want; every one starts ticked
  • Import as drafts to review first, or straight to active

Want the background first? Read how an OpenAPI spec becomes an MCP server.

# openapi.yaml
paths:
  /pets/{petId}:
    get:
      summary: Get a pet
      tags: [pets]
      parameters:
        - { name: petId, in: path, schema: { type: integer } }
        - { name: fields, in: query, schema: { type: string } }

# The MCP tool
get_a_pet    tag: pets
  petId   integer  required   path
  fields  string              query

What carries over from the spec

Every operation under paths becomes a tool: GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS.

In the specIn the MCP tool
summary, else operationIdThe tool name, for example "Get a pet" becomes get_a_pet
description, else summaryThe description the AI client reads to decide when to call it
tagsThe tool's tags
Path, query and header parametersParameters with their type, description, default and whether they are required. Path parameters are always required
A JSON requestBodyBody fields, nested objects flattened so the client can fill them in. allOf is merged
Local $refs to #/componentsResolved, so shared schemas arrive complete
servers[0].urlThe base URL every call goes to
securitySchemesReported after the import, so you know which auth to set on the server

Good to know before you import

Real specs are messy. This is how GetMCP handles the parts it does not map one to one, so nothing surprises you after the import.

Auth is set once, by you

Security schemes are detected and listed, not configured for you. Set API key, bearer, basic or OAuth on the server's settings and every imported tool uses it.

Re-importing adds, it does not sync

Import the spec again after it changes and GetMCP either skips tools that already exist or creates duplicates, your choice. Existing tools are not updated in place.

JSON bodies only, in detail

A multipart or form body arrives as a single body field, with a warning. For anyOf and oneOf, the first option is used.

One file, one server URL

External $refs to other files are skipped with a warning, and server variables are not substituted, so give the first server a full URL.

Enums become plain values

A parameter's enum list is not copied into the tool. Put the allowed values in its description if the client should know them.

Sized for real APIs

Documents up to 10 MB. A spec fetched by URL must answer within 10 seconds, and addresses on your internal network are refused at every redirect.

Questions about OpenAPI import

Which plans include OpenAPI import?

Pro, Agency and Unlimited. The free Solo plan includes cURL import and the manual tool builder.

Do I have to import every endpoint?

No. Every operation is listed with a checkbox before anything is created. Untick what the AI should not touch, such as admin or billing endpoints.

Can I edit the tools after importing?

Yes. Imported tools are ordinary tools: rename them, rewrite descriptions for the model and set defaults, then test each one before switching it on.

What happens when my API changes?

Edit the affected tools, or import the new spec and choose to skip the tools you already have. GetMCP does not update existing tools from a new version of the spec.

Your API is already documented. Use it.

Import the spec you have, pick the operations, and connect Claude, ChatGPT or Cursor to your own MCP server.

Teams already shipping MCP servers with it

Rated 5.0 out of 5 by customers Read more reviews

Picked up GetMCP to connect our internal tools, and the initial setup was surprisingly fast. Probably saved me hours of configuration work. Looking forward to expanding our usage and future features.

john2000

Many LTD tool just provided API. For me , Reoon Email Verifier, Now i can connect it to google spark via GETMCP. that is so great for me to outreach the leads.