Query OpenAI models directly from Claude using MCP protocol.
Developer Tools
QueryOpenAIMCPserverAPI
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
Prerequisites
- •Familiarity with the server domain
- •Basic understanding of related technologies
- •Knowledge of Developer Tools
Recommended Server
Details
More Server
Mcp Postman
MCP Server for running Postman Collections with Newman
Quarkus Mcp Server
This extension enables developers to implement the MCP server features easily.
Minima
On-premises conversational RAG with configurable containers
Twitter Mcp
A Model Context Protocol server allows to interact with Twitter, enabling posting tweets and searching Twitter.