Lets Claude Desktop send chat requests to supported OpenAI models through an MCP server.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Openai.
The mzxrai/mcp-openai MCP server connects Claude Desktop to OpenAI chat completion models. It gives Claude a single MCP tool for forwarding a conversation to OpenAI and receiving the model's response. The supported model list includes gpt-4o, gpt-4o-mini, o1-preview, and o1-mini; gpt-4o is used when no model is supplied.
This fits workflows where Claude should ask another OpenAI model for an opinion, comparison, or draft. For example, a user can ask Claude to send a problem to o1 or ask what gpt-4o thinks about a topic. The README describes the interface as simple message passing rather than a broader set of OpenAI operations.
Claude Desktop starts the server as a local Node.js process using npx. The server reads the OpenAI credential from the OPENAI_API_KEY environment variable. When Claude selects the MCP tool, the server passes the supplied messages to OpenAI's chat completion API and returns the result.
The tool accepts a required messages array and an optional model argument. The model value selects one of the supported OpenAI models. Basic error handling is included, but the project is identified as alpha software, so applications should account for possible bugs.
Install Node.js 18 or newer, Claude Desktop, and an OpenAI API key. Add an mcp-openai entry to Claude Desktop's claude_desktop_config.json. On macOS, the README places this file under ~/Library/Application Support/Claude/.
The configuration runs npx -y @mzxrai/mcp-openai@latest and supplies the key through OPENAI_API_KEY. After restarting or reloading Claude Desktop as needed, ask Claude to use an OpenAI model. The project specifically verifies macOS; Linux is not marked as verified in the supplied material.
The mzxrai/mcp-openai MCP server also includes development commands for installing dependencies with pnpm, building, watching for changes, and running in development mode. Those commands are for contributors rather than normal Claude Desktop installation.
openai_chat: sends messages to OpenAI's chat completion API.messages: required array of conversation messages.model: optional model selector, defaulting to gpt-4o.gpt-4o, gpt-4o-mini, o1-preview, and o1-mini.An OpenAI API key is required, so OpenAI usage is billed according to the user's OpenAI account and selected model; the supplied material does not describe any separate server pricing. The README provides no tools for image generation, embeddings, file handling, or other OpenAI APIs. It documents Claude Desktop as the client and macOS as the verified platform.
For troubleshooting, inspect Claude Desktop's MCP logs. The README gives a macOS log command using tail and a wildcard under ~/Library/Logs/Claude/. The project is licensed under MIT.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mzxrai-mcp-openai)<a href="https://allmcps.com/mcp/mzxrai-mcp-openai"><img src="https://allmcps.com/api/badge/mzxrai-mcp-openai?style=directory" alt="MCP Openai on AllMCPs" /></a>