Tududi MCP
 ](https://github.com/jerrytunin/tududi-mcp/actions/workflows/docker.yml)  ](https://nodejs.org/) 
集成了模型上下文协议(MCP)的服务器 图杜迪 使用AI驱动的开发工具进行任务管理。
概述
Tududi MCP使AI代理和开发人员能够直接从他们的IDE与Tududi任务、项目和区域进行交互。在编码时无缝管理您的任务,由模型上下文协议标准提供支持。
特性
- 任务管理:创建、读取、更新和删除任务
- 项目组织机构:管理项目和组织工作
- 区域管理:按区域组织任务
- 搜索和筛选:具有灵活筛选的查询任务
- AI就绪:与GitHub Copilot和Augment Code Agent等AI代理配合使用
安装
选项1:Docker(推荐)
# Clone the repository
git clone https://github.com/jerrytunin/tududi-mcp.git
cd tududi-mcp
# Copy environment file
cp .env.example .env
# Edit .env with your Tududi API URL and key
# Build and run with Docker Compose
docker-compose up -d
# Or build Docker image manually
docker build -t tududi-mcp .
docker run -it --env-file .env tududi-mcp选项2:本地安装
# Clone the repository
git clone https://github.com/jerrytunin/tududi-mcp.git
cd tududi-mcp
# Install dependencies
npm install
# Build the project
npm run build配置
MCP服务器支持两种身份验证方法:
选项1:API密钥验证(较新的Tududi版本)
创建一个 .env 文件:
TUDUDI_API_URL=http://localhost:3000
TUDUDI_API_KEY=your-api-key-here
LOG_LEVEL=info选项2:电子邮件/密码验证(旧版Tududi)
如果您的Tududi实例还不支持API令牌,请使用电子邮件/密码身份验证:
TUDUDI_API_URL=http://localhost:3000
TUDUDI_EMAIL=your-email@example.com
TUDUDI_PASSWORD=your-password
LOG_LEVEL=infoMCP服务器将根据提供的环境变量自动检测使用哪种身份验证方法。
Visual Studio配置
添加到您的 .mcp.json:
{
"mcpServers": {
"tududi": {
"command": "node",
"args": ["path/to/tududi-mcp/dist/server.js"],
"env": {
"TUDUDI_API_URL": "http://localhost:3000",
"TUDUDI_API_KEY": "your-api-key"
}
}
}
}Docker使用
使用Docker Compose
# Start the server
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the server
docker-compose down直接使用Docker
# Build the image
docker build -t tududi-mcp .
# Run the container
docker run -it \
-e TUDUDI_API_URL=http://localhost:3000 \
-e TUDUDI_API_KEY=your-api-key \
-e LOG_LEVEL=info \
tududi-mcp
# Run in background
docker run -d --name tududi-mcp \
-e TUDUDI_API_URL=http://localhost:3000 \
-e TUDUDI_API_KEY=your-api-key \
tududi-mcp发展
npm install
npm run build
npm run dev
npm test可用工具
tududi_list_tasks-列出所有任务tududi_create_task-创建新任务tududi_update_task-更新现有任务tududi_delete_task-删除任务tududi_complete_task-将任务标记为已完成tududi_list_projects-列出所有项目tududi_create_project-创建新项目tududi_list_areas-列出所有区域tududi_search_tasks-使用筛选器搜索任务
贡献
欢迎投稿!请看 贡献.md 作为指导方针。
许可证
MIT许可证-请参阅 许可证 了解详情。
链接
-
