OpenAI MCP Server

MIT License
47

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows querying OpenAI models directly from Claude using MCP protocol

OpenAI MCP 服务器

使用 MCP 协议直接从 Claude 查询 OpenAI 模型。

设置

添加到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" } } } }

发展

git clone https://github.com/pierrebrunelle/mcp-server-openai cd mcp-server-openai pip install -e .

测试

# 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

执照

MIT 许可证

-
security - not tested
A
license - permissive license
-
quality - not tested

使用 MCP 协议直接从 Claude 查询 OpenAI 模型。

  1. Setup
    1. Development
      1. Testing
        1. License
          ID: f7pt2hkdug