================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-openai
by mzxrai
Chat with OpenAI models from Claude Desktop – an MCP server that proxies Claude requests to OpenAI’s Chat Completion API.
54
20
Open Source01
openai_chat
Sends messages to OpenAI's chat completion API
Installation
1. Clone the repository
git clone https://github.com/mzxrai/mcp-openai.git
cd mcp-openai
2. Install dependencies (Node.js ≥18)
npm install # or yarn
3. Provide your OpenAI credentials
• Create a .env file (or export env var) containing
• Optionally set OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_API_KEY=sk-...
OPENAI_MODEL=gpt-4o
4. Start the local MCP server
npm start # starts server on default port 6111
5. Point Claude Desktop (or any MCP client) to ws://localhost:6111
Documentation
License: MIT License
Updated 7/30/2025