trackmcp
Back to directory
pierrebrunelle

mcp-server-openai

View on GitHub

Query OpenAI models directly from Claude using MCP protocol.

76 stars PythonAI & Machine Learning Updated Nov 3, 2025

Documentation

# OpenAI MCP Server

Query OpenAI models directly from Claude using MCP protocol.

preview

## Setup

Add to `claude_desktop_config.json`:

json
{
  "mcpServers": {
    "openai-server": {
      "command": "python",
      "args": ["-m", "src.mcp_server_openai.server"],
      "env": {
        "PYTHONPATH": "C:/path/to/your/mcp-server-openai",
        "OPENAI_API_KEY": "your-key-here"
      }
    }
  }
}

## Development

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

## Testing

python
# Run tests from project root
pytest -v test_openai.py -s

# Sample test output:
Testing OpenAI API call...
OpenAI Response: Hello! I'm doing well, thank you for asking...
PASSED

## License

MIT License

Frequently asked questions

What is mcp-server-openai?

mcp-server-openai is Query OpenAI models directly from Claude using MCP protocol.

How do I install mcp-server-openai?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-server-openai open source?

Yes — it is hosted on GitHub at https://github.com/pierrebrunelle/mcp-server-openai and has 76 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP