Skip to main content
Glama

AutoGen MCP Server

AutoGen MCP サーバー

MicrosoftのAutoGenフレームワークとの統合を提供するMCPサーバー。標準化されたインターフェースを通じてマルチエージェント対話を実現します。このサーバーを使用すると、自然言語による対話を通じて連携し、問題を解決できるAIエージェントを作成・管理できます。

特徴

  • カスタマイズ可能な構成で AutoGen エージェントを作成および管理します
  • エージェント間の1対1の会話を実行する
  • 複数のエージェントによるグループチャットのオーケストレーション
  • 構成可能なLLM設定とコード実行環境
  • アシスタントとユーザープロキシエージェントの両方をサポート
  • 組み込みのエラー処理と応答検証

インストール

  1. リポジトリをクローンします。
git clone https://github.com/yourusername/autogen-mcp.git cd autogen-mcp
  1. 依存関係をインストールします:
pip install -e .

構成

環境変数

  1. .env.example.envにコピーします。
cp .env.example .env
  1. 環境変数を設定します。
# Path to the configuration file AUTOGEN_MCP_CONFIG=config.json # OpenAI API Key (optional, can also be set in config.json) OPENAI_API_KEY=your-openai-api-key

サーバー構成

  1. config.json.exampleconfig.jsonにコピーします。
cp config.json.example config.json
  1. サーバー設定を構成します。
{ "llm_config": { "config_list": [ { "model": "gpt-4", "api_key": "your-openai-api-key" } ], "temperature": 0 }, "code_execution_config": { "work_dir": "workspace", "use_docker": false } }

利用可能な操作

サーバーは主に 3 つの操作をサポートしています。

1. エージェントの作成

{ "name": "create_agent", "arguments": { "name": "tech_lead", "type": "assistant", "system_message": "You are a technical lead with expertise in software architecture and design patterns." } }

2. 1対1のチャット

{ "name": "execute_chat", "arguments": { "initiator": "agent1", "responder": "agent2", "message": "Let's discuss the system architecture." } }

3. グループチャット

{ "name": "execute_group_chat", "arguments": { "agents": ["agent1", "agent2", "agent3"], "message": "Let's review the proposed solution." } }

エラー処理

一般的なエラーのシナリオは次のとおりです。

  1. エージェント作成エラー
{ "error": "Agent already exists" }
  1. 実行エラー
{ "error": "Agent not found" }
  1. 構成エラー
{ "error": "AUTOGEN_MCP_CONFIG environment variable not set" }

建築

サーバーはモジュラー アーキテクチャに従います。

src/ ├── autogen_mcp/ │ ├── __init__.py │ ├── agents.py # Agent management and configuration │ ├── config.py # Configuration handling and validation │ ├── server.py # MCP server implementation │ └── workflows.py # Conversation workflow management

ライセンス

MITライセンス - 詳細はLICENSEファイルを参照

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Microsoft の AutoGen フレームワークとの統合を提供し、標準化されたインターフェースを通じてマルチエージェント会話を可能にする MCP サーバー。

  1. 特徴
    1. インストール
      1. 構成
        1. 環境変数
        2. サーバー構成
      2. 利用可能な操作
        1. エージェントの作成
        2. 1対1のチャット
        3. グループチャット
      3. エラー処理
        1. 建築
          1. ライセンス

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              An MCP server that enables AI agents to interact with Atlassian products (Confluence and Jira) for content management, issue tracking, and project management through a standardized interface.
              Last updated -
              2
              TypeScript
            • -
              security
              F
              license
              -
              quality
              An MCP (Multi-Agent Conversation Protocol) Server that enables AI agents to interact with Google's Cloud Translation API for translating text between languages.
              Last updated -
              Python
            • -
              security
              F
              license
              -
              quality
              An MCP (Multi-Agent Conversation Protocol) Server that enables AI agents to interact with Google Docs via natural language, automatically generated using AG2's MCP builder.
              Last updated -
              Python

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/Autogen_MCP'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server