==================
/// MCP ///
/// MCP ///
==================
[server:online]
[protocol:ready]mcp-server-openai
by pierrebrunelle
Query OpenAI models directly from Claude using the MCP protocol.
69
16
Open SourceInstallation
1. Clone the repository
git clone https://github.com/pierrebrunelle/mcp-server-openai.git
cd mcp-server-openai2. Create and activate a virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate3. Install Python dependencies
pip install -r requirements.txt4. Provide your OpenAI credentials
export OPENAI_API_KEY="<your-openai-key>"
# Optional – Azure setup
export OPENAI_API_BASE="https://<azure-endpoint>.openai.azure.com/"
export OPENAI_API_VERSION="2024-04-01-preview"5. Launch the MCP server
python -m mcp_server_openai # or the entry-point script specified in the repo6. Point your Claude/MCP client at the server’s host:port (defaults to http://localhost:8080 unless changed via --port).
Documentation
License: MIT License
Updated 7/15/2025