MCP Server Openai Bridge logo

MCP Server Openai Bridge

by jaspertvdm

Connects MCP clients to OpenAI models, including GPT-4 and GPT-3.5, with streaming responses.

Install MCP Server Openai Bridge

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "jaspertvdm-mcp-server-openai-bridge": {
      "command": "uvx",
      "args": [
        "mcp-server-openai-bridge"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-server-openai-bridge

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

jaspertvdm/mcp-server-openai-bridge MCP server connects MCP clients to the OpenAI API through a locally run bridge. It supports GPT-4, GPT-3.5, GPT-4o, other OpenAI models, and streaming responses. Reach for it when an MCP-compatible client needs to send requests to OpenAI using an API key rather than a client-specific integration.

Use cases

  • Connect Claude Desktop to OpenAI models
  • Route MCP client requests through the OpenAI API
  • Stream OpenAI responses to an MCP client
  • Run the bridge in Docker

Key features

  • OpenAI API access over MCP
  • GPT-4, GPT-3.5, and GPT-4o support
  • Streaming responses
  • Environment-based configuration
  • Python package installation
  • Docker deployment

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.

12/12 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · mcp-server-openai-bridge (PyPI)

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Openai Bridge works

What jaspertvdm/mcp-server-openai-bridge does

The jaspertvdm/mcp-server-openai-bridge MCP server exposes OpenAI API access to MCP clients. It is intended for applications that support the Model Context Protocol and need to use OpenAI models through a local MCP process.

Supported model families include GPT-4, GPT-3.5, GPT-4o, and other OpenAI models available through the connected API. The bridge also supports streaming responses, which allows supported clients to receive generated output incrementally rather than waiting for the complete response.

This package is useful when an MCP client already provides the interaction layer but needs an MCP-compatible route to OpenAI. It does not describe a separate model runtime or local inference engine; requests are made through the OpenAI API.

How it works

The bridge runs as an MCP server process and uses the OpenAI API key supplied in its environment. An MCP client starts the process, then communicates with it over the client’s configured MCP connection. The server forwards model requests to OpenAI and returns the resulting responses to the client.

The documented Claude Desktop setup uses the executable installed by the Python package. Docker can also run the server interactively, with the API key passed into the container. These two approaches provide the same basic connection pattern: an MCP client communicates with the bridge, and the bridge communicates with OpenAI.

Streaming is listed as a server capability. Whether streamed output is displayed progressively depends on the MCP client’s support for handling streamed responses.

Setup and configuration

Install the package from PyPI with:

Terminal
pip install mcp-server-openai-bridge

Set OPENAI_API_KEY to a valid OpenAI API key. The variable is required; no other configuration variables are documented.

For Claude Desktop, add a server entry that runs mcp-server-openai-bridge and provides the key in the entry’s environment. A representative configuration is:

config.json
{
  "mcpServers": {
    "openai": {
      "command": "mcp-server-openai-bridge",
      "env": {
        "OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Docker users can build the image from the repository and run it with standard input attached while passing the key through the container environment:

Terminal
docker build -t mcp-server-openai-bridge .
docker run -i -e OPENAI_API_KEY=sk-... mcp-server-openai-bridge

The jaspertvdm/mcp-server-openai-bridge MCP server requires access to the OpenAI API, so the runtime must be able to reach that external service and the supplied key must be valid.

Tools and capabilities

The documented capabilities are:

  • Connecting MCP clients to the OpenAI API
  • Accessing GPT-4, GPT-3.5, GPT-4o, and other OpenAI models
  • Returning streaming responses
  • Running with a small environment-based configuration

Developers needing those details should inspect the package or repository implementation before depending on them.

The project is distributed under the MIT license and is published through PyPI and GitHub.

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 Bridge

jaspertvdm/mcp-server-openai-bridge is an MCP server that connects MCP clients to the OpenAI API. It provides access to GPT-4, GPT-3.5, GPT-4o, and other OpenAI models, and supports streaming responses. It requires an OpenAI API key supplied through the OPENAI_API_KEY environment variable.

Install it from PyPI with `pip install mcp-server-openai-bridge`. Then configure an MCP client to run the `mcp-server-openai-bridge` command and provide `OPENAI_API_KEY` in its environment.

Add an `openai` entry to `claude_desktop_config.json` with `mcp-server-openai-bridge` as the command and your OpenAI key as `OPENAI_API_KEY`.

Yes, you can build the repository as a Docker image and run it with `-i` while passing `OPENAI_API_KEY` with `-e`. The documented commands use the image name `mcp-server-openai-bridge`.

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 Bridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/jaspertvdm-mcp-server-openai-bridge?style=directory)](https://allmcps.com/mcp/jaspertvdm-mcp-server-openai-bridge)
HTML Embed
<a href="https://allmcps.com/mcp/jaspertvdm-mcp-server-openai-bridge"><img src="https://allmcps.com/api/badge/jaspertvdm-mcp-server-openai-bridge?style=directory" alt="MCP Server Openai Bridge on AllMCPs" /></a>