MCP Server
mcp-server-openai
Query OpenAI models directly from Claude using MCP protocol
73
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "openai-server",
3 "command": "python",
4 "args": [
5 "-m",
6 "src.mcp_server_openai.server"
7 ],
8 "env": {
9 "PYTHONPATH": "C:/path/to/your/mcp-server-openai",
10 "OPENAI_API_KEY": "your-key-here"
11 }
12}
JSON12 lines
README Documentation
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
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source