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
Recommend MCP Servers 💡
mcp-twikit
A Model Context Protocol (MCP) server for interacting with Twitter.
mcp-claude-weather
An MCP server providing real-time weather alerts, forecasts, and warnings from the US National Weather Service via stdio transport.
wavespeed-mcp
A Model Control Protocol (MCP) server for WaveSpeed AI, providing a standardized interface for image and video generation capabilities.
digma-ai/digma-mcp-server
Enables agents to access Digma's code observability insights via MCP SSE server
Meerkats-Ai/prospeo-mcp-server
An MCP server integrating Prospeo API for email finding and LinkedIn profile enrichment.
@noditlabs/nodit-mcp-server
An MCP server enabling AI agents to interact with multi-chain blockchain data via Nodit's Web3 Data and Node APIs, providing structured context for LLMs.