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.
https://kriyan.app/mcpIt 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
claude mcp add --transport http --scope user kriyan https://kriyan.app/mcpThen 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.
{
"mcpServers": {
"kriyan": {
"url": "https://kriyan.app/mcp"
}
}
}VS Code
Add this to .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.
{
"mcpServers": {
"kriyan": {
"url": "https://kriyan.app/mcp",
"headers": {
"Authorization": "Bearer kriyan_..."
}
}
}
}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
- Agents read first. The server tells them to call
get_todayorget_weekbefore suggesting anything about your time. - Plans arrive as proposals.
propose_planputs blocks on Today and Upcoming, names the agent, and waits for you to accept or discard them on Upcoming, unless you turn on “Let agents edit directly” in Settings. Other changes, likeupdate_task,move_tasksanddelete_task, apply right away. - Agents never guess how long something takes. A length is only set when you said one.
- Agents find tasks with
search_tasks(by words, space, dates, status or the agent that added them) instead of reading whole weeks, and read up to 62 days at once withget_range. - Agents work in batches.
add_tasks,update_tasks,complete_tasks,delete_tasksandrestore_taskstake up to 100 tasks in one call, and say for each one what was saved or why it was refused. - An agent that syncs from somewhere else, like coursework from Moodle, gives each task the source's id and calls
upsert_taskseach time. A new item is added, a changed one updated, and the same sync again changes nothing, so you never get duplicates. A task you deleted stays deleted. - A due time has its own field. “Workshop 8 coding, due Fri 30 Oct at 23:55” is saved as a deadline and a due time, never in the title, and shows as “Due Fri 30 Oct, 23:55”.
- Kriyan has no AI of its own. In Ask, the app does a few things by itself, like adding a task or finding free time; anything else waits for your agent.
get_askslists what is waiting, andanswer_askreplies under the request once the agent has done it. - Every change an agent makes is listed in the app with the agent's name, and each one has Undo. An agent can see its own runs with
list_changesand take one back withundo_changes. - Agents can build your routines.
add_routinemakes one block of small parts, like a morning routine at 07:00; a part can be a habit, andtick_routineticks a part and checks the habit with it, so it still counts toward the habit's week and its goal. - Agents log goals and link what feeds them.
log_goalrecords where a goal stands, like “$1,240 saved”, for its trend line; a habit or task feeds a goal through itsgoalId. A study session takes the exam it prepares for inprepFor, and shows how many days are left. - Captured tasks use the same words as quick add, so an agent can pass your sentence as it is. See Quick add.
Tools
One tool for each operation of the agent API. Read tools are marked read-only, so clients can run them without asking.
| Tool | What it does |
|---|---|
get_today | Read 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_week | Read 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_inbox | Read 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_space | Read one space: its next and later tasks, child spaces, goals, note and stats. Read-only. |
get_task | Read one task by id, with its note, repeat and reminders. Read-only. |
list_spaces | List every space as a tree, with ids, colours and paths like 'Work / Kriyan'. Read-only. |
get_progress | Read time done this week and this year, time by space, goals against pace and habits. Read-only. |
add_task | Add 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_task | Change 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_task | Tick 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_complete | Take 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_task | Mark 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_task | Delete a task, with all its repeats. restore_task brings it back within 30 days. Check with the person first. |
restore_task | Bring back a task deleted in the last 30 days, as it was. |
move_tasks | Move tasks to a date, optionally at a time. Pass date null to unschedule. |
close_day | Move everything still open today to tomorrow, keeping times. Events, done tasks and proposals stay. |
add_space | Add a space, optionally inside another one. Colour defaults to the parent's. |
update_space | Rename a space, change its colour or parent, or replace its Markdown note. |
add_habit | Add 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_habit | Mark a habit done or not done on a day (today by default). |
add_goal | Add 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_goal | Update a goal's progress (current), title, reason (why, null clears it), target, unit or due date. |
propose_plan | Propose 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_asks | Read 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_ask | Reply 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_tasks | Find 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_range | Read 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_tasks | Add 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_tasks | Change 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_tasks | Create 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_tasks | Tick 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_tasks | Delete up to 100 tasks, each with all its repeats. restore_tasks brings them back within 30 days. Check with the person first. |
restore_tasks | Bring back up to 100 tasks deleted in the last 30 days, as they were. |
skip_occurrence | Skip 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_changes | List 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_changes | Undo 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_space | Archive 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_habit | Rename a habit, change its weekly target (1 to 7), its space or the goal it feeds (goalId; null for none). |
delete_habit | Archive a habit: it leaves Today's check-ins and Progress. Its history stays. |
delete_goal | Archive a goal: it leaves Goals and the task editor. Tasks linked to it stay. |
get_settings | Read 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_settings | Change 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_routines | List 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_routine | Add 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_routine | Rename a routine, move its time, change its space (null for none) or replace its parts. |
delete_routine | Archive a routine: it leaves Today. Its habits stay and show on their own again; their history stays. |
tick_routine | Tick 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_goal | Log 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
- “What's on my plate today, and what's next?”
- “Does my week fit? Move what doesn't to next week.”
- “Plan time for the essay before Friday around my classes.”
- “Add: Mum's birthday 16 oct every year, remind day before at 20:00.”
- “Sync my Moodle assignments into the School space, with their due times.”
- “What did you change this morning? Undo it.”
- “Make me a morning routine at 7: brush teeth, meditate 10 min, gym on weekdays.”
- “I've saved $1,240 now. Log it.”
If it doesn't connect
- 401 from the server: the sign-in expired or the token was revoked. Connect again, or create a new token in Settings.
- The client can't find sign-in: it reads
/.well-known/oauth-protected-resource/mcpto find Kriyan's sign-in server. Use a token if your client doesn't support MCP sign-in yet. - Opening the address in a browser brings you to this page. MCP clients connect with POST.