# pierrebrunelle/mcp-server-openai [Health: Active]

**Category:** 🗣️ Conversational AI  
**Repository:** https://github.com/pierrebrunelle/mcp-server-openai  
**GitHub Stars:** 84  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pierrebrunelle-mcp-server-openai

## Description
Query OpenAI models directly from Claude using MCP protocol

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/pierrebrunelle/mcp-server-openai), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/pierrebrunelle/mcp-server-openai
```

2. Run:

```sh
cd mcp-server-openai
```

3. Install:

```sh
pip install -e .
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/pierrebrunelle-mcp-server-openai/readme_

