MCP OpenAI Server
@mzxrai
关于 MCP OpenAI Server
Chat with OpenAI models from Claude Desktop
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-openai": {
"command": "npx",
"args": [
"-y",
"@mzxrai/mcp-openai@latest"
],
"env": {
"OPENAI_API_KEY": "your-api-key-here (get one from https://platform.openai.com/api-keys)"
}
}
}
}工具
1`messages`: Array of messages (required)
概览
What is MCP OpenAI Server?
MCP OpenAI Server is a Model Context Protocol (MCP) server that integrates OpenAI’s chat models directly into Claude. It is built for users of Claude Desktop who want to tap into OpenAI’s models (gpt-4o, gpt-4o-mini, o1-preview, o1-mini) from within the same interface.
How to use MCP OpenAI Server?
Install the Claude Desktop app, obtain an OpenAI API key, then add the provided JSON entry to your claude_desktop_config.json file. Once configured, simply ask Claude to query an OpenAI model—for example, “Can you ask o1 what it thinks about this problem?”—and the server handles the rest.
Key features of MCP OpenAI Server
- Direct integration with OpenAI’s chat completion API
- Supports gpt-4o, gpt-4o-mini, o1-preview, and o1-mini
- Simple message‑passing interface from Claude
- Single tool (
openai_chat) with required messages and optional model - Basic error handling
Use cases of MCP OpenAI Server
- Get an OpenAI model’s response without leaving Claude Desktop
- Compare answers from different models side by side
- Use o1‑preview or o1‑mini for reasoning‑heavy tasks
- Prototype multi‑model workflows inside Claude
FAQ from MCP OpenAI Server
What dependencies does MCP OpenAI Server need?
Node.js 18 or higher and an OpenAI API key are required. The server also depends on the Claude Desktop app for runtime configuration.
Where is the configuration file located?
On macOS, the JSON configuration lives at ~/Library/Application\ Support/Claude/claude_desktop_config.json.
Which platforms are verified?
macOS is verified; Linux is not yet supported.
What tools does it expose?
It exposes one tool, openai_chat, which accepts a required messages array and an optional model parameter (defaults to gpt-4o).
Is authentication handled?
The server expects your OpenAI API key to be set in the environment variable OPENAI_API_KEY inside the MCP server configuration.
AI 与智能体 分类下的更多 MCP 服务器
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
评论