OpenAI MCP Server Setup
June 2026 · 3 min read
The OpenAI MCP server adds GPT text generation, DALL-E image creation, and embedding capabilities to any MCP-compatible AI client.
Capabilities
- Chat completions with GPT models
- Image generation with DALL-E
- Text embeddings
- Model listing and inspection
Setup
Get an API key from platform.openai.com. Visit our OpenAI MCP page or use:
{"mcpServers":{"openai":{"command":"npx","args":["-y","@modelcontextprotocol/server-openai"],"env":{"OPENAI_API_KEY":"sk-..."}}}}Ideas
“Generate an image of a futuristic cityscape” or “Summarize this text using GPT-4.” The OpenAI MCP server layers AI capabilities on top of your existing AI assistant.
More APIs: Browse all 115+ MCP server configs.