OpenAI MCP Server

Query OpenAI models directly from Claude using MCP protocol.

preview

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

Related in Cloud Service - Secure MCP Servers

ServerSummaryActions
MCP DigitalOcean IntegrationMCP DigitalOcean Integration is an open-source project that provides a comprehensive interface for m...View
AWS Customer Playbook Advisor MCP※ このリポジトリは非公式のものであり、クローンしてもらって試してもらっても良いですが責任は負いません...View
Google Cloud RunEnable MCP-compatible AI agents to deploy apps to Cloud Run.View
Amazon Security LakeAn MCP (Model Context Protocol) server for querying Amazon Security Lake data using AWS Athena. This...View
kubectl MCP PluginThe kubectl-mcp plugin implements a Model Context Protocol (MCP) server for kubectl. This server ena...View
My MCP ServerThis example allows you to deploy a remote MCP server that doesn't require authentication on Cloudfl...View