Skip to main content
Glama
OpenAI Agents MCP Server

OpenAI Agents MCP Server

by lroolle

OpenAIエージェントMCPサーバー

鍛冶屋のバッジ

MCP プロトコルを通じて OpenAI エージェントを公開するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

このサーバーは、OpenAI Agents SDK を使用して、個々のエージェントとマルチエージェント オーケストレーターの両方を公開します。

個人専門エージェント

  • Web検索エージェント:リアルタイム情報をWebで検索するための専用エージェント

  • ファイル検索エージェント: OpenAIのベクトルストア内のファイルを検索および分析するための専用エージェント

  • コンピュータアクションエージェント:コンピュータ上で安全にアクションを実行するための専用エージェント

マルチエージェントオーケストレーター

  • オーケストレータエージェント: 専門エージェント間の調整を行い、各タスクに適切なエージェントを選択できる強力なエージェント

各エージェントは MCP プロトコルを介してアクセスされるため、Claude デスクトップ アプリを含むすべての MCP クライアントで利用できるようになります。

Related MCP server: MCP Simple OpenAI Assistant

インストール

前提条件

  • Python 3.11以上

  • uvパッケージ マネージャー (推奨)

  • OpenAI APIキー

Smithery経由でインストール

Smithery経由で Claude Desktop 用の openai-agents-mcp-server を自動的にインストールするには:

npx -y @smithery/cli install @lroolle/openai-agents-mcp-server --client claude

クロードデスクトップ

"mcpServers": {
  "openai-agents-mcp-server": {
    "command": "uvx",
    "args": ["openai-agents-mcp-server"],
    "env": {
        "OPENAI_API_KEY": "your-api-key-here"
    }
  }
}

実装の詳細

ツール要件

  • WebSearchTool : 必須パラメータはありませんが、オプションの場所コンテキストを受け入れることができます

  • FileSearchTool :vector_store_ids(OpenAIベクターストアのID)が必要です

  • ComputerTool : AsyncComputer 実装が必要です (現在はシミュレートされています)

カスタマイズ

このサーバーは次の方法でカスタマイズできます。

  1. 完全なAsyncComputerインターフェースを実装して、実際のコンピュータとのインタラクションを可能にする

  2. 他のOpenAIツール用の特殊エージェントの追加

  3. より複雑なワークフローを処理できるようにオーケストレーターエージェントを強化する

構成

環境変数を使用してサーバーを構成できます。

  • OPENAI_API_KEY : OpenAI APIキー(必須)

  • MCP_TRANSPORT : 使用するトランスポートプロトコル (デフォルト: "stdio"、"sse" も可)

発達

開発環境のセットアップ

# Clone the repository
git clone https://github.com/lroolle/openai-agents-mcp-server.git
cd openai-agents-mcp-server

# Create a virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
uv sync --dev

MCP Inspectorによるテスト

MCP Inspector を使用してサーバーをテストできます。

# In one terminal, run the server with SSE transport
export OPENAI_API_KEY=your-api-key
export MCP_TRANSPORT=sse

uv run mcp dev src/agents_mcp_server/server.py

次に、Web ブラウザを開き、 http://localhost:5173に移動します。

ライセンス

マサチューセッツ工科大学

Available Tools

4 tools
computer_action_agentC

Use an AI agent specialized in performing computer actions safely and effectively.

Inputs: action (required).

file_search_agentC

Use an AI agent specialized in searching through files and documents to find relevant information.

Inputs: query (required), vector_store_ids (required), max_results.

multi_tool_agentC

Use an AI agent that can orchestrate between web search, file search, and computer actions based on your query.

Inputs: query (required), enable_computer_actions, enable_file_search, enable_web_search, +1 more.

web_search_agentB

Use an AI agent specialized in web searching to find accurate, up-to-date information from the internet.

Inputs: query (required), location.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools have mostly distinct purposes with clear specialization: computer actions, file search, web search, and a multi-tool orchestrator. However, the multi_tool_agent overlaps with the specialized agents by potentially performing their functions, which could cause some confusion about when to use it versus the specific agents.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with a clear '_agent' suffix (e.g., computer_action_agent, file_search_agent). The naming is predictable and uniform across all four tools, making them easy to identify and categorize.

    Tool Count4/5

    With 4 tools, the count is reasonable for an agent orchestration server, covering core areas like computer actions, file search, web search, and multi-tool coordination. It is slightly thin but well-scoped, as each tool serves a distinct role without unnecessary bloat.

    Completeness3/5

    The tool set covers key agent functionalities (computer actions, file search, web search, and orchestration), but there are notable gaps. For example, there is no dedicated tool for database operations, API interactions, or other common agent tasks, which might limit coverage for broader use cases in the agent domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers