Kriyan

Plan with your AI over MCP

Kriyan runs a hosted MCP server. Connect it once and your assistant can read your day and week, capture tasks, and propose plans you accept in the app.

MCP server address
https://kriyan.app/mcp

It speaks streamable HTTP, protocol 2026-07-28, and the 2025 versions older clients use. There is nothing to install.

Connect

Claude and ChatGPT

Add a custom connector with the address above. When asked, sign in to Kriyan and allow access. The connector acts as you and only ever sees your own plan.

Claude Code

Terminal
claude mcp add --transport http --scope user kriyan https://kriyan.app/mcp

Then run /mcp in Claude Code and choose Kriyan to sign in.

Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in one project.

mcp.json
{
  "mcpServers": {
    "kriyan": {
      "url": "https://kriyan.app/mcp"
    }
  }
}

VS Code

Add this to .vscode/mcp.json.

.vscode/mcp.json
{
  "servers": {
    "kriyan": {
      "type": "http",
      "url": "https://kriyan.app/mcp"
    }
  }
}

Use a personal access token

Clients that can't sign in, and your own scripts, can send a token instead. Create one in Kriyan under Settings, name it after where you'll use it, and send it as a bearer token. You can revoke it there at any time.

mcp.json with a token
{
  "mcpServers": {
    "kriyan": {
      "url": "https://kriyan.app/mcp",
      "headers": {
        "Authorization": "Bearer kriyan_..."
      }
    }
  }
}
Claude Code with a token
claude mcp add --transport http --scope user kriyan https://kriyan.app/mcp --header "Authorization: Bearer kriyan_..."

Keep tokens out of shared files and repositories: anyone with a token can read and change your plan.

How agents plan with you

Tools

One tool for each operation of the agent API. Read tools are marked read-only, so clients can run them without asking.

ToolWhat it does
get_todayRead the person's plan for a day (today by default): scheduled blocks, anytime tasks, tasks due that day with no day of their own, done tasks, tasks left from earlier days (earlier, each with ageDays, within the person's earlier window; older ones are in get_inbox), and habits. Read this before planning. Read-only.
get_weekRead seven days starting on a date (Monday of this week by default): each day's blocks, deadlines and planned hours against capacity, plus the inbox and unscheduled tasks. Read-only.
get_inboxRead tasks captured without a date or a space (tasks), and older: tasks left from earlier days that are too old for Today's earlier window, each with ageDays. Read-only.
get_spaceRead one space: its next and later tasks, child spaces, goals, note and stats. Read-only.
get_taskRead one task by id, with its note, repeat and reminders. Read-only.
list_spacesList every space as a tree, with ids, colours and paths like 'Work / Kriyan'. Read-only.
get_progressRead time done this week and this year, time by space, goals against pace and habits. Read-only.
add_taskAdd a task. Either pass text as one sentence the way a person types it ('essay fri 5pm #school every week remind 1h before') or pass the fields. Only the title is required. Never invent a length. Returns the task as saved, so check what was understood.
update_taskChange fields of a task. Pass null to clear a field. Changing the date of a repeating task moves only that occurrence; later ones keep their usual days. To change the days, change repeat.
complete_taskTick a task off. A repeating task moves to its next date. Send the date you read it on (null for a task with no date): if it has moved since, as after a retried call, the tick is refused instead of ticking the next occurrence too. The reply's completionId and date undo it with undo_complete.
undo_completeTake back a tick from complete_task: the task returns to the date it was on and the tick stops counting. Send the completionId and date from complete_task's reply.
reopen_taskMark a finished task as not done. A repeating task isn't finished by a tick (it moves to its next date); use undo_complete for that.
delete_taskDelete a task, with all its repeats. restore_task brings it back within 30 days. Check with the person first.
restore_taskBring back a task deleted in the last 30 days, as it was.
move_tasksMove tasks to a date, optionally at a time. Pass date null to unschedule.
close_dayMove everything still open today to tomorrow, keeping times. Events, done tasks and proposals stay.
add_spaceAdd a space, optionally inside another one. Colour defaults to the parent's.
update_spaceRename a space, change its colour or parent, or replace its Markdown note.
add_habitAdd a habit with a weekly target (1 to 7 times a week), optionally feeding a goal (goalId). To do it as part of a routine, add it here, then put its id on the routine's part.
check_habitMark a habit done or not done on a day (today by default).
add_goalAdd a goal: a number to reach (kind 'number', e.g. 100 km) or a count of linked tasks to finish (kind 'tasks'). why is an optional line on why it matters, shown under the title.
update_goalUpdate a goal's progress (current), title, reason (why, null clears it), target, unit or due date.
propose_planPropose new time blocks. They appear in the app as proposals the person accepts or discards, so use this for plans rather than add_task. Each block is a new task with a date, a time and a length.
get_asksRead what the person typed in Kriyan's Ask tab that Kriyan couldn't do on its own and is waiting for an agent, oldest first. Kriyan has no AI of its own: you are the one who answers. Do what each asks with the other tools, then call answer_ask. Read-only.
answer_askReply to one request from get_asks. The reply shows in the Ask tab under the request, with Undo on every change you made since it was asked, so say briefly what you did ('Moved the lab report to 14:00 and added 2 reading blocks') or answer the question. Plain sentences, no Markdown headings.
search_tasksFind tasks without reading whole views: by words in the title or note, space (with the spaces inside it), planned date range, deadline range, status, kind, the agent that added them or externalId. Open tasks by default. Returns compact rows with ids, newest first; pass the cursor back for the next page. Dates match a task's planned date (a repeat's next one); get_range lists every occurrence. Read-only.
get_rangeRead any run of days up to 62 (a month or two): each day's blocks, anytime tasks, deadlines and planned hours against capacity, with repeats on every day they fall. Like get_week, without the inbox. Read-only.
add_tasksAdd up to 100 tasks in one call, each like add_task (text or fields). Use this instead of many add_task calls. Each result says what was saved or why that one was refused; the rest still go in. For a sync you'll run again, use upsert_tasks.
update_tasksChange up to 100 tasks in one call, each patch like update_task (null clears a field). Each result says what was saved or why that one was refused.
upsert_tasksCreate or update up to 100 tasks by externalId, for a sync you run again and again (coursework from Moodle every morning): a new externalId adds the task, a known one changes only the fields that differ, and the same input again changes nothing. Fields you leave out stay as they are; null clears one. Reports created, updated, unchanged and skipped (deleted by the person, so not brought back). A done task stays done.
complete_tasksTick off up to 100 tasks, each like complete_task: send the date you read it on so a retry can't tick a repeat's next occurrence. Each result has the completionId and date undo_complete takes.
delete_tasksDelete up to 100 tasks, each with all its repeats. restore_tasks brings them back within 30 days. Check with the person first.
restore_tasksBring back up to 100 tasks deleted in the last 30 days, as they were.
skip_occurrenceSkip one date of a repeating task (a class that's cancelled this week) without ticking it off: it moves to its next date by its rule. Send the date you read it on. Skipping the last one of an ended repeat deletes it.
list_changesList what agents changed in the last days (7 by default, at most 31), grouped into runs the way the app shows them ('Chitti school added 31'), newest first, each change with its id and whether it can be undone. Read-only.
undo_changesUndo a whole run (runId from list_changes) or chosen changes (actionIds), the same as Undo in the app: an add is deleted, a change or move put back, a tick taken back, a delete restored. Changes to spaces, habits, goals and settings can't be undone here.
delete_spaceArchive a space, as the app's Archive space does: it leaves every list. Its tasks stay as they are (open, dated, with reminders) and show with no space; spaces inside it move to the top level. It can't be brought back through the API, so check with the person first.
update_habitRename a habit, change its weekly target (1 to 7), its space or the goal it feeds (goalId; null for none).
delete_habitArchive a habit: it leaves Today's check-ins and Progress. Its history stays.
delete_goalArchive a goal: it leaves Goals and the task editor. Tasks linked to it stay.
get_settingsRead the person's time zone, day start (Wake up) and end (Wind down), daily capacity, default reminders, review time, semester dates, whether agents edit directly, and how Today looks: todayLayout, earlierWindow, showSpace, hideDone, nowBadge. Read-only.
update_settingsChange the day's start (Wake up) and end (Wind down), the daily capacity (minutes of planned work), default reminders for new timed tasks, the review time, the semester dates (null clears one) or how Today looks. The time zone follows the person's device, and whether agents edit directly is theirs to choose in Settings.
list_routinesList the person's routines with every part (each with its index, length, habit and weekdays). get_today shows the day's routines with only that day's parts, what's ticked and the streak. Read-only.
add_routineAdd a routine: one block of small parts done in a row at a time of day, like a morning routine at 07:00. Morning routines sit right after Wake up on Today, night routines right before Wind down.
update_routineRename a routine, move its time, change its space (null for none) or replace its parts.
delete_routineArchive a routine: it leaves Today. Its habits stay and show on their own again; their history stays.
tick_routineTick one part of a routine on a day (today by default), or every part that runs that day when index is left out. done false takes ticks back. A part that's a habit checks or unchecks the habit too.
log_goalLog where a number goal stands now ($1,240 saved, 1.4 kg lost): value is the new total, not a change. It becomes the goal's current value and an entry on its trend line, one per day (a second log that day replaces the first). Pass an earlier date to fill in history. A tasks goal counts its linked tasks instead.

Things to ask

If it doesn't connect