TaskLeef includes a Model Context Protocol (MCP) server that allows AI assistants like Claude Code to manage your todos, boards, and Kanban workflows directly from the command line.
快速开始
- Get your API key from Settings → API Keys
- Add the MCP server to Claude Code:
claude mcp add --transport http taskleef https://taskleef.com/mcp/messages -H "X-API-Key: YOUR_API_KEY"
- 重启 Claude Code
- Verify it's working:
claude mcp list
You should see
taskleefwith a green checkmark.
备选方案:手动配置
Add directly to ~/.claude.json:
{
"mcpServers": {
"taskleef": {
"type": "http",
"url": "https://taskleef.com/mcp/messages",
"headers": {
"X-API-Key": "your-api-key-here"
}
}
}
}可用工具
The MCP server provides 40 tools across 7 domains:
用法示例
配置完成后,您可以用自然语言让 Claude 管理任务:
- “显示我本周的待办事项”
- “创建一个待办事项,在周五前审阅季度报告 [work]”
- “将身份验证任务移动到 Sprint 看板的进行中”
- “给 API 重构任务添加一条评论,说明我已开始审阅”
- “为我所有的会议待办事项打上 ‘meetings’ 标签”
- “创建一个名为 ‘Q2 Planning’ 的新看板”
Claude Desktop
对于 Claude Desktop,请添加到您的 MCP 设置文件中:
{
"mcpServers": {
"taskleef": {
"transport": {
"type": "sse",
"url": "https://taskleef.com/mcp/sse",
"headers": {
"X-API-Key": "your-api-key-here"
}
}
}
}
}
− 评论
/api/todos/{todoId}/comments获取某个待办事项上的所有评论。
/api/todos/{todoId}/comments为待办事项添加评论。
curl -X POST -H "X-API-Key: your-api-key" \ -H "Content-Type: application/json" \ -d '{"text": "This is my comment"}' \ https://taskleef.com/api/todos/{todoId}/comments/api/comments/{id}更新评论。
/api/comments/{id}删除评论。