Crew AI MCP Server
船员 AI MCP 服务器
使用 CrewAI 框架提供 AI 代理和任务管理功能的 MCP 服务器。
设置
克隆或分叉此存储库
运行安装脚本:
./crew.sh安装脚本将:
安装所需的 Python 依赖项
为您的系统配置 MCP 设置文件
自动设置正确的路径
Related MCP server: Agent Workflow MCP Server
配置
在使用服务器之前,请设置您的 OpenAI API 密钥:
export OPENAI_API_KEY="your-api-key"用法
该服务器提供三个主要工具:
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
Linux
Windows(通过 Git Bash)
故障排除
如果您遇到任何问题:
确保您的 OpenAI API 密钥设置正确
检查所有依赖项是否已安装(
pip install -r requirements.txt)验证 MCP 设置文件是否存在且配置正确
确保 MCP 设置中的服务器路径与您的实际文件位置相符
贡献
分叉存储库
创建你的功能分支
进行更改
运行安装脚本来验证一切正常
提交拉取请求
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Connect, monitor, and control AI agents — tasks, approvals, schedules, and governance.
- agentpmtOAuthcom.agentpmt
AI agent marketplace for automated employees, workflows, skills, and tool orchestration.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to programmatically create, manage, and execute independent Python workflow scripts with full CRUD operations, allowing AI to build and modify automation workflows themselves rather than just executing pre-built ones.62MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, share, discover, and execute reusable multi-step workflow templates.MIT
- AlicenseBqualityBmaintenanceTransforms any compatible LLM or AI Assistant into a master orchestrator of CrewAI, providing tools to dynamically generate, edit, test, and execute multi-agent systems.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables running AI agents via OpenAI-compatible APIs with custom system prompts, models, and queries. Supports persistent memory, preset agents, and multi-step workflows like pipelines and swarms.19 npmMIT