CrewAI (Near Intents)

by matthewlaw1

3 stars
Not rated
GitHub

About

Leverages the CrewAI framework in combination with OpenAI API to orchestrate multi-agent workflows for automated research, data analysis, and problem-solving across domains.

Details

Author
matthewlaw1
Repository
MatthewLaw1/Near-Intents-MCP-Agentkit
GitHub stars
3
License
Other
Categories
Productivity, Developer Tools, Design, Workplace, AI, Search, Project Management, API, Infrastructure, Communication

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name CrewAI (Near Intents)
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server provides three main tools:

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

create_agent

Create an agent with specified role, goal, and backstory. Parameters: role (string), goal (string), backstory (string)

create_task

Create a task for a specified agent with a description and expected output. Parameters: description (string), agent (string), expected_output (string)

create_crew

Create and run a crew with specified agents and tasks. Parameters: agents (array of strings), tasks (array of strings), verbose (boolean)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "crewai (near intents)": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.