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 💡
bear
A Model Context Protocol (MCP) server that allows AI assistants like Claude to read notes from the [Bear](https://bear.app/) note-taking app. This implementation connects directly to the Bear SQLite database in a read-only mode, ensuring your notes remain safe and unmodified.
pubchem-mcp-server
An MCP server that enables AI assistants to search and access chemical compound information from PubChem, providing tools for compound search, property data retrieval, and advanced queries.
serper-mcp-server
A Model Context Protocol server that provides Google Search via Serper, enabling LLMs to get search result information from Google.
package-registry-mcp
A Model Context Protocol (MCP) server that enables AI assistants and agents to search and retrieve up-to-date information from NPM, Cargo, PyPI, NuGet, and Go package registries.
mcp-recon
mcp-recon bridges the gap between natural language and HTTP infrastructure analysis. It exposes reconnaissance tools through the Model Context Protocol (MCP), allowing you to perform web domain reconnaissance via any compatible AI interface, such as Claude Desktop.
kagimcp
The Official Model Context Protocol (MCP) server for Kagi search & other tools.