Developer Reference
REST API · MCPAuthentication
All API requests are authenticated with a personal API key sent as a Bearer token. Create one in Settings → API Keys.
Authorization: Bearer kr_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Content-Type: application/json
REST Endpoints
Projects
Request body
{ "name": "Client Website", "description": "optional" }Request body
{ "name": "Design" }Tasks
Request body
{ "title": "Fix bug", "projectId": "<uuid>", "categoryId": "<uuid>", "priority": 1 }Request body
{ "closingReason": "Deployed and verified" }Request body
{ "content": "Discussed with team" }Query parameters
projectIdProject UUIDformatjson | csvQuery parameters
projectIdProject UUIDhoursLookback window (default 24)from / toCustom date range instead of hoursQuery parameters
qSearch query - multiple words are matched individuallynearProjectIdProject UUID to rank higher (a boost, not a filter)limitMax results, 1-50 (default 20)Request body
{ "tasks": ["KA1", "KA2"], "status": "review", "priority": 2, "note": "shipped" }Query parameters
projectIdProject UUID (optional)daysLookback window in days (default 30)tzIANA timezone for day boundaries (default UTC)Chat / AI
Request body
{ "input": "/nt Fix login -prio 1", "projectId": "<uuid>" }Example
curl -X POST .../api/chat -H "Authorization: Bearer kr_..." -H "Content-Type: application/json" -d '{"input":"/nt Test task","projectId":"<uuid>"}'Query parameters
projectIdProject UUIDlimitMax messages (default and maximum 25)Teams
Request body
{ "name": "Engineering" }Request body
{ "email": "user@example.com", "role": "participant" }Account
Request body
{ "name": "My laptop" }Request body
{ "showSeconds": false, "defaultSortBy": "deadline" }MCP Server (Claude Code, Cursor, etc.)
The Karea MCP server lets any MCP-compatible client manage your tasks directly.
1. Install
Claude Code
claude mcp add karea -e KAREA_URL=https://karea.app -e KAREA_API_KEY=kr_... -- npx -y karea-mcp
Claude Desktop / Cursor / other tools
Add to your client's MCP config file:
{
"mcpServers": {
"karea": {
"command": "npx",
"args": ["-y", "karea-mcp"],
"env": {
"KAREA_URL": "https://karea.app",
"KAREA_API_KEY": "kr_..."
}
}
}
}Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · Cursor: .cursor/mcp.json · VS Code: use root key "servers" instead of "mcpServers"
2. Use it
Just talk naturally: "create a P1 task to fix the navbar bug"
Available tools
The server advertises 9 tools: one for reading, one per kind of change, one for deleting, the assistant and help, covering 69 actions. Each tool takes an action and a params object:
karea_tasks_write { action: "karea_create_task", params: { name: "Fix the navbar", priority: 1 } }
karea_read { action: "karea_list_tasks", params: { status: "in_progress" } }Fewer, broader tools keep an agent's tool-selection step reliable. Set KAREA_MCP_LEGACY_TOOLS=1 in your MCP config to register all 69 actions as individual tools instead.
Actions
karea_list_projectskarea_list_taskskarea_view_taskkarea_view_taskskarea_list_subtaskskarea_list_noteskarea_list_sticky_noteskarea_get_markdownkarea_get_contextkarea_list_questionskarea_list_resourceskarea_get_resourcekarea_list_meetingskarea_view_meetingkarea_check_reminderskarea_get_jira_linkkarea_list_sessionskarea_recapFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_create_taskkarea_quick_taskkarea_doingkarea_edit_taskkarea_edit_taskskarea_close_taskkarea_donekarea_create_subtaskkarea_add_requisitekarea_toggle_requisiteFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_add_notekarea_edit_notekarea_create_sticky_notekarea_edit_sticky_notekarea_set_markdownkarea_set_contextFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_create_projectkarea_create_categorykarea_share_projectFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_create_meetingkarea_edit_meetingkarea_link_task_to_meetingkarea_link_question_to_meetingkarea_create_questionkarea_answer_questionkarea_edit_questionkarea_create_reminderkarea_snooze_reminderkarea_dismiss_reminderkarea_mark_reminder_doneFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_create_resourcekarea_upload_resourcekarea_update_resourcekarea_link_resource_to_taskkarea_link_jirakarea_link_sessionFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_askFor the parameters of any of these, ask your agent to call karea_help with that action name.
Actions
karea_delete_projectkarea_delete_categorykarea_delete_taskkarea_delete_requisitekarea_delete_notekarea_delete_sticky_notekarea_delete_questionkarea_delete_resourcekarea_delete_meetingkarea_unlink_resource_from_taskkarea_unlink_task_from_meetingkarea_unlink_question_from_meetingkarea_unlink_jirakarea_unlink_sessionFor the parameters of any of these, ask your agent to call karea_help with that action name.
MCP Troubleshooting
Common issues after installing or updating the MCP server.
New tools missing after an update
npx caches packages locally. After a new version is published, your client may still run the old one. Fix:
- Clear the npx cache:
npm cache clean --force - Remove stale npx copies:
find ~/.npm/_npx -type d -name "node_modules" -exec sh -c 'if [ -d "$1/karea-mcp" ]; then rm -rf "$(dirname $1)"; fi' _ {} \; - Or ask for the newest version explicitly: change
"karea-mcp"to"karea-mcp@latest"in your config - Reconnect your MCP client (e.g.
/mcpin Claude Code, or restart your IDE)
Tools show in server but not in client
MCP clients enumerate tools once at connection time. If you updated the server mid-session, the client still has the old tool list. Reconnecting the MCP (/mcp) or restarting the session fixes this. If reconnecting alone doesn't work, clear the npx cache first (see above).
Claude Code skill (optional)
A companion to the MCP. The skill teaches Claude Code your Karea conventions so it picks the right tool automatically - e.g. when you ask "what's on my plate", "log that I fixed the bug yesterday", or "dump the debugging notes to HA42's doc".
Install
mkdir -p ~/.claude/skills/karea tar -xzf karea-claude-skill.tar.gz -C ~/.claude/skills/karea # Restart Claude Code. Ask something like "what's on my plate today?" - # the skill activates automatically.