Install
mcp-registry/mcp-openai
mcp-openai logo

mcp-openai

Author: mzxrai

Description: Chat with OpenAI models from Claude Desktop – an MCP server that proxies Claude requests to OpenAI’s Chat Completion API.

Stars: 54

Forks: 20

License: MIT License

Category: Open Source

Overview

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

01

openai_chat

Sends messages to OpenAI's chat completion API

License: MIT License
Updated 7/30/2025