Access OpenAI APIs including GPT and DALL-E
npx -y @modelcontextprotocol/server-openai-mcp-server
Paste this into your MCP client configuration (Cursor, Windsurf, etc).
Access OpenAI APIs.
{
"mcpServers": {
"openai": {
"command": "npx",
"args": ["-y", "@openai/mcp-server"],
"env": {
"OPENAI_API_KEY": "your-api-key"
}
}
}
}
generate_image: Create images with DALL-Ecreate_embedding: Generate embeddingsspeech_to_text: Transcribe audioMCP (Model Context Protocol) servers extend your AI assistant with external tools and data sources. Follow these steps to install OpenAI MCP Server in your preferred AI coding tool.
claude_desktop_config.json