P
mcp-server-openai
Created Oct 19, 2025
by
pierrebrunelle
Language:
Python
Stars:
52
Forks:
10
README
OpenAI MCP Server
Query OpenAI models directly from Claude using MCP protocol.

Setup
Add to claude_desktop_config.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
git clone https://github.com/pierrebrunelle/mcp-server-openai
cd mcp-server-openai
pip install -e .
Testing
# 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
Last updated: Oct 19, 2025
Publisher info
pierrebrunelle
Doing New Things. ex-founder @noteable-io (acq by @confluentinc ) | formerly Amazon, AWS, & Siemens … Decision Scientist & Structural Engineer
Pixeltable
Seattle
13
followers
7
following
33
repos
More MCP servers built with Python
Transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
By huggingface
155.5K