Back to MCP Servers
OpenAI Server
Access OpenAI APIs for completions, embeddings, image generation, and model management
openaiaillmembeddingsgptcommunity
Installation
npm install -g @openai/mcp-serverConfiguration
{
"mcpServers": {
"openai": {
"command": "npx",
"args": ["-y", "@openai/mcp-server"],
"env": {
"OPENAI_API_KEY": "your-openai-api-key"
}
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes