Openapi MCP Server

Enables large language models to interact with and utilize REST APIs by providing configured REST APIs as context.

Local serverstdioPython★ 6

What is the Openapi MCP Server?

Enables large language models to interact with and utilize REST APIs by providing configured REST APIs as context.

Available tools

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

  • Configuration — The Configuration tool exposed by this server

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.

How to install the Openapi MCP Server

{
  "mcpServers": {
    "openapi-3": {
      "command": "uvx",
      "args": ["openapi_mcp_server"],
      "env": {
        "DEBUG": "your-value",
        "API_BASE_URL": "your-value",
        "OPENAPI_SPEC_PATH": "your-value",
        "API_HEADERS": "your-value",
        "API_WHITE_LIST": "your-value",
        "TWINE_USERNAME": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
DEBUGConfiguration value read at startup.Optional
API_BASE_URLEndpoint or connection string the server talks to.Yes
OPENAPI_SPEC_PATHFilesystem location the server is allowed to use.Optional
API_HEADERSConfiguration value read at startup.Optional
API_WHITE_LISTConfiguration value read at startup.Optional
TWINE_USERNAMEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Openapi to Configuration.”

Frequently asked questions

Openapi currently supports HTTP API calls including GET, PUT, POST, and PATCH. This allows LLMs to retrieve, update, create, and modify data via APIs.