OpenAI API MCP Config
Generate text, images, and embeddings. Integrate GPT models and DALL-E into your AI agent.
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/openai.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/openai.json to fetch programmatically.
{
"mcpServers": {
"openai": {
"command": "npx",
"args": ["-y","@modelcontextprotocol/server-openai"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/openai.jsonEnvironment Variables
OPENAI_API_KEYReplace sk-... with your actual openai api key
Endpoints
POST
/v1/chat/completionsCreate chat completion
POST
/v1/images/generationsGenerate image
POST
/v1/embeddingsCreate embeddings