OpenAPI MCP Server

This is a skeleton project that you can use as a starting point for building your own MCP server. The example addition function demonstrates how to

Local serverstdio

What is the OpenAPI MCP Server?

This is a skeleton project that you can use as a starting point for building your own MCP server. The example addition function demonstrates how to implement

What you get

  • ✅ Standard I/O (stdio)
  • ✅ Server-Sent Events (SSE)
  • ✅ OpenAPI/REST endpoints

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-mcp-server-3loc": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "3loc/openapi-mcp-server"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Frequently asked questions

It supports three modes: `stdio` (standard I/O), `sse` (Server-Sent Events on port 8001), and `openapi` (OpenAPI/REST on port 8002).