Skip to main content
Glama

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"
      }
    }
  }
}

Related MCP server: OpenAI MCP Server

発達

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ライセンス

Available Tools

1 tool
ask-openaiC

Ask my assistant models a direct question

Inputs: query (required), model, temperature, max_tokens.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'ask-openai' has a clear and singular purpose, making it impossible for an agent to misselect between tools.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'ask-openai' follows a verb_noun pattern, and with no other tools to compare against, there are no inconsistencies.

    Tool Count2/5

    A single tool is generally too few for a server's purpose, as it limits functionality and scope. For an 'OpenAI MCP Server', one might expect more comprehensive coverage such as different model interactions, fine-tuning, or other API endpoints, making this feel thin and under-scoped.

    Completeness1/5

    The tool set is severely incomplete for an 'OpenAI MCP Server'. With only a direct question tool, it lacks essential operations like model listing, chat completions, embeddings, or file handling, which are core to OpenAI's API. This will likely cause agent failures due to missing functionality.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Enables integration with OpenAI models through the MCP protocol, supporting concise and detailed responses for use with Claude Desktop.
      1
      3
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables Claude and other MCP-compatible tools to communicate with OpenAI's GPT models (GPT-5, GPT-5-mini, o3) with conversation history and session management. Features advanced controls like reasoning effort settings, token tracking, and parallel conversation sessions for efficient AI workflows.
      21 npm
      -