MCP server · Developer tools

CommunityNot tested yet (sources checked)Read-writeMITUpdated November 2026

OpenAPI MCP Server (ivo-toby)

Community server that turns each OpenAPI operation into an MCP tool (or 3 meta-tools). Shown here: GET operations only, via --operation get.

Quick verdict

A reasonable way to try an API you trust with an assistant, if you start from a reviewed local spec, GET operations only, and a read-only key from the API provider. For anything you would let it change, list the exact operations with --tools explicit --tool, or write a small curated server instead.

  • MaintainerIvo Toby (community)
  • Security scopeRead-write
  • Transportsstdio, streamable-http
  • Install channelnpm · @ivotoby/openapi-mcp-server
  • EvidenceNot tested yet (sources checked)
  • LicenseMIT · Open source

A community MCP server, maintained by Ivo Toby and not by the OpenAPI Initiative, that reads an OpenAPI specification and turns each operation into an MCP tool which calls your API with the headers you configure. By default every operation becomes a tool, including POST, PUT, PATCH and DELETE, and a dynamic mode instead offers three meta-tools that can call any endpoint with any method. What it can change depends entirely on the spec you give it and the key you put in its headers. The configuration shown here loads only the GET operations (--operation get) from a spec file on your own machine, so the tool list cannot change behind your back, and pins the transport to stdio. Tool descriptions are copied from the spec, so only use a spec you have read. It is one of many OpenAPI-to-MCP servers; OpenSourcesAI chose it because it documents both a method filter and an operation allow list, and has not tested it.

MCP security best practices

Install OpenAPI MCP Server (ivo-toby)

Runs locally with npx; the package states no Node.js version. Download your API's OpenAPI spec, read it, and point --openapi-spec at the local file: a URL is re-read at every start, and tool descriptions are copied from the spec, so a spec you do not control can change the tools or carry instructions to the model. --operation get loads only GET operations; it limits which tools exist, not what your key can do, and a GET can still change data in some APIs. Keep --tools all: in dynamic mode, or with any --tool flag, --operation is ignored. For write access, list exact operations with --tools explicit --tool <operation> instead of removing the filter. Use the narrowest API key the provider offers, or set API_HEADERS to an empty value for an API that needs none. TRANSPORT_TYPE=stdio is set because a TRANSPORT_TYPE=http in your shell would start an HTTP listener with no caller authentication.

npx -y @ivotoby/openapi-mcp-server

Config entry (mcpServers)
{
  "mcpServers": {
    "ivotoby-openapi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ivotoby/openapi-mcp-server",
        "--api-base-url",
        "<API_BASE_URL>",
        "--openapi-spec",
        "<OPENAPI_SPEC_FILE>",
        "--tools",
        "all",
        "--operation",
        "get"
      ],
      "env": {
        "TRANSPORT_TYPE": "stdio",
        "API_HEADERS": "<API_HEADERS>"
      }
    }
  }
}

Credentials

NameRequiredWhat it is for
TRANSPORT_TYPERequiredNot a secret. stdio. Set here because a TRANSPORT_TYPE=http in your shell would otherwise start an HTTP listener with no caller authentication, and no command-line flag can override it.
API_HEADERSOptionalHeaders sent with every API call, as comma-separated Name:Value pairs (for example an Authorization bearer token or an X-API-Key). Secret. Use the narrowest key the API offers, read-only if it has one. Set it to an empty value for an API that needs no key, which also stops a value exported in your shell from being sent. A value cannot contain a comma.

Verified configurations

Not run by us yet. This profile is Not tested yet (sources checked): the install channel, config entry, credentials and license were checked against the source and upstream metadata, but no configuration has been installed, discovered and executed in a recorded environment. When one is, it appears here with the eight scope dimensions below.

Best for

Developers who want an assistant to query an API they own or trust, from a spec they have reviewed, without writing a server for it.

Why use it

It turns any OpenAPI 3 spec into tools with no code, and it is the only actively released generic server OpenSourcesAI found that lets you cut the tool list down by HTTP method and to a named list of operations. It runs locally over stdio, keeps its HTTP mode on localhost by default, and is MIT licensed.

Tradeoffs

Every operation in the spec becomes a tool unless you filter it, deletes included, with no confirmation. The --operation get filter limits which tools exist, not what your key can do, and a GET can still have side effects in a badly designed API; it does not apply in dynamic mode or when --tool is set. Tool descriptions are copied from the spec, so a spec you did not write can inject instructions into the model, and a remote spec is re-read at every start. The HTTP mode has no caller authentication. It is one person's project with no Registry entry, no security policy, bursty releases (a five-month gap in 2026), and no stated Node.js requirement. Large APIs produce hundreds of tools, and curated servers usually work better than auto-converted ones.

Upstream state

npm package published · repository active. Lifecycle is derived from a committed upstream snapshot at build time, never authored by hand.

Editorial details

EditorCJ ZwartLast updatedNovember 2026Sourcesivo-toby/mcp-openapi-server README: configuration, tool loading and filtering, spec loading, transports, security considerations; ivo-toby/mcp-openapi-server LICENSE (MIT); Source: configuration precedence (CLI over environment; TRANSPORT_TYPE exception); Source: tool modes and the --operation filter; Source: tool descriptions copied from the spec; external $ref not fetched; npm: @ivotoby/openapi-mcp-server; Official MCP Registry search for "openapi" (no entry for this server); FastMCP docs: OpenAPI integration (curated servers outperform auto-converted ones); RFC 9110, section 9.2.1: safe methods

Grade B: Not tested yet (sources checked). Re-review is due by 2027-05-14. Config entries, credential names and package status can change upstream; verify against the source repository before granting an agent access.

Sources

Related guides

All MCP servers →