Openapi MCP Server

Load OpenAPI 2.x/3.x specs and expose generic tools to discover and call multiple APIs

Remote serverstreamable-http

What is the Openapi MCP Server?

Load OpenAPI 2.x/3.x specs and expose generic tools to discover and call multiple APIs

What the server does

Connect AI clients to OpenAPI APIs quickly, with one MCP server, direct CLI access, and built-in auth support.

openapi-dynamic-mcp lets MCP clients and shell users work with OpenAPI APIs without writing custom glue code for each service. Point it at one or more OpenAPI specs, then list APIs, inspect endpoints, authenticate, and make requests through a consistent interface.

  • Get from spec to usable tools fast — start from a YAML config and immediately browse endpoints or call them from MCP or the CLI
  • Authenticate the way your API expects — supports API keys, bearer/basic auth, and OAuth2 client credentials, password, device code, and auth code with PKCE
  • Avoid repeated sign-in work — store tokens once and reuse them later
  • Handle interactive OAuth cleanly — device-code and browser-based auth return instructions an agent can present to the user
  • Keep responses focused — project large outputs with JSONPath selectors
  • Inspect before you send — use dry runs to preview request shape without network I/O

Credentials and setup notes

  • Node.js 20+

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_apisList configured APIs
list_api_endpointsSearch or paginate endpoints in one API
get_api_endpointInspect endpoint metadata, parameters, responses, and security
get_api_schemaReturn a schema object or JSON Pointer target from the spec
make_endpoint_requestPreview or execute an endpoint request

How to install the Openapi MCP Server

claude mcp add openapi-dynamic --env PET_API_BASE_URL=your-value -- npx -y openapi-dynamic-mcp

Configuration

  • Node.js 20+
VariableDescriptionRequired
PET_API_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Openapi to OPENAPI DYNAMIC MCP AUTH FILE.”
  • “Use Openapi to list apis.”
  • “Use Openapi to list api endpoints.”

Frequently asked questions

Load OpenAPI 2.x/3.x specs and expose generic tools to discover and call multiple APIs Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.