Crew AI MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides AI agent and task management capabilities using the CrewAI framework, including creating agents, tasks, and crews to perform AI-driven workflows

  • Utilizes OpenAI's API for powering the AI agents within the CrewAI framework, requiring users to set their OpenAI API key

Crew AI MCP Server

An MCP server that provides AI agent and task management capabilities using the CrewAI framework.

Setup

  1. Clone or fork this repository
  2. Run the setup script:
./crew.sh

The setup script will:

  • Install required Python dependencies
  • Configure the MCP settings file for your system
  • Set up the correct paths automatically

Configuration

Before using the server, set your OpenAI API key:

export OPENAI_API_KEY="your-api-key"

Usage

The server provides three main tools:

1. Create an Agent

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

2. Create a Task

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

3. Create and Run a Crew

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

Example Usage

Create and run a complete workflow:

(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

System Requirements

  • Python 3.8 or higher
  • jq command-line tool (for setup script)
  • VSCode with Roo Cline extension installed

Supported Platforms

  • macOS
  • Linux
  • Windows (via Git Bash)

Troubleshooting

If you encounter any issues:

  1. Ensure your OpenAI API key is set correctly
  2. Check that all dependencies are installed (pip install -r requirements.txt)
  3. Verify the MCP settings file exists and has the correct configuration
  4. Make sure the server path in the MCP settings matches your actual file location

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Make your changes
  4. Run the setup script to verify everything works
  5. Submit a pull request
-
security - not tested
F
license - not found
-
quality - not tested

Enables AI agent and task management using the CrewAI framework, allowing users to create and run agents and tasks in an automated workflow environment.

  1. Setup
    1. Configuration
      1. Usage
        1. 1. Create an Agent
        2. 2. Create a Task
        3. 3. Create and Run a Crew
        4. Example Usage
      2. System Requirements
        1. Supported Platforms
          1. Troubleshooting
            1. Contributing