
OpenAI
โ 81from pierrebrunelle
Query OpenAI models directly from Claude using MCP protocol
๐ฅ๐ฅโ VerifiedAccount requiredNeeds API keys
OpenAI MCP Server
Query OpenAI models directly from Claude using MCP protocol.

Development
Copy & paste โ that's it
git clone https://github.com/pierrebrunelle/mcp-server-openai
cd mcp-server-openai
pip install -e .Testing
Copy & paste โ that's it
# 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...
PASSEDLicense
MIT License
Copy & paste โ that's it
git clone https://github.com/pierrebrunelle/mcp-server-openai
cd mcp-server-openai
pip install -e .Before it works, you'll need: PYTHONPATHOPENAI_API_KEY
Setup
Add to claude_desktop_config.json:
Copy & paste โ that's it
{
"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"
}
}
}
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.