Back to directory
3loc/openapi-mcp-server

3loc/openapi-mcp-server

@3loc

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 handlers across all three protocols.

mcp-serverskeletonopenapistdiossepythondockerexampletool

Installation & Configuration

{
  "mcpServers": {
    "stdio-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--name",
        "openapi-mcp-server",
        "-e",
        "MODE=stdio",
        "3loc/openapi-mcp-server"
      ]
    },
    "sse-mcp-server": {
      "url": "http://localhost:8001/sse"
    }
  }
}

Information

Transport
stdiossestreamable-http
Language
Python
Created
2026/6/15
Updated
2026/6/17