Skip to main content
Glama
Crew AI MCP Server

Crew AI MCP Server

by MatthewLaw1

クルーAI MCPサーバー

CrewAI フレームワークを使用して AI エージェントとタスク管理機能を提供する MCP サーバー。

設定

  1. このリポジトリをクローンまたはフォークする

  2. セットアップ スクリプトを実行します。

./crew.sh

セットアップ スクリプトは次の処理を実行します。

  • 必要なPython依存関係をインストールする

  • システムのMCP設定ファイルを構成する

  • 正しいパスを自動的に設定する

Related MCP server: Agent Workflow MCP Server

構成

サーバーを使用する前に、OpenAI API キーを設定してください。

export OPENAI_API_KEY="your-api-key"

使用法

サーバーは 3 つの主なツールを提供します。

1.エージェントを作成する

{
    "method": "call_tool",
    "params": {
        "name": "create_agent",
        "arguments": {
            "role": "researcher",
            "goal": "Research and analyze information effectively",
            "backstory": "An experienced research analyst"
        }
    }
}

2. タスクを作成する

{
    "method": "call_tool",
    "params": {
        "name": "create_task",
        "arguments": {
            "description": "Analyze recent market trends",
            "agent": "researcher",
            "expected_output": "A detailed analysis report"
        }
    }
}

3. クルーを作成して運営する

{
    "method": "call_tool",
    "params": {
        "name": "create_crew",
        "arguments": {
            "agents": ["researcher"],
            "tasks": ["Analyze recent market trends"],
            "verbose": true
        }
    }
}

使用例

完全なワークフローを作成して実行します。

(echo '{"method": "call_tool", "params": {"name": "create_agent", "arguments": {"role": "researcher", "goal": "Research and analyze information effectively", "backstory": "An experienced research analyst"}}}'; echo '{"method": "call_tool", "params": {"name": "create_task", "arguments": {"description": "Analyze recent market trends", "agent": "researcher", "expected_output": "A detailed analysis report"}}}'; echo '{"method": "call_tool", "params": {"name": "create_crew", "arguments": {"agents": ["researcher"], "tasks": ["Analyze recent market trends"], "verbose": true}}}') | python3 src/crew_server.py

システム要件

  • Python 3.8以上

  • jqコマンドラインツール(セットアップスクリプト用)

  • Roo Cline拡張機能がインストールされたVSCode

サポートされているプラットフォーム

  • macOS

  • リナックス

  • Windows (Git Bash 経由)

トラブルシューティング

問題が発生した場合:

  1. OpenAI APIキーが正しく設定されていることを確認してください

  2. すべての依存関係がインストールされていることを確認します( pip install -r requirements.txt )

  3. MCP設定ファイルが存在し、正しい構成になっていることを確認します。

  4. MCP設定のサーバーパスが実際のファイルの場所と一致していることを確認してください

貢献

  1. リポジトリをフォークする

  2. 機能ブランチを作成する

  3. 変更を加える

  4. セットアップスクリプトを実行して、すべてが機能することを確認します。

  5. プルリクエストを送信する

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers