Openapi MCP Server

OpenAPI to Model Context Protocol (MCP) proxy server - dynamically translates OpenAPI specs into MCP tools

Local serverstdioPython

What is the Openapi MCP server?

Connect Openapi to Claude, Cursor or any other MCP client and it stops being a tab you switch to. OpenAPI to Model Context Protocol (MCP) proxy server - dynamically translates OpenAPI specs into MCP tools. The openapi mcp server is what makes that connection.

What the server does

The OpenAPI to Model Context Protocol (MCP) proxy server bridges the gap between AI agents and external APIs by dynamically translating OpenAPI specifications into standardized MCP tools, resources, and prompts. This simplifies integration by eliminating the need for custom API wrappers.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Repository — ** https://github.com/gujord/OpenAPI-MCP
  • RapidAPI — MCP_AUTH_HEADERS='{"X-RapidAPI-Key": "your-key"}'
  • Installation — The Installation tool exposed by this server
  • Resources — The Resources tool exposed by this server
  • Prompts — The Prompts tool exposed by this server
  • Benefits — The Benefits tool exposed by this server
  • Monitoring — The Monitoring tool exposed by this server

Installation

openapi-mcp-proxy on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: SERVER_NAME, OPENAPI_URL, MCP_AUTH_HEADERS, API_USERNAME, API_PASSWORD, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_TOKEN_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Openapi's toolset — Repository, RapidAPI, Installation and 4 more — is a fair guide to whether it matches your workflow.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
Repository** [https://github.com/gujord/OpenAPI-MCP](https://github.com/gujord/OpenAPI-MCP)
RapidAPIMCP_AUTH_HEADERS='{"X-RapidAPI-Key": "your-key"}'
InstallationThe Installation tool exposed by this server.
ResourcesThe Resources tool exposed by this server.
PromptsThe Prompts tool exposed by this server.
BenefitsThe Benefits tool exposed by this server.
MonitoringThe Monitoring tool exposed by this server.

How to install the Openapi MCP server

Or create manually:
```json
{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["mcp-remote", "http://127.0.0.1:8001/sse"]
    },
    "petstore": {
      "command": "npx", 
      "args": ["mcp-remote", "http://127.0.0.1:8002/sse"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SERVER_NAMEConfiguration value read at startup.Optional
OPENAPI_URLEndpoint or connection string the server talks to.Yes
MCP_AUTH_HEADERSConfiguration value read at startup.Optional
API_USERNAMEConfiguration value read at startup.Optional
API_PASSWORDConfiguration value read at startup.Optional
OAUTH_CLIENT_IDConfiguration value read at startup.Optional
OAUTH_CLIENT_SECRETCredential the server authenticates with.Yes
OAUTH_TOKEN_URLCredential the server authenticates with.Yes

Example prompts to try

  • Use Openapi to Repository.
  • Use Openapi to RapidAPI.
  • Use Openapi to Installation.

Frequently asked questions

It connects Openapi to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (Repository, RapidAPI, Installation, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Openapi directly.