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}刪除留言。