CrewAI 智能代理管理
STDIO基于CrewAI的AI代理任务管理服务器
基于CrewAI的AI代理任务管理服务器
An MCP server that provides AI agent and task management capabilities using the CrewAI framework.
./crew.sh
The setup script will:
Before using the server, set your OpenAI API key:
export OPENAI_API_KEY="your-api-key"
The server provides three main tools:
{ "method": "call_tool", "params": { "name": "create_agent", "arguments": { "role": "researcher", "goal": "Research and analyze information effectively", "backstory": "An experienced research analyst" } } }
{ "method": "call_tool", "params": { "name": "create_task", "arguments": { "description": "Analyze recent market trends", "agent": "researcher", "expected_output": "A detailed analysis report" } } }
{ "method": "call_tool", "params": { "name": "create_crew", "arguments": { "agents": ["researcher"], "tasks": ["Analyze recent market trends"], "verbose": true } } }
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
jq
command-line tool (for setup script)If you encounter any issues:
pip install -r requirements.txt
)