MCP cover image
See in Github
2024-11-28

Query OpenAI models directly from Claude using MCP protocol.

2

Github Watches

13

Github Forks

61

Github Stars

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

相关推荐

  • sirmews
  • Read your Apple Notes with Claude Model Context Protocol

  • ttommyth
  • Vibe coding should have human in the loop! interactive-mcp: Local, cross-platform MCP server for interact with your AI Agent

  • nick1udwig
  • The coding agent for professionals

  • ZeparHyfar
  • A MCP server for datetime formatting and file name generation.

  • Seym0n
  • Model Context Protocol (MCP) with TikTok integration

  • tacticlaunch
  • MCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.

  • brightdata
  • A powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.

  • rikkahub
  • RikkaHub is a Android APP that supports for multiple LLM providers.

    Reviews

    5 (0)