MCP Server Openai logo

MCP Server Openai

by pierrebrunelle

Queries OpenAI models from Claude through MCP using a Python server and an OpenAI API key.

Install MCP Server Openai

Run the project’s own setup commands, in order.

Setup steps from the project

pierrebrunelle/mcp-server-openai installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/pierrebrunelle/mcp-server-openai
    
  2. 2. Run
    cd mcp-server-openai
    
  3. 3. Install
    pip install -e .
    

Overview

The pierrebrunelle/mcp-server-openai MCP server connects an MCP client to OpenAI models through the OpenAI API. It runs as a Python module over a standard MCP configuration and uses OPENAI_API_KEY for authentication. The documented setup targets Claude Desktop, making it suitable when Claude needs to send requests to OpenAI models.

Use cases

  • Query OpenAI models from Claude Desktop
  • Route MCP requests through the OpenAI API
  • Test OpenAI API calls from a local Python server

Key features

  • OpenAI model queries over MCP
  • Python module execution
  • Claude Desktop configuration
  • OpenAI API key authentication
  • Local pytest test

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/26 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars84Stargazers on the source repository.
Last commit2y agoMost recent push to the default branch.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Openai works

What pierrebrunelle/mcp-server-openai does

The pierrebrunelle/mcp-server-openai MCP server lets an MCP client query OpenAI models through the OpenAI API. Its documented use case is connecting Claude Desktop to OpenAI model responses, so an agent can make OpenAI requests without leaving the MCP client workflow.

The repository is implemented as a Python package and exposes the server through the module src.mcp_server_openai.server.

How it works

The server uses MCP as the connection layer between the client and the Python process. Claude Desktop starts the configured Python module, and the process uses the supplied OpenAI API key when handling requests. The README demonstrates a standard local process configuration rather than a hosted endpoint.

The repository includes a test that exercises an OpenAI API call and prints the returned response. This confirms the intended execution path: the server receives a request, calls OpenAI, and passes the response back through MCP.

Setup and configuration

Install the package from a local clone with:

bash
git clone https://github.com/pierrebrunelle/mcp-server-openai
cd mcp-server-openai
pip install -e .

Then add an MCP server entry to Claude Desktop's claude_desktop_config.json. The command is python, with -m src.mcp_server_openai.server as its argument. Set PYTHONPATH to the repository location and provide OPENAI_API_KEY with a valid OpenAI API key.

The documented configuration is local and platform-specific in its example path. Adjust the repository path for the operating system and installation location where Claude Desktop runs the process.

Tools and capabilities

The pierrebrunelle/mcp-server-openai MCP server supports these documented capabilities:

  • Query OpenAI models from an MCP client.
  • Make OpenAI API calls through the configured Python server.
  • Return OpenAI model responses to Claude Desktop.
  • Run locally through a Python module launched by the MCP client.

Limitations and notes

It also does not list supported OpenAI models, conversation features, streaming behavior, timeout controls, retry handling, or other API options. Treat those details as unspecified unless they are confirmed in the repository source.

An OpenAI API key is required for the demonstrated setup, and requests may incur OpenAI usage costs.

The pierrebrunelle/mcp-server-openai MCP server is released under the MIT License.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Openai

pierrebrunelle/mcp-server-openai is an MCP server that connects Claude Desktop and other MCP clients to OpenAI models through the OpenAI API. It runs as a Python module, authenticates with OPENAI_API_KEY, and exposes the documented ability to make OpenAI API calls and return model responses.

Install it by cloning the repository, changing into its directory, and running `pip install -e .`. The documented commands use Python package installation from a local checkout.

Add a server entry to `claude_desktop_config.json` that runs `python -m src.mcp_server_openai.server`. Set `PYTHONPATH` to the repository path and provide `OPENAI_API_KEY` in the entry's environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Openai AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pierrebrunelle-mcp-server-openai?style=directory)](https://allmcps.com/mcp/pierrebrunelle-mcp-server-openai)
HTML Embed
<a href="https://allmcps.com/mcp/pierrebrunelle-mcp-server-openai"><img src="https://allmcps.com/api/badge/pierrebrunelle-mcp-server-openai?style=directory" alt="MCP Server Openai on AllMCPs" /></a>