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.
Mula Pantas
- 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"
- Mulakan semula Claude Code
- Verify it's working:
claude mcp list
You should see
taskleefwith a green checkmark.
Alternatif: Konfigurasi Manual
Add directly to ~/.claude.json:
{
"mcpServers": {
"taskleef": {
"type": "http",
"url": "https://taskleef.com/mcp/messages",
"headers": {
"X-API-Key": "your-api-key-here"
}
}
}
}Alat Tersedia
The MCP server provides 40 tools across 7 domains:
Contoh Penggunaan
Setelah dikonfigurasi, anda boleh meminta Claude menguruskan tugas anda secara semula jadi:
- "Tunjukkan todo saya untuk minggu ini"
- "Cipta todo untuk menyemak laporan suku tahunan menjelang Jumaat [kerja]"
- "Alihkan tugas pengesahan ke In Progress pada papan Sprint"
- "Tambah komen pada tugas refaktor API yang menyatakan saya sudah mula semakan"
- "Tag semua todo mesyuarat saya dengan tag 'meetings'"
- "Cipta papan baharu bernama 'Q2 Planning'"
Claude Desktop
Untuk Claude Desktop, tambah ke fail tetapan MCP anda:
{
"mcpServers": {
"taskleef": {
"transport": {
"type": "sse",
"url": "https://taskleef.com/mcp/sse",
"headers": {
"X-API-Key": "your-api-key-here"
}
}
}
}
}
− Komen
/api/todos/{todoId}/commentsDapatkan semua komen pada todo.
/api/todos/{todoId}/commentsTambah komen pada todo.
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}Kemas kini komen.
/api/comments/{id}Padam komen.