amazing-marvin-complete-mcp
amazing-marvin-complete-mcp
Amazing Marvin용 MCP(Model Context Protocol) 서버로, 공개 API를 완전히 지원합니다: 약 31개의 문서화된 엔드포인트 전반에 걸친 34개 도구, Marvin의 문서화된 한도를 준수하는 전역 속도 제한기, 최소 권한 토큰 라우팅, MCP 도구 어노테이션을 제공합니다. 도구 설명에 있는 모든 비자명한 동작 주장은 실제 API에 대해 검증되었으며, 그 결과는 아래 Marvin API 특이사항 및 발견 사항에 문서화되어 있습니다. 이 서버를 실행하지 않더라도 유용할 수 있습니다.
있는 그대로 제공됩니다. 이 프로젝트는 적극적으로 유지 관리되지 않으며 지원이 제공되지 않습니다. 이슈는 의도적으로 비활성화되어 있습니다. 자유롭게 포크하세요 — MIT 라이선스입니다.
도구 (34개)
그룹 | 도구 |
핵심 |
|
읽기 |
|
구조 |
|
습관 |
|
시간 블록 |
|
시간 추적 |
|
Kudos/보상 |
|
기타 |
|
의도적으로 포함하지 않은 것: 스마트 목록 / 작업 선택 로직. Marvin 자체의 Spotlight가 선택을 수행합니다. 서버는 어시스턴트에게 손을 제공할 뿐, 의견을 제공하지 않습니다.
모든 도구는 MCP 도구 어노테이션(readOnlyHint, destructiveHint, idempotentHint, openWorldHint)을携带하므로, 유능한 클라이언트는 delete_task와 reset_reward_points를 마땅히 받아야 할 존중으로 대우할 수 있습니다.
Related MCP server: Super-Productivity-MCP
Marvin 토큰 얻기
두 토큰 모두 Amazing Marvin의 설정 → API에 있습니다 (app.amazingmarvin.com/pre?api):
API 토큰 (
MARVIN_API_TOKEN, 필수) — 제한된 접근 권한; 작업 읽기 및 생성에 충분합니다.전체 접근 토큰 (
MARVIN_FULL_ACCESS_TOKEN, 선택 사항이지만 권장됨) — 모든/doc*기반 도구에 필요합니다:update_task,set_priority,unmark_done,delete_task, 카테고리 생성, 시간 블록,list_habits, 알림,reset_reward_points.
비밀번호처럼 취급하세요. SECURITY.md를 참조하세요.
설치 및 실행
Python 3.12+가 필요합니다.
git clone <this repo> && cd amazing-marvin-complete-mcp
python -m venv .venv && .venv/bin/pip install .로컬 (stdio) — Claude Desktop, Claude Code, 모든 MCP 클라이언트
기본 전송 방식은 stdio이므로 클라이언트가 서버를 직접 시작합니다:
{
"mcpServers": {
"amazing-marvin": {
"command": "/path/to/.venv/bin/marvin-mcp",
"env": {
"MARVIN_API_TOKEN": "…",
"MARVIN_FULL_ACCESS_TOKEN": "…",
"MARVIN_TIMEZONE": "Europe/Stockholm"
}
}
}
}(Claude Code의 경우: claude mcp add amazing-marvin -e MARVIN_API_TOKEN=… -- /path/to/.venv/bin/marvin-mcp.)
원격 (Streamable HTTP)
MCP_TRANSPORT=http PORT=8787 MCP_AUTH_TOKEN_FILE=/path/to/token \
MARVIN_API_TOKEN_FILE=/path/to/api-token .venv/bin/marvin-mcpMCP 엔드포인트는 /mcp입니다. 내장된 베어러 검사(MCP_AUTH_TOKEN)는 모든 경로를 보호하지만 완전한 인증 솔루션이 아니라 내부 장벽입니다: TLS가 있는 리버스 프록시를 앞에 두고, Claude 사용자 지정 커넥터의 경우 OAuth 2.1을 지원하는 MCP 인증 프록시를 사용하세요. HTTP 모드용 Dockerfile이 포함되어 있습니다(비루트 사용자로 실행되며, 재시작 시 일일 속도 제한 카운터를 유지하려면 /data에 볼륨을 마운트하세요).
구성
모든 설정은 환경 변수를 통해 이루어집니다 — 전체 주석 목록은 .env.example을 참조하세요. 주요 사항: 모든 비밀 값은 *_FILE 변형을 지원합니다(권장됨). MARVIN_TIMEZONE은 Marvin 계정이 있는 시간대와 일치해야 합니다(기본값은 시스템 시간대이며, 대부분의 컨테이너에서는 UTC입니다).
속도 제한
Marvin의 문서화된 한도 — 초당 1회 쓰기, 3초당 1회 읽기, 하루 1440회 호출 — 은 모든 도구와 세션이 공유하는 단일 프로세스 전역 큐에 의해 여유를 두고(1.1초 / 3.1초) 적용됩니다. 일일 카운터는 재시작 후에도 유지되며(STATE_DIR) 구성된 시간대의 자정에 초기화됩니다. get_rate_limit_status는 오늘의 사용량을 표시합니다.
Marvin API 특이사항 및 발견 사항
아래의 모든 내용은 2026-08-19에 실제 API에 대해 검증되었습니다. 이 저장소의 절반은 실행하지 않고도 사용할 수 있는 부분입니다.
습관
비원시
GET /habits는 습관 문서를 읽지 않습니다. 첫 기록 시 지연 생성되는 서버 측 추적 레지스트리를 읽습니다 — 한 번도 기록되지 않은 습관은 응답에 완전히 누락되며, 항목에는 제목이 없습니다(habitId+ 기록만 있음). 실제 습관 문서를 나열하려면?raw=1(전체 접근 토큰)을 사용하세요.GET /habit?id=…는 추적 레코드를 반환합니다 — 기록은 있지만 제목은 없습니다.POST /updateHabit는 부동 소수점으로 직렬화된 정수를 거부합니다:"value": 1.0→ 400 Bad request,"value": 1→ 200. 정수는 정수로 보내세요.
작업 및 프로젝트
POST /markDone은 작업에만 작동합니다 — 프로젝트는400 "Can only mark Tasks done with this API"를 받습니다./addTask는 Marvin의 빠른 추가 단축키 구문을 서버 측에서 구문 분석합니다:~15는 15분timeEstimate가 되고+YYYY-MM-DD는day(일정 — 마감일이 아님)를 설정합니다. 둘 다 제목에서 제거됩니다. 그러나 API를 통해#Category를 절대 사용하지 마세요: 서버는 문자열을 리터럴로parentId에 저장합니다(첫 하이픈까지 탐욕적으로, 예:#MCP-TEST→parentId: "#MCP"및 손상된 제목) 어떤 ID도 확인하지 않습니다. 그러면 작업은 모든 카테고리 밖에 그리고 받은 편지함 밖에 존재하게 되어 사실상 보이지 않게 됩니다. (처음 보고: lucasoeth/marvin-mcp; 여기서 독립적으로 재현됨.)반복 작업의 생성된 인스턴스는 결정적 ID(
YYYY-MM-DD_<recurringTaskId>)를 가지므로, API를 통해 완료/미완료로 표시해도 중복이 생성될 수 없습니다. 인스턴스는 Marvin 클라이언트에 의해 생성되므로, 오늘의 반복 작업은 앱이 실행될 때까지/todayItems에서 누락될 수 있습니다./doc/update는 드물게 일시적인 500을 반환할 수 있습니다. 쓰기는 원자적입니다(부분 상태 없음) — 그냥 재시도하세요. 프로젝트 이름 변경, 이동, 레이블 변경 등은 모두 이를 통해 작동합니다./doc/create는 서버 생성_id를 다시 에코하지 않습니다 — 이후에 문서를 참조해야 하는 경우 직접 제공하세요./doc/delete를 통한 삭제는 영구적입니다. Marvin의 휴지통은 클라이언트 측입니다.
보상 포인트 및 Kudos
Kudos(XP/레벨,
/kudos로 읽음)와 보상 포인트(청구/청구 취소/사용/초기화)는 두 개의 별도 시스템입니다./kudos에는nextMultiplier가 없습니다(MarvinAPI 이슈 #5) —/me에 있습니다./markDone은 작업의 보상 포인트를 지급하지 않습니다 (kudos에 대해서는 이슈 #6 참조) —claimRewardPoints는 별도의 호출입니다.MANUAL청구(itemId: "MANUAL")는 취소할 수 없습니다: 서버에 해당 항목이 저장되지 않으므로/unclaimRewardPoints는404 "No such entry"를 반환합니다(points필드 유무와 관계없이), 음수 포인트 청구는 400으로 거부됩니다. Marvin 웹 앱은MANUAL을 절대 사용하지 않습니다 — API 전용 기능입니다. 유일한 보상 방법은 같은 금액을 사용하는 것인데, 이는 사용 통계를 부풀립니다./spendRewardPoints는 잔액이 음수가 되면 500을 반환합니다.
알림
Marvin의 작업 알림은 앱만 동기화 상태를 유지하는 두 번의 쓰기입니다: 작업 문서의 알림 필드(
taskTime,reminderTime,reminderOffset,snooze,autoSnooze) 및/reminder/set을 통한 서버 측 항목. 한쪽만 쓰면(API가 편안하게 허용하는 전부) 앱 UI가 작업에 표시하지 않는 항목 또는 서버 측 고아 항목이 생성됩니다. 독립형 알림(유형M)이 API의 안전한 사용법입니다. (위험은 Recon2026/marvin-mcp에서 처음 문서화됨; 공식 위키의 자체 경고로 확인됨.)
시간 및 계획
/todayTimeBlocks는 블록↔카테고리 링크를 생략합니다(이슈 #65); 이 서버는strategySettings.plannerSmartLists프로필 문서에서 매핑을 복구합니다.API를 통한 시간 추적 중지는 작업 자체의
times/duration필드를 업데이트하지 않습니다./tracks가 진실의 원천입니다./addEvent를 통해 생성된 캘린더 이벤트는 Marvin 앱이 어딘가에서 실행되는 동안에만(클라이언트 측 캘린더 동기화) 계속 동기화됩니다.
기존 대안과의 차이점
훌륭한 Amazing Marvin MCP 서버가 여러 개 존재합니다. 이 서버는 그것들을 연구한 후 새로 구축되었으며(공유 코드 없음), 목표가 다릅니다 — 선별된 하위 집합이 아닌 공개 API의 완전한 지원:
bgheneti/Amazing-Marvin-MCP — 기존의 Python 서버; 광범위하지만 완전하지 않은 지원, 전역 속도 제한 없음.
Recon2026/marvin-mcp — 더 작은 범위(19개 도구), 비정상적으로 신중한 연구; 두 번 쓰기 위험에 대해 알림을 읽기 전용으로 선택했습니다. 이 서버는 대신 명시적 경고와 함께 알림 쓰기를 제공합니다.
lucasoeth/marvin-mcp — 다른 철학: API 미러가 아닌 소수의 통합 워크플로 도구(brief/capture/…)와 검색 및 완료된 작업을 위한 직접 CouchDB 읽기(공개 API로는 전혀 불가능). 의견 기반 워크플로나 검색을 원하면 그들의 것을 사용하세요. 문서화된 날카로운 모서리와 함께 원시적이고 완전한 API 접근을 원하면 이 서버를 사용하세요.
LucaDeLeo/amazing-marvin-mcp — 제한된 API 하위 집합.
크레딧 및 출처
이들 중 어떤 것에서도 코드를 복사하지 않았습니다 — 빌드는 새롭습니다 — 그러나 이들이 실질적으로 형태를 만들었습니다:
amazingmarvin/MarvinAPI (+ wiki) — 이 서버가 기반으로 하는 공식 API 문서, OpenAPI 사양, 데이터 유형 및 이슈 트래커.
bgheneti/Amazing-Marvin-MCP — 아키텍처 영감, 초기 격차 분석 중 엔드포인트 참조, MIT 라이선스 선례.
Recon2026/marvin-mcp — 알림 두 번 쓰기 무결성 위험과 반복 작업 인스턴스에 대한 기초 작업, 둘 다 여기서 검증 및 문서화됨.
lucasoeth/marvin-mcp —
#Category단축키 버그(여기서 재현됨)와 Marvin의 동기화 데이터베이스가 읽기에 사용 가능한 실제 CouchDB라는 통찰력.LucaDeLeo/amazing-marvin-mcp —
/addTask가 서버 측에서 단축키 구문을 구문 분석한다는 지적(부분적으로 확인, 부분적으로 반박 —#Category발견 사항 참조) 및 MCP 도구 어노테이션 아이디어.
Claude Code(Claude Fable 5)로 구축됨.
라이선스
MIT.
Available Tools
50 toolsclaim_reward_pointsA
Award reward points manually (MANUAL) or tied to a task. mark_done already awards the task's rewardPoints (live-tested 2026-12-01). Marvin keeps one award per task: a claim for the same task after mark_done does nothing (200, balance unchanged; verified twice). Whether a claim before mark_done makes it skip the field is untested. An item_id that does not exist is accepted without an error (verified 2026-12-01). The app's rules (default points, frog bonus) do not apply through the API. WARNING: a MANUAL award CANNOT be undone through the API (verified live 2026-08-19: unclaim returns 404, negative points are rejected with 400). The only compensation is spend_reward_points for the same amount (which however inflates the spent statistics) — award MANUAL points thoughtfully.
Inputs: points (required), item_id (required), date. Returns: object
convert_category_or_projectAIdempotent
Convert a project to a category or back, in place and losslessly. EXPERIMENTAL: Convert project→category or category→project IN PLACE via /doc/update (Full Access Token; there is no official conversion endpoint, and this relies on undocumented server behavior that Marvin could change). Same _id, createdAt and children remain — conversion is a pure type change (verified against the live API 2026-08-29: the server accepts and persists the change in both directions, and the app renders correctly after an API-set change). LOSSLESS BY DEFAULT (since 1.5.0): only type is changed — the same semantics as the app's correct conversion path (the right-click/hover menu, verified as a lossless round trip 2026-08-30: all project fields incl. firstScheduled preserved through project→category→project). Project fields remaining on the category are then intentional round-trip data; the type guard in update_category_or_project only prevents NEW project fields from being written to it. If you want a clean category for a permanent conversion: set clear_project_fields=True (mimics the app's Edit Settings path — a bug in their tracker; also clears firstScheduled, which that path otherwise leaves behind) and receive the values in removed_project_fields. Note: the app's correct path (right-click/hover) is not in the menu by default — it is added via the gear icon directly in the right-click menu → Add action (app-verified 2026-08-31), so unmodified apps only show the buggy path. Do NOT convert a category that contains subcategories into a project — projects cannot contain categories (risk of orphans/cycles; check get_children first).
Inputs: to (required), item_id (required), clear_project_fields. Returns: object
create_category_or_projectA
Create a category or project with color, icon, labels and note. Create a category (via /doc/create, Full Access Token) or a project (via /addProject). Categories can contain categories; projects cannot. day/due_date/priority/frog are rejected for kind='category' for a structural reason, not a technical one: a category can never be completed or checked off, and deadline, scheduling, priority and frog belong to things that can be finished — projects and tasks. The API accepts the fields on categories (live-tested 2026-09-11) but they are not meaningful there (rule 2026-09-11). label_ids applies to both categories and projects. startDate/endDate cannot be set at creation (/addProject ignores them, verified live 2026-08-29) — use update_category_or_project afterwards.
Note: project titles must not contain '#word' — /addProject has the same corruption bug as /addTask (the string is stored unresolved as parentId and the project becomes invisible) but ignores the X-Auto-Complete header (verified against the live API 2026-08-20), so the client blocks it locally before any API call. Category titles are unaffected (/doc/create parses nothing).
Inputs: kind (required), title (required), day, frog, +11 more. Returns: object
create_eventA
Create a calendar event (experimental), synced by the app. EXPERIMENTAL: Create a calendar event. Calendar sync happens in the client — the Marvin app must be running on some device for the event to sync onwards to an external calendar.
Inputs: title (required), start_iso (required), length_minutes (required), note. Returns: object
create_notebookA
Create a standalone notebook, optionally with sections. A notebook for a project or category is not created here: it comes into being when a page is moved there (update_notebook_page move_to_parent_id) or when a second page is added in the app. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Inputs: title (required), sections. Returns: object
create_notebook_pageA
Create a page at the end of a notebook, optionally in a section. Own pg_ id, rank after the existing pages. '- ' at the start of a line is written as '* ' (code protection against the app deleting lists). Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Inputs: title (required), notebook_id (required), text, section_id. Returns: object
create_recurring_taskA
Create a recurring task of any of the repeat dialog's eleven types. Written via /doc/create in the app's own shape, so every type shows correctly in the app's repeat dialog. Occurrences are created the first time a Marvin client opens after midnight, in the window today to today + Create occurrences — not immediately. Without create_occurrences the account's default applies. After completion: the tool writes the first occurrence on the start day, also when the start day is in the future. Custom accepts only an RRULE string (e.g. 'RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=FR'). New occurrences inherit label, priority, size, note, subtasks, sections and hard deadline (verified against the live API). Only on weekdays: a month day on a weekend is moved to Friday (documented for monthly, verified); every_x_days then counts in weekdays (inferred from a series; the documentation does not mention the type).
Inputs: title (required), repeat (required), note, size, +20 more. Returns: object
create_taskA
Create a task with category, day, priority, size, time and reminders. The title is stored verbatim: the server's shortcut parsing is disabled (X-Auto-Complete: false), so '#Category', '~15', '*m' and '*p2' are NOT parsed — '#' in titles is safe. Use the parameters instead. startDate/endDate are set with update_task afterwards (/addTask ignores them). Size, subtasks, clock time and reminders are written in a second step with /doc/update and /reminder/set in the app's form; if a step fails the response says which ones were done (the task then already exists). A clock time requires day. Strategy-dependent fields (planned_week/month, review_date, backburner, reward_points, the sections) are stored even when the strategy is off in the app.
Inputs: title (required), day, frog, note, +19 more. Returns: object
create_time_blockA
Create a time block (experimental) and get its id back. EXPERIMENTAL: Create a time block via /doc/create (db='PlannerItems', Full Access Token). No official endpoint exists. Verify in the app that the block looks right.
The response carries time_block_id (the id is set client-side because
/doc/create does not echo the server-generated id) and can be used
directly as time_block_section in create_task/update_task — no extra
get_today_time_blocks call needed. Client-set id live-tested 2026-09-13:
accepted, listed in /todayTimeBlocks with the same id, and the block
renders in the app like one created there (verified in the app
2026-09-13, app 1.70.0.0, PWA + desktop).
Inputs: date (required), title (required), start_time (required), duration_minutes (required). Returns: object
delete_notebookADestructiveIdempotent
Delete a notebook and its pages permanently, in two steps if text. No trash via the API. The pages are deleted first and then the notebook, as the app does. Two steps: a notebook with a parent and more than one page, and a standalone notebook where any page has text, are only deleted with confirm=true — the first call shows the pages (title, size, first line). Notebook with a parent: page 1's text is written back as the project's/category's note after the deletion; the text is always included in the response, so it is not lost if a step fails. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Inputs: notebook_id (required), confirm. Returns: object
delete_notebook_pageADestructiveIdempotent
Delete a notebook page permanently, with confirmation if it has text. No trash via the API. A page with text is only deleted with confirm=true; the first call shows title, size and first line. The last page of a notebook with a parent is not deleted here — use delete_notebook. If the parent's first page is deleted, the note then points to whichever page is first. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Inputs: page_id (required), confirm. Returns: object
delete_reminderADestructiveIdempotent
Delete reminders, also from the task's list when task_id is given. With task_id the entries are removed from the task's reminders list and from the server (both are needed; an entry left in the list makes an open client notify). Without task_id only the server entries are removed — use it for standalone reminders or orphaned entries from get_reminders. The clock time's reminder (type T) is removed with update_task(time='').
Inputs: reminder_ids (required), task_id. Returns: object
delete_taskADestructiveIdempotent
Delete a task permanently, with no trash and no undo. Deletion via the API bypasses the app's trash and cannot be undone — use only when the user explicitly wants a deletion. If the task has reminders they are cleared and the server entries removed before the deletion, so that no notification arrives. An occurrence of a recurring task follows the app's two choices: 'this' adds the occurrence's day to the recurring task's deletedDates and deletes the occurrence; 'all' deletes all open occurrences and then the recurring task, completed occurrences are kept. If the recurring task is already deleted, only the occurrence is deleted. If a step fails the response says which were done. The app's view: the web app (2026-12-01) and the desktop app (2026-12-02) removed the row within seconds without a reload, and it did not come back (verified). Older clients could keep showing the row; then reload before touching it. Occurrence of a recurring task with a reminder (reminderTimes): the occurrence's rt_ server reminders are removed too. A 404 on deletion counts as already deleted (already_absent) and the chain goes on. A recurring task (db RecurringTasks) is deleted with scope 'all', on an occurrence or on the recurring task's own id — also before it has any occurrences (they are created only when a client opens after the day rolls over). Habit recurrences are not deleted here. Projects and categories: deleted only without open children — the tool reads /children first (one more call) and otherwise refuses, with the list, so that no children are left with a parent that does not exist. Completed children do not show in /children and are left behind with the parent gone. The project's notebook is not deleted (as in the app); the response gives its id for delete_notebook.
Inputs: item_id (required), scope. Returns: object
get_account_infoARead-only
Get account info (/me): email, tracking status and points balance.
Inputs: no named parameters. Returns: object
get_categoriesARead-only
Get all categories and projects as a hierarchy with id and parentId. Get all categories and projects (the whole hierarchy; parentId='root' is the top level). Use to find the right parent_id when creating/moving.
Inputs: no named parameters. Returns: object
get_childrenARead-only
Get open tasks and subprojects in a category or project. Returns direct children only — call again for deeper levels. Note: orphans (tasks whose parentId points to a deleted/non-existent document) do NOT show up under 'unassigned' — only in get_today_items/get_due_items if they have a day/dueDate (live-tested 2026-08-29). Orphans are repaired by running FIX_CYCLES() in the app's console (a documented troubleshooting path).
Inputs: parent_id (required). Returns: object
get_done_itemsARead-only
Get tasks completed on a given date.
Tasks completed on a given date (doneAt within that day, configured
timezone) — regardless of priority and deadline. Built on the
endpoint GET /doneItems?date= (documented in the help center since
2026-10-04; live-tested 2026-08-30): the endpoint filters
on the task's day, not on doneAt; this tool filters on doneAt itself,
midnight to midnight. A past day is kept on completion
both in the app and via the API (the app sets day = today only on
unscheduled and future-dated tasks) — hence the date plus lookback_days
earlier are fetched and everything is filtered on doneAt.
The response always states its coverage: covers_from (= date − lookback)
and days_fetched. On a 429/error the fetch stops: incomplete=true,
days_missing lists the days not fetched and warning explains; the
date's own completions are always included because it is fetched
first. Complete results are cached for 30 minutes (cached=true) —
repeated calls then cost no API calls; mark_done inserts its task into
the cache, delete_task and unmark_done remove theirs. Completions or
deletions made in the app show up only once the cache expires. Not covered: a task with a FUTURE day completed via the API
(it sits under its day). Tasks only — completed projects are not
listed. Items without doneAt (older data) are excluded and counted in
skipped_without_done_at. Completion time, not day: the app's Logbook
follows day, so a task whose day was moved after completion (in the
app, or by mark_done before Day Starts At) shows in the Logbook under
its day but here under its completion time (verified 2026-12-02).
Without date: today with Day Starts At counted in; the doneAt window is
still the calendar day, midnight to midnight. Sorted by doneAt. Cost: one read call per day
(~3.1 s each in the queue).
Inputs: date, lookback_days. Returns: object
get_due_itemsARead-only
Get open tasks and projects with a deadline today or earlier. Filters Keep just one (carry) as the app does: only the oldest open occurrence per recurring task is shown. Only the current one (skip) is not filtered here. The mode is read only for recurring tasks with an open occurrence before today and cached until local midnight. Snoozed tasks (itemSnoozeTime after now) are left out by default: counted in snoozed_count and listed under snoozed (the server does not filter, the app hides them). The response gives hidden_count; include_hidden and include_snoozed include all.
Inputs: by, include_hidden, include_snoozed. Returns: object
get_goalsARead-only
Get all goals with status, check-ins and tracker progress. A goal's tracker is named by the key trackerProgress_ on the goal (true = the tracker counts toward progress, documented in the data types). With include_trackers each tracker is read with /doc?id= (Full Access Token, verified 2026-12-01) and the response shows its latest value = the last pair in the tracker's history. Cost: one call for the goals plus one per tracker, at most 10 (tracker_reads; the rest are listed in trackers_not_read). Tasks are linked to goals with g_in_ on the task; tasks created through the API get no such link (verified 2026-12-01), and progress from tasks is computed by the app when shown, not on the server.
Inputs: include_trackers. Returns: object
get_habitARead-only
Get a habit's server tracking record with its full history. Get the server's tracking record for a single habit (habitId + full history — the source of truth for recordings). Note: the response lacks title and settings; those are in list_habits.
Inputs: habit_id (required). Returns: object
get_kudosARead-only
Get kudos, level and kudosRemaining from Marvin's XP system. Note: kudos is separate from reward points (the reward currency) — the point balance is in get_account_info. nextMultiplier only exists in /me, not here (known limitation, MarvinAPI issue #5).
Inputs: no named parameters. Returns: object
get_labelsARead-only
Get all labels with ids, for label_ids and filtering.
Inputs: no named parameters. Returns: object
get_notebookARead-only
Read a notebook including the text of its pages, or a single page. Give exactly one of notebook_id, parent_id (project/category) and page_id. Pages come in rank order; the first page of a notebook with a parent is the one the parent shows as its note. If the text exceeds max_chars the rest is omitted and the response says which pages.
Inputs: page_id, max_chars, parent_id, notebook_id. Returns: object
get_notebooksARead-only
List all notebooks with page titles, order and sections, without text. Standalone notebooks have parent_id null; a notebook that belongs to a project or category has parent_id and parent_type. A page's updated_at changes when the page is edited in the app. For text: get_notebook. A notebook whose parent has been deleted gets parent_missing, one on a done project gets parent_done. Costs 2 calls (1 when no notebook has a parent) plus one per distinct parent missing from /categories (deleted or done projects).
Inputs: no named parameters. Returns: object
get_rate_limit_statusARead-only
Show today's Marvin calls against the budget and the last call time. Show how many Marvin API calls have been made today (budget 1440/day, shared by all tools) and when the latest one went out. The counter is shared by every client that goes through this server. If a call went out within the last minute, another client is active. This tool costs no Marvin call.
Inputs: no named parameters. Returns: object
get_remindersARead-only
Get all server-side reminders, push notifications to the phone. Requires the Full Access Token.
Inputs: no named parameters. Returns: object
get_time_tracksBRead-only
Get time-tracking history for up to 100 tasks. Get time-tracking history for the given tasks (the source of truth, max 100 per call).
Inputs: task_ids (required). Returns: object
get_today_itemsARead-only
Get open tasks and projects for a day (rollover: earlier days too). The selection depends on the account's rollover (strategies.rollover, verified 2026-12-01): on = open items with day <= the date, off = only day = the date. The response says which mode applies (rollover, selection). A time of day does not affect the selection. Deadline-only items: get_due_items. Today = the local calendar day, but before the account's Day Starts At (dayStartTime 00:00-06:00) the previous day; the response shows day_start. Filters as the app does: If you miss one = Keep just one (carry) shows only the oldest open occurrence, Only the current one (skip) only the date's own; Keep them all and the account default show all. The mode is read (/doc) only for recurring tasks with an open occurrence before today, cached until local midnight. Snoozed tasks (itemSnoozeTime after now) are returned by the server but hidden by the app (verified 2026-12-02): they are counted in snoozed_count and listed under snoozed. hidden_count and include_hidden are about hidden occurrences. Cost: one call, plus one read per hour of rollover and day start (cached). Occurrences exist once a Marvin client has generated them (normally after the day rolls over); read before that, today's occurrences are missing.
Inputs: date, include_hidden, include_snoozed. Returns: object
get_today_time_blocksARead-only
Get today's time blocks with their category or smart-list mapping. The API response lacks the category link (known limitation, MarvinAPI issue #65); the mapping is therefore fetched separately from the profile setting plannerSmartLists (key = normalized block title).
Inputs: date, include_category_mapping. Returns: object
get_tracked_itemARead-only
Show which task is being time-tracked right now.
Inputs: no named parameters. Returns: object
list_capabilitiesARead-only
List every Marvin tool by area, with what it can and cannot do. Costs no Marvin API call. Call it before assuming something is impossible via MCP or requires manual work in the app; field conditions and live-tested details live in each tool's own description.
Inputs: no named parameters. Returns: object
list_habitsARead-only
Get all habits with title, settings and history. Get all habits as full documents incl. title, settings and history ([time1, value1, time2, value2, ...], unix ms). Requires the Full Access Token (the raw variant of /habits). Important (verified live 2026-08-19): non-raw /habits would be wrong here — it reads the server's tracking registry, which is created lazily on the first recording, so never-recorded habits are missing entirely, and the responses lack titles.
Inputs: no named parameters. Returns: object
mark_doneAIdempotent
Mark a task as done and clean up its reminders as the app does. Reads the task, runs /markDone (configured timezone) and then does what the app does: the server entries T and M are removed and reminderTime is cleared; the reminders list remains. Projects: /markDone responds 400 (tasks only); projects are closed with mark_project_done. 404 = does not exist, 400 = already done or a project. Habit task (field habitId): the habit is also recorded with /updateHabit at 12:00 on the task's day, and habitRepAt is set. Habit with a count (recordType number): value is recorded with the current time; the task is checked off only once the day's total reaches the target — otherwise it stays open and the response shows the total. Recurring occurrence: safe (deterministic id). After completion: the next occurrence is created +N days later. With a future day the tool does what the app does: the occurrence is moved to today before it is checked off, and the next one is counted from today. If a step fails the response says which steps were done. Running time tracking is stopped and written to task.times. /markDone does not set workedOnAt and does not stamp fieldUpdates, which the app does. Reward points: /markDone awards the task's rewardPoints automatically, whatever the strategy settings (live-tested 2026-12-01). claim_reward_points for the same task afterwards does nothing: one award per task (verified twice). Without rewardPoints the completion awards 0: the app's rules (default points, frog bonus) are computed only in the app. Day Starts At: /markDone sets day to the calendar date. Before the account's day start (dayStartTime 00:00-06:00) a day the server set is moved to the user's day with one extra /doc/update (day_corrected); points and doneAt stay and the app's Logbook follows day.
Inputs: item_id (required), value. Returns: object
mark_project_doneAIdempotent
Close a project and its open tasks, in two steps. Step 1 (without confirm_code): reads the project and its open children, lists them with the warning that they too will be marked done, and returns a code. Nothing is written. Step 2 (confirm_code from step 1): reads the children again; if the code no longer matches, nothing is closed and the response gives the new list and code. Otherwise each open task is checked off like mark_done (/markDone and reminder cleanup) and the project is closed last with a /doc/update of the app's five fields: done, doneAt and workedOnAt (now), day (the project's day, or today if it has none) and doneDate (same as day) — as the app does. The deadline (dueDate) is not touched. The app itself refuses to close a project with open children; this tool closes them on purpose. The children are checked off with /markDone, which does not set workedOnAt and does not stamp fieldUpdates — the app sets workedOnAt on the children. Stops in step 1 without a code if an open child is a sub-project, a habit task or an occurrence of a recurring task — close those first (the app's behavior there is untested). Completed projects do not show in get_categories. Undo in the app; unmark_done refuses projects. If a step fails the response says which were done; the project then stays open. Cost: step 1 two calls; step 2 three, plus one per task and two more per task with reminders.
Inputs: project_id (required), confirm_code. Returns: object
record_habitA
Record or undo a habit check-in, synced to the app. Also updates the sync database (updateDB=true) so the Marvin app shows the change immediately.
Inputs: habit_id (required), undo, value. Returns: object
reset_reward_pointsADestructiveIdempotent
Reset reward points permanently, balance and history. Reset reward points PERMANENTLY: deletes the whole earn/spend history and sets the balance to 0 (Full Access Token). CANNOT be undone — only use when the user explicitly asks for it.
Inputs: no named parameters. Returns: object
search_notebooksARead-only
Search notebooks: notebook names, page titles and page text. The list is fetched with one call; page text is cached in memory and fetched only for notebooks with pages changed since the previous search (updated_at), at most 20 notebooks per call. Notebooks whose text has not been fetched yet are listed in not_searched — search again to continue. Hits in a notebook whose parent has been deleted get parent_missing, on a done project parent_done (as in get_notebooks).
Inputs: query (required). Returns: object
set_priorityAIdempotent
Set priority (P1-P3 or low) or the dread level on a task. Set or change priority (isStarred) and/or the frog/dread level (isFrogged 1-4, read in the app 2026-10) on an existing TASK. Requires the Full Access Token. The app's four priority levels are stored as isStarred 3/2/1/-1; Low priority is shown only with 'Enable low priority' on. Does not apply to projects: they use the string field priority ('high'/'mid'/'low'); set it via update_category_or_project. A permanent 500 = the task does not exist (deleted or wrong ID).
Inputs: item_id (required), frog, priority. Returns: object
set_reminderA
Set an own reminder on a task, or a standalone reminder. With task_id the reminder is written in the app's form: an entry in the task's reminders list (reminderId of 13 characters, time in seconds) and a server entry of type M with taskId — the app shows it under Reminders and the notification arrives, and mark_done/delete_task clean it up. A clock time on a task is set with update_task(time=...). Without task_id a standalone server entry of type M is written (requires Marvin's mobile app for the notification).
Inputs: time_unix_seconds (required), title, task_id. Returns: object
spend_reward_pointsA
Spend reward points on a reward. Only deducts points from the balance: the app's store (Rewards documents, where a purchase in the app writes earned[]) is not touched, so the purchase does not show there. If the balance is too low Marvin responds 400 "Not enough reward points" and nothing is deducted (verified 2026-12-01; it used to be 500); the response says so clearly. Check the balance (get_account_info) before large purchases.
Inputs: points (required), date. Returns: object
start_trackingBIdempotent
Start time tracking on a task.
Inputs: task_id (required). Returns: object
stop_trackingAIdempotent
Stop time tracking on a task; the time lands in get_time_tracks. Stop time tracking for a task. Note (documented API limitation, confirmed live 2026-09-02): the task's own times/duration fields are not updated by /track STOP — the tracking only lands in /tracks (get_time_tracks). Exception: mark_done during active tracking now writes task.times (see mark_done).
Inputs: task_id (required). Returns: object
test_connectionARead-only
Check that the API token works against Marvin's API. Returns OK if the apiToken works.
Inputs: no named parameters. Returns: object
unclaim_reward_pointsAIdempotent
Undo a reward-point award tied to a task. Undoes an award made with claim_reward_points (e.g. after a misclick). Not a follow-up to unmark_done: it already takes back the task's rewardPoints, and unclaim afterwards gets 404 "No such entry" (verified twice). Unclaim on a completed task takes the field's points and the task stays completed without points (verified 2026-12-01). Only works for awards tied to a real task ID: Marvin's server stores no entry for MANUAL awards (verified live 2026-08-19, /unclaimRewardPoints responds 404 'No such entry'). Compensate a MANUAL award with spend_reward_points for the same amount instead.
Inputs: item_id (required), date. Returns: object
unmark_doneAIdempotent
Undo a task's completion, and the habit's record. Projects and categories: refuses without writing — a closed project is reopened in the app. Sets done=false and clears doneAt via /doc/update (Full Access Token); the app's own undo leaves doneAt in place. A task that never had a day (firstScheduled 'unassigned' and no fieldUpdates.day stamp) got its day from /markDone: the day that mark_done set is removed (stored as 'unassigned'; the app's own undo writes null — both mean no day). Otherwise the day stays. As in the app: the clock time's reminder (T) is not restored — the time does not remind until it is set again — but own reminders in the reminders list still apply. Habit task: the habit's latest record is undone with /updateHabit undo and habitRepAt is cleared, but only if the history's last entry is the task's habitRepAt; otherwise the response says so and the habit is left untouched (undo always takes the latest entry). Open habit task (a partial record on a habit with a count): nothing is written — undo the record with record_habit undo=true, as the app's undo does. Kudos are not adjusted. The task's rewardPoints are taken back by the server (live-tested 2026-12-01); unclaim_reward_points afterwards gets 404 "No such entry" (verified twice). A permanent 500 = the document does not exist.
Inputs: item_id (required). Returns: object
update_category_or_projectAIdempotent
Update a category or project: labels, color, icon, note, project fields. Update fields on an existing CATEGORY or PROJECT via /doc/update (Full Access Token). For tasks, use update_task. Fields marked 'Projects ONLY' (day/due_date/priority/frog/size) are blocked for categories: if any of them is given, the tool first reads the document (1 extra API call) and refuses if it is a category. The reason is structural, not technical: a category can never be completed or checked off, and deadline, scheduling, priority and frog belong to things that can be finished — projects and tasks. The API accepts the fields on categories (live-tested 2026-09-11) but they are not meaningful there (rule 2026-09-11). label_ids applies to both categories and projects. Strategy-dependent fields (start/end date, planned_week/month, review_date, orbit) can be set even when the strategy is disabled in the app. Do not complete projects here (done via /doc/update skips the app's side effects) — that is done in the Marvin app. Note: Marvin's server can sporadically respond 500 on /doc/update (transient and atomic); just retry. But a PERMANENT 500 (persists across retries) means the document does not exist — deleted, or a wrong/never-existing ID (the server responds 500 instead of 404 for missing IDs, verified live 2026-08-29). Fetch a fresh ID via get_categories/get_children.
Inputs: item_id (required), day, frog, icon, +18 more. Returns: object
update_notebookAIdempotent
Rename a standalone notebook or change its sections. Renaming is refused on a notebook that belongs to a project or category (the app would otherwise show the notebook's name instead of the project's). The section list is read just before the write and is rewritten in full. On removal, sectionId is first set to null on the pages in that section, so that no page points to a missing section. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Inputs: notebook_id (required), title, sections_add, sections_delete, +1 more. Returns: object
update_notebook_pageAIdempotent
Change a page's text, title, order or section, or move it. text replaces, append adds at the end; '- ' at the start of a line is written as '* '. New text shows up immediately in an open client. Move: the section does not follow (sectionId null). The first page of a notebook with a parent is not moved out — it is the parent's note. Moving to a project or category without a notebook creates one in the app's shape. The response says when an order change switches which page the parent's note points to. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Inputs: page_id (required), rank, text, title, +4 more. Returns: object
update_recurring_taskAIdempotent
Change a recurring task: rule, window, place, end date, properties. Existing occurrences are not corrected when the rule changes via the API, and a later save in the app does not correct them either; they keep their old shape. When the rule is changed in the app's dialog, the app itself removes those that no longer match. When type, interval or Create occurrences change, the tool then works out which open, untouched occurrences from today on do not match the new rule or window. Mode 'list' (default): they are listed and removed only with confirm=true (without deletedDates: they do not come back if they do not match the rule, and outside the window they should come back). Changed occurrences, occurrences before today, custom rules that are not RRULEs and Only on weekdays are listed only. "Untouched" = no stamp more than 10 s after generatedAt (except masterRank, dueDate, updatedAt), the day unchanged and no tracked time (times/duration), as the app's "Ones you edited or tracked time on stay" (verified 2026-12-01/02). A stamp on reminders alone counts as untouched when the reminders match the recurring task's reminderTimes. Removed occurrences' reminders (the reminders list and rt_ entries from reminderTimes) are deleted on the server. New occurrences follow a rule and properties changed via the API, counted from the start day. Custom accepts only an RRULE string. Lowering Create occurrences via the API removes nothing, not even at the next generation; the app's dialog removes untouched upcoming occurrences when the lowering is saved there. confirm=true does what the dialog does.
Inputs: recurring_task_id (required), note, size, title, +20 more. Returns: object
update_taskAIdempotent
Update a task: title, day, time, reminders, size, subtasks. /doc/update (Full Access Token). Categories/projects: update_category_or_project; priority and frog: set_priority; completion: mark_done. Changing the day does what the app does: reminderTime and the server entry T move to the new day, own reminders (M) stay and are listed in the response. New clock time: new T, own reminders (including 'X min before') keep their time. time='' removes the clock time in the app's form. If the day is removed (day='unassigned') the clock time and T are removed as in the app; own reminders stay. Subtasks are written with dotted keys. parent_id or subtasks on a recurring occurrence give a warning: the recurring task stays as it is, so future occurrences follow it — change it with update_recurring_task. Strategy-dependent fields are stored even when the strategy is off in the app. A sporadic 500 on /doc/update is transient (retried once); a permanent 500 = the document does not exist.
Inputs: item_id (required), day, note, size, +25 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
Most tools target a clearly distinct resource+action (create_task, update_task, mark_done, unmark_done, record_habit, create_time_block), and the descriptions actively cross-reference where boundaries are close (set_priority vs update_task, update_task vs update_category_or_project). A few clusters remain confusable at a glance — get_notebook / get_notebooks / search_notebooks, set_reminder vs the clock time in update_task, and delete_task vs the notebook/reminder deleters — but the naming plus notes make the right choice recoverable.
Nearly everything is snake_case verb_noun (create_task, update_notebook_page, delete_reminder, get_due_items), with a small set of get/list prefixes used sensibly for reads. Minor deviations like test_connection, list_capabilities and get_tracked_item break the resource_verb pattern slightly but are still predictable and readable.
50 tools is well above the 15-25 band and the surface is spread across many sub-domains (tasks, projects, notebooks, habits, rewards, tracking, time blocks, goals, reminders). Each tool does earn some place, but the sheer volume makes discovery and selection costly for an agent, and several areas are thin while others are dense.
Tasks, projects/categories and notebooks have near-full lifecycle coverage (create/read/update/delete/complete/undo), but other domains are read-only or partial: goals have no create/update/delete, habits cannot be created or deleted, events have only create, and labels are read-only. These are real gaps an agent will hit, though most have documented workarounds in the app.
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
An MCP server that provides agents access to the KeldynAI platform
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to interact with the Taskwarrior command-line task management tool. It allows users to list, create, modify, and organize tasks using projects, tags, and annotations through natural language.132MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that connects AI assistants to Super Productivity for managing tasks, projects, and tags. Supports quick capture, batch triage, and full planning sessions through natural language.700 npm143MIT
- AlicenseBqualityDmaintenanceAn MCP server that lets your AI assistant manage TickTick tasks, projects, habits, and more through natural language, supporting both TickTick and Dida365.521MIT
- FlicenseNot gradedqualityDmaintenanceA personal assistant MCP server that integrates Todoist, Anki, Obsidian, and Google Calendar to help you learn, organize, and stay productive through natural language interactions.2-