The official openapi.com MCP SDK.
Use it in two ways:
- Ready-to-use server — start a fully configured MCP gateway from the command line with a single command, no setup required.
- Python library — import
openapi_mcp_sdkin your own project to build a custom MCP server on top of openapi.com APIs.
uvx openapi-mcp-sdk serverThe server starts at http://localhost:8080.
# pipx — ephemeral run, no install needed
pipx run openapi-mcp-sdk server
# pip — install once, run anytime
pip install openapi-mcp-sdk && openapi-mcp-sdk serverCopy and paste the block below into your terminal. It creates a ready-to-use
mcp-server.sh file and immediately starts the server:
cat > mcp-server.sh << 'EOF'
#!/bin/bash
# ============================================================
# Openapi.com MCP Server — local launcher
# Edit the variables below, then run: bash mcp-server.sh
# ============================================================
export MCP_PORT="${MCP_PORT:-8080}"
uvx openapi-mcp-sdk server
EOF
bash mcp-server.shNext time, just run:
bash mcp-server.shopenapi-mcp-sdk <command>
Commands:
server Start the MCP server (HTTP/SSE, default port 8080)
ping Ping the openapi.com APIs and report latency [coming soon]
token Generate or inspect an openapi.com Bearer token [coming soon]
Point any MCP-compatible client (VS Code, Claude Desktop, …) at the running server.
Get your Bearer Token at console.openapi.com.
With Authorization header (recommended):
{
"servers": {
"openapi.com": {
"type": "http",
"url": "http://localhost:8080/",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}With ?token= query parameter (for clients that do not support custom headers):
{
"servers": {
"openapi.com": {
"type": "http",
"url": "http://localhost:8080/?token=YOUR_TOKEN"
}
}
}The server automatically promotes ?token= to an Authorization: Bearer header,
so both methods behave identically.