Proxy that turns OpenAPI specs into MCP tools at runtime, so agents can call external APIs without custom wrappers.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add openapi-gujord --env OPENAPI_URL='<OPENAPI_URL>' --env SERVER_NAME='<SERVER_NAME>' -- python src/fastmcp_server.py~/.codex/config.toml
[mcp_servers.openapi-gujord]
command = "python"
args = ["src/fastmcp_server.py"]
env = { OPENAPI_URL = "<OPENAPI_URL>", SERVER_NAME = "<SERVER_NAME>" }
# codex mcp add openapi-gujord --env OPENAPI_URL='<OPENAPI_URL>' --env SERVER_NAME='<SERVER_NAME>' -- python src/fastmcp_server.py~/.cursor/mcp.json
{
"mcpServers": {
"openapi-gujord": {
"command": "python",
"args": [
"src/fastmcp_server.py"
],
"env": {
"OPENAPI_URL": "<OPENAPI_URL>",
"SERVER_NAME": "<SERVER_NAME>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"openapi-gujord": {
"type": "stdio",
"command": "python",
"args": [
"src/fastmcp_server.py"
],
"env": {
"OPENAPI_URL": "<OPENAPI_URL>",
"SERVER_NAME": "<SERVER_NAME>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"openapi-gujord": {
"command": "python",
"args": [
"src/fastmcp_server.py"
],
"env": {
"OPENAPI_URL": "<OPENAPI_URL>",
"SERVER_NAME": "<SERVER_NAME>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"openapi-gujord": {
"command": "python",
"args": [
"src/fastmcp_server.py"
],
"env": {
"OPENAPI_URL": "<OPENAPI_URL>",
"SERVER_NAME": "<SERVER_NAME>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"openapi-gujord": {
"command": "python",
"args": [
"src/fastmcp_server.py"
],
"env": {
"OPENAPI_URL": "<OPENAPI_URL>",
"SERVER_NAME": "<SERVER_NAME>"
}
}
}
}Environment variables
OPENAPI_URLSERVER_NAME
Replace the placeholders with your own credentials and keep them out of version control.