io.github.seunghan91/ainote
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
| Author | io.github.seunghan91 |
|---|---|
| Access | mixed |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 920 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"ainote": {
"url": "https://api.ainote.dev/api/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (34)
delete_taskdestructiveSoft-delete a task by ID. Destructive but reversible within 30 days (TaskCleanupJob purges trash daily at 2am KST). Returns 404 if the task does not exist or is not owned by the authenticated user.
Parameters:
id(required) — string — Task ID to delete
Hints: read-only no · destructive yes · idempotent yes · open-world no
list_papersread-onlyList notes/papers from AI Note. Supports keyword search across title and content, category filtering, pagination, and sorting. Returns id/title/content_preview/category_id/created_at. Use this when the user asks 'find my note about X', 'what did I write on Y', or wants to search their knowledge base.
Parameters:
limit— number — Maximum number of papers to return (default: 25, max: 200)offset— number — Number to skip for pagination (default: 0)search— string — Keyword to match in paper title or content (case-insensitive partial match)sort_by— string — Sort field (default: updated_at)sort_order— string — Sort order (default: desc)category_id— string — Filter by category UUIDsource_type— string — Filter by source type (e.g., 'manual', 'youtube', 'url', 'clipboard')paper_category_id— string — Filter by paper-specific folder UUID
Hints: read-only yes · destructive no · idempotent yes · open-world no
project_readread-onlyList the authenticated user's projects (L2 intent layer), or fetch one by id. Each entry includes riskiest_assumption — the single highest-priority unverified assumption (or, if all are verified, the highest-criticality one).
Parameters:
id— string — Fetch a single project by UUID. Omit to list all.status— string — Filter by status. Omit to list all statuses.
Hints: read-only yes · destructive no · idempotent yes · open-world no
project_writedestructiveCreate or update a project (L2 intent layer). Omit `id` to create, pass it to update. There is no delete tool — use status: 'archived' to retire a project.
Parameters:
id— string — Project UUID to update. Omit to create a new project.name— string — Project name (required to create).intent— string — Why this project exists, in one paragraph. Pass 'null' to clear.status— string — active | paused | archived.success_criteria— string — What observable outcome counts as success. Pass 'null' to clear.
Hints: read-only no · destructive yes · idempotent no · open-world no
assumption_writedestructiveCreate or update an assumption under a project (L2 intent layer). Omit `id` to create, pass it to update. There is no delete tool. 🔴 `verdict` is REJECTED with an error if passed — verdict is confirmed only through a human judgment decision (see judgment_submit). This tool can only shape the assumption itself: what is being assumed, how critical it is, and what evidence would settle it.
Parameters:
project_id(required) — string — Project UUID this assumption belongs to (required).id— string — Assumption UUID to update. Omit to create a new assumption.bmc_block— string — Optional Business Model Canvas block this assumption belongs to. Pass 'null' to clear.statement— string — What is being assumed true (required to create).criticality— integer — 1=critical if wrong … 3=minor.evidence_condition— string — What would be observed to settle this assumption. Pass 'null' to clear.
Hints: read-only no · destructive yes · idempotent no · open-world no
judgment_submitRequest a human judgment (L3 layer) by attaching evidence — approval, evidence, or verdict. This is the ONLY door an agent has into the judgment queue. 🔴 `decision` is REJECTED with an error if passed — judgments are always created with decision='pending'. Only a human decides them (from the /command queue). Use judgment_list afterwards to check whether this judgment has since been decided. risk_tier controls urgency: 1=destructive (blocks execution until decided), 2=reversible (may auto-proceed after a wait window), 3=informational (auto-expires after 24h).
Parameters:
kind(required) — string — approval | evidence | verdict.summary(required) — string — One sentence: what is being judged (required).evidence— object — Free-form evidence attached to the request — links, numbers, diff summaries.risk_tier— integer — 1=destructive 2=reversible 3=informational. Default: 2.project_id— string — Optional project this judgment relates to.subject_id— string — Optional. UUID of the Assumption or Task this judgment is about.subject_type— string — Optional. Pair with subject_id. Only Assumption or Task are allowed.
Hints: read-only no · destructive no · idempotent no · open-world no
judgment_listread-onlyList the authenticated user's own judgments (L3 layer) — use this to check your own blocking status (risk_tier 1 pending = execution blocked). Default order matches the /command queue: risk_tier ascending, then arrival order.
Parameters:
kind— string — Filter by kind.limit— integer — Max rows to return (default 50, max 200).decision— string — Filter by decision. Omit for all.risk_tier— integer — Filter by risk_tier.project_id— string — Filter by project UUID.subject_id— string — Filter by subject UUID (pair with subject_type).subject_type— string — Filter by subject type.
Hints: read-only yes · destructive no · idempotent yes · open-world no
delete_dev_docdestructiveSoft-delete a dev document by title or UUID. Reversible from trash. Pass `category` when multiple docs share the same title across subcategories (memory/claude/cursor/env/docs).
Parameters:
id— string — Document UUIDtitle— string — Document titlecategory— string — Subcategory to disambiguate title
Hints: read-only no · destructive yes · idempotent yes · open-world no
get_setup_guideread-onlyGet instructions for setting up AI Note MCP in Claude Desktop, Cursor, or other MCP clients. No authentication required.
Hints: read-only yes · destructive no · idempotent yes · open-world no
vault_createCreate a new private vault as a GitHub repository under the user's account. Requires the user to have completed the GitHub App install flow first.
Parameters:
name(required) — string — Vault display name. The GitHub repo name (slug) is derived from it unless `slug` is given.slug— string — Optional explicit repo slug (ASCII lowercase-hyphen). Required when `name` has no ASCII letters or digits — e.g. a Korean-only name — because GitHub repo names are ASCII-only.description— string — Optional GitHub repo description.
Hints: read-only no · destructive no · idempotent no · open-world yes
vault_syncdestructiveWrapper around vault file sync. action=list|pull|push to work against the primary vault. list/pull are paginated — narrow with `path`/`since` and follow `next_cursor` instead of pulling the whole vault. To fetch specific files, pull with `paths` (up to 100 exact paths, one call). For push: WAF-bypass via `content_b64` or `content: '__B64__:...'` prefix (mirrors sync_push).
Parameters:
path— string — push: target file path. list/pull: a directory (everything under it, e.g. 'global') or an exact file path (e.g. 'global/MEMORY.md'); a trailing slash is ignored.limit— integer — Max entries per page. list: default 200, max 1000. pull: default 25, max 100.paths— array — pull only: up to 100 exact file paths fetched in ONE call. The response lists absent paths in `missing`. Cannot be combined with path/since/cursor.since— string — ISO 8601 timestamp for incremental list/pull (files updated strictly after it). Deletions are not reported — compare a full list against your local copy to find them.action— string — Sync action. Default list.cursor— string — Pass `next_cursor` from the previous response to fetch the next page.content— string — Required for push (or `content_b64`). Prefix with '__B64__:' for WAF bypass.content_b64— string — Optional: base64-encoded content (use INSTEAD of `content`) for WAF-bypass on large bodies. Server decodes before storing.
Hints: read-only no · destructive yes · idempotent no · open-world yes
sync_pushdestructivePush a markdown file into the primary vault. Optional CAS via base_sha to detect concurrent multi-PC writes (Layer 3 of multi-PC sync plan). WAF-bypass tip: large bodies (~10KB+) that get false-positive blocked at Cloudflare can be sent via `content_b64` (base64-encoded) OR `content` prefixed with `__B64__:` instead. When the push CREATES a new .md file, the response may carry `dedup_candidates` — existing memory files that look similar (keyword + title similarity, no LLM). It is an advisory, not a rejection: YOU decide to merge into one of them (re-push that path), drop this write as a duplicate (skip), or keep it as a new memory (store).
Parameters:
path(required) — string — Relative file path (e.g., 'global/MEMORY.md', 'launchcrew/firebase.md'). No leading slash, no '..'.force— boolean — Optional: when true, skip CAS check even if base_sha is supplied. Use only for intentional overwrites; presence is auditable via warning logs.content— string — Full file content (markdown text). Alternatively prefix with '__B64__:' followed by base64 payload for WAF bypass.base_sha— string — Optional: git_sha the client last observed for this path. When present, server compares with current git_sha and returns -32009 conflict on mismatch (with current content for 3-way diff). Omit for legacy LWW behavior (response will include a `warning` field nudging clients to upgrade).device_id— string — Optional: client device identifier (e.g., from ~/.claude/ainote-sync/device.id). Stored on FileIndex so future conflict responses can report which device last wrote the path.content_b64— string — Optional: base64-encoded file content (use INSTEAD of `content`). For WAF-bypass on large bodies. Server decodes before storing. If both supplied, content_b64 wins.supports_superseded— boolean — Optional capability opt-in. When true AND resolves_conflict_id points at an already-resolved conflict whose (path, remote_sha) matches this push, the server returns a NORMAL 200 with resource_data {status:'superseded', reason:'resolved_elsewhere', applied:false, git_sha:<current remote>} instead of a -32009 error, so the client pulls to converge. Omit (default) to keep the legacy -32009 contract.resolves_conflict_id— string — Optional: UUID of a vault_conflicts row this push resolves. When supplied, server validates ownership/unresolved/path/sha and atomically marks the conflict as resolution=clean inside the same transaction as the file_indices write. Validation failure rolls back the whole push and returns -32009 stale_conflict_id.
Hints: read-only no · destructive yes · idempotent yes · open-world no
sync_push_batchdestructivePush MANY files into the primary vault in ONE call. Use this instead of looping sync_push whenever you have more than a couple of changed paths — the cost of sync_push is round trips, not bytes. Per-item semantics are identical to sync_push (Layer 3 base_sha CAS, superseded contract, content_b64 WAF fallback). Partial success is normal and returns HTTP 200: read `results[]` and match entries by `path`, NOT by position. A conflict result always carries `remote_sha` + `conflict_reason` so you can go straight to sync_merge. Request-level failures (duplicate paths in one batch, idempotency key reused with a different payload, >200 items, >4MB) return 4xx and apply NOTHING. Each item MUST carry `content_sha` (SHA1 hex of the decoded body, same algorithm as git_sha) — it powers both the integrity check and the retry-safe `skipped_identical` result. Newly created .md items may carry `dedup_candidates` (same merge/skip/store advisory as sync_push); a batch creating more than 10 new files skips the check entirely and reports `dedup_skipped: "bulk"`.
Parameters:
items(required) — array — Up to 200 push items, 4MB total, one entry per unique path. Duplicate paths reject the whole batch.idempotency_key(required) — string — REQUIRED. Opaque client-generated UUID, one per batch ATTEMPT-SET: reuse the same key when retrying the same items after a timeout (the server replays the stored results instead of re-applying), and generate a NEW key whenever the items change. Reusing a key with a different payload is a 400 collision, never a silent replay. Do not derive it from paths or content.device_id— string — Optional batch-level device identifier; per-item device_id overrides it.supports_superseded— boolean — Same capability opt-in as sync_push, applied to every item in the batch.
Hints: read-only no · destructive yes · idempotent yes · open-world no
sync_deletedestructiveDelete a file from the primary vault. Optional CAS via base_sha to detect concurrent multi-PC writes. Protected paths (global/memory/, global/skills/, global/planning/, global/intent/, global/claude-config/, handoffs/) require base_sha or explicit force:true (audited). Idempotent: deleting a non-existent path returns success with deleted:false.
Parameters:
path(required) — string — Relative file path to delete (e.g., 'global/_waf_probe.md'). No leading slash, no '..'.force— boolean — Optional: when true, skip CAS check even if base_sha is supplied. Use only for intentional overwrites; presence is auditable via warning logs.base_sha— string — Optional: git_sha the client last observed for this path. When present, server compares with current git_sha and returns -32009 conflict on mismatch (with current content for 3-way diff).device_id— string — Optional: client device identifier for audit log (e.g., from ~/.claude/ainote-sync/device.id).
Hints: read-only no · destructive yes · idempotent yes · open-world no
sync_audit_layer5Record the result of a client-side Layer 5 codex review (sync.py merge gate) as a vault_events row. Body of the review is NOT stored — only an HMAC digest of the summary so operators can correlate without exposing review content. Opt-in: server skips writes (still returns success) unless ENV['AINOTE_LAYER5_AUDIT']='on' AND a versioned HMAC secret is configured. Used by the sync.py SessionStart hook + merge command to surface 'why was this blocked?' across multi-PC sessions.
Parameters:
path(required) — string — Vault path the review covered.verdict(required) — string — One of: pass, flag, block, error.summary— string — Free-form codex output summary. Server HMACs this; raw text is NEVER stored.chunk_count— integer — Optional: number of diff chunks the client fed to codex.duration_ms— integer — Optional: wall-clock time of the codex review on the client.
Hints: read-only no · destructive no · idempotent no · open-world no
handoff_savedestructiveSave a session handoff note for cross-device / cross-session continuation. Stored at handoffs/{project}-{topic}-{YYYY-MM-DD}.txt in the user's primary vault. Use the optional `time` param (HHMM, KST) to disambiguate multiple handoffs saved on the same day — it is appended to the topic slug (e.g. topic='phase-d', time='1555' → handoffs/{project}-phase-d-1555-{date}.txt).
Parameters:
project(required) — string — Project slug, e.g. 'logi', 'ainote', 'krx_ai'. Lowercase, no spaces.topic(required) — string — Short topic slug for this handoff, e.g. 'phase-d-port', 'oauth-fix'. Lowercase-hyphen.date— string — Optional override date (YYYY-MM-DD). Defaults to today in server timezone.time— string — Optional time-of-day suffix in HHMM 24h format (KST), e.g. '1555'. Appended to the topic slug so multiple handoffs on the same day stay distinguishable. Omit for once-per-day saves.content— string — Full handoff text. Should follow the session-handoff skill template (현재 상태 / 작업 위치 / 수정 파일 / 결정 사항 / 다음 STEP / 알려진 이슈). WAF-bypass tip: prefix the string with '__B64__:' followed by base64-encoded payload to bypass Render/Cloudflare edge WAF for large bodies (~10KB+) that get false-positive blocked as SQLi/cmd-injection.device_id— string — Optional: client device identifier (e.g., from ~/.claude/ainote-sync/device.id). Stored on FileIndex so future conflict responses can report which device last wrote the handoff. Same field sync_push uses.content_b64— string — Optional: base64-encoded handoff text (use INSTEAD of `content`). For WAF-bypass on large bodies. Server decodes before storing.
Hints: read-only no · destructive yes · idempotent yes · open-world no
graph_soft_deletedestructiveSoft-delete an env_sync graph node (sets deleted_at; .live scope hides it from reads). Idempotent — re-deleting a deleted node is a no-op success.
Parameters:
node_id(required) — stringdevice_id(required) — stringclient_hlc— string
Hints: read-only no · destructive yes · idempotent yes · open-world no
env_sync.secret_pushPush a new client-encrypted secret. Ciphertext only — server never sees plaintext. Recipients must include the pushing device's own pubkey.
Parameters:
alias(required) — stringkind(required) — stringciphertext_b64(required) — stringrecipients(required) — arraydevice_id(required) — stringclient_hlc— string
Hints: read-only no · destructive no · idempotent no · open-world no
env_sync.secret_pullread-onlyPull an encrypted secret blob. Response is ciphertext_b64 only — server never sees and never returns plaintext.
Parameters:
alias— stringnode_id— stringdevice_id— string — Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).
Hints: read-only yes · destructive no · idempotent yes · open-world no
env_sync.secret_rotatedestructiveRotate a secret: soft-delete the old node, create a new live node with the same alias and the new ciphertext+recipients. 7-day grace before hard delete of old ciphertext bytes.
Parameters:
node_id(required) — stringnew_ciphertext_b64(required) — stringnew_recipients(required) — arraydevice_id(required) — stringclient_hlc— string
Hints: read-only no · destructive yes · idempotent no · open-world no
env_sync_txn_pushdestructiveIngest a batched envelope of client-recorded env_sync mutations. HLC-skew gated, partial-success on conflict.
Parameters:
operations(required) — arraydevice_id— string — Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).
Hints: read-only no · destructive yes · idempotent no · open-world no
env_sync_txn_rollbackdestructiveInverse-apply a prior env_sync transaction. Safety gates: ownership, idempotency, descendant-conflict (force opt-out).
Parameters:
txn_id(required) — stringforce— booleandevice_id— string — Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).include_descendants— boolean
Hints: read-only no · destructive yes · idempotent no · open-world no
tasks_readread-onlyRead tasks and task categories. action: tasks | categories (consolidated surface — same handlers as the legacy tools)
Parameters:
action(required) — string — which operation to runlimit— number — [tasks] Maximum number of tasks to return (default: 25, max: 500)offset— number — [tasks] Number of tasks to skip for pagination (default: 0). Use with limit to fetch additional pages.search— string — [tasks] Search keyword in task content and notes (case-insensitive partial match)status— string — [tasks] Filter by task statusoverdue— boolean — [tasks] Filter overdue incomplete tasks (due_date < today)sort_by— string — [tasks] Sort field (default: created_at)location— string — [tasks] Filter by location (partial match, e.g., '여의도', '서울')due_today— boolean — [tasks] Filter tasks due todaysort_order— string — [tasks] Sort order (default: desc)category_id— string — [tasks] Filter by category UUIDdue_date_end— string — [tasks] Filter tasks with due_date <= this date (ISO 8601 format)is_important— boolean — [tasks] Filter by important tasks onlydue_date_start— string — [tasks] Filter tasks with due_date >= this date (ISO 8601 format)created_date_end— string — [tasks] Filter tasks created <= this date (ISO 8601 format)has_notification— boolean — [tasks] Filter by notification enabled statuscompleted_date_end— string — [tasks] Filter tasks completed <= this date (ISO 8601 format)created_date_start— string — [tasks] Filter tasks created >= this date (ISO 8601 format)completed_date_start— string — [tasks] Filter tasks completed >= this date (ISO 8601 format)
Hints: read-only yes · destructive no · idempotent yes · open-world no
task_writedestructiveCreate or update a task. action: create | update. Deletion is a separate tool (delete_task). (consolidated surface — same handlers as the legacy tools) Required per action — create: content | update: id.
Parameters:
action(required) — string — which operation to runid— string — [update] Task ID (required)notes— string — [create] Additional notes or details for the task [update] Update notes (or 'null' to clear)content— string — [create] Task content (required) [update] New task contentdue_date— string — [create] Due date in ISO format (e.g., '2026-01-28' or '2026-01-28T15:00:00+09:00') [update] Update due date in ISO format (or 'null' to clear)due_time— string — [create] Due time in HH:MM format (e.g., '15:00'). If not provided, task is treated as all-day. [update] Update due time in HH:MM format (or 'null' to make all-day)location— string — [create] Location where the task takes place [update] Update location (or 'null' to clear)is_all_day— boolean — [create] Mark as all-day event — suppresses time-of-day rendering. [update] Toggle all-day mode.start_date— string — [create] Start date for date range tasks in ISO format (e.g., for multi-day events) [update] Update start date in ISO format (or 'null' to clear)category_id— string — [create] Category ID (UUID) to organize the task [update] Update category ID (or 'null' to remove category)repeat_rule— string — [create] Recurrence rule (e.g., 'daily', 'weekly', 'monthly', 'yearly', or RRULE format) [update] Update recurrence rule (or 'null' to make non-recurring)travel_time— number — [create] Minutes of travel time to allow before due_date. [update] Update travel-time minutes.completed_at— string — [update] Mark as completed (ISO format) or 'null' to uncompleteis_important— boolean — [create] Mark task as important (default: false) [update] Update important statuslocation_lat— number — [create] GPS latitude. Pair with location_lng. [update] Update GPS latitude.location_lng— number — [create] GPS longitude. Pair with location_lat. [update] Update GPS longitude.reminder_timing— integer — [create] Minutes before due time to send reminder (e.g., 10 for 10 minutes before). Default: 30. Only used when has_notification is true. [update] Minutes before due time to send reminder (e.g., 10 for 10 minutes before). Only used when has_notification is true.has_notification— boolean — [create] Enable reminder notifications (default: false) [update] Enable/disable reminder notificationsreminder_timings— array — [create] Multiple reminder offsets in minutes before due time (e.g., [10, 60] fires 10 min and 1 hour before). Overrides reminder_timing if provided. [update] Multiple reminder offsets in minutes before due time (e.g., [10, 60]). Pass empty array [] to clear.
Hints: read-only no · destructive yes · idempotent no · open-world no
dev_docs_readread-onlyRead dev docs. action: get | list | categories | pull (consolidated surface — same handlers as the legacy tools)
Parameters:
action(required) — string — which operation to runid— string — [get] Document UUIDtitle— string — [get] Document title (e.g., project-a-memory.md)search— string — [list] Search keyword in document titlecategory— string — [get] Subcategory (claude, cursor, etc.) to disambiguate title [list] Subcategory filter (claude, cursor, windsurf, copilot, docs, etc.). Omit to list all dev docs. [pull] Subcategory filter. Omit to pull all docs with local_path.content_type— string — [list] Filter by content typeinclude_versions— boolean — [get] Include version history (default: false)
Hints: read-only yes · destructive no · idempotent yes · open-world no
dev_doc_writedestructiveCreate or update a dev doc. action: create | update. Deletion is a separate tool (delete_dev_doc). (consolidated surface — same handlers as the legacy tools) Required per action — create: title, content | update: content.
Parameters:
action(required) — string — which operation to runid— string — [update] Document UUIDmode— string — [update] Update mode (default: replace)title— string — [create] Filename as title (e.g., ainote-memory.md, project-claude.md) [update] Document titlecontent— string — [create] Full file content (markdown, json, yaml, text) [update] New contentcategory— string — [create] Subcategory: memory | claude | cursor | env | docs | custom. Default: docs [update] Subcategory to disambiguate titlelocal_path— string — [create] Absolute path on this machine (e.g., ~/.claude/projects/-Users-seunghan/memory/MEMORY.md). Used by pull_dev_docs to restore file on other devices. Supports ~ expansion. [update] Update the local file path for multi-device syncmemory_type— string — [create] Memory update semantics: 'state' = latest value replaces the past (used by memory_search latest_state mode), 'event' = immutable accumulating log, 'preference' = user preference. Omit for plain documents. [update] Set the memory update semantics (state | event | preference). Pass null/empty to clear.content_type— string — [create] Content type. Auto-detected from title extension if omitted.
Hints: read-only no · destructive yes · idempotent no · open-world no
sync_readread-onlyRead-only vault sync operations. action: list | pull | diff | merge | conflicts. Writes (push/delete) are separate tools — they carry CAS semantics. (consolidated surface — same handlers as the legacy tools) Required per action — diff: path | merge: path, base_text, local_text.
Parameters:
action(required) — string — which operation to runpath— string — [list] A directory to list (everything under it, e.g. 'global') or an exact file path (e.g. 'global/MEMORY.md'). A trailing slash is ignored. Omit to list from the first page. [pull] Optional filter: a directory (everything under it, e.g. 'global') or an exact file path (e.g. 'global/MEMORY.md'). A trailing slash is ignored. [diff] Relative vault path. [merge] Relative vault path (e.g., 'global/MEMORY.md'). [conflicts] Optional: filter to a specific path.limit— integer — [list] Max entries per page. Default 200, max 1000. [pull] Max files per page. Default 25, max 100. [conflicts] Optional: max rows to return (default 50, max 200).paths— array — [pull] Up to 100 exact file paths fetched in ONE call. Absent paths are listed in `missing`. Cannot be combined with path/since/cursor.since— string — [list] ISO 8601 timestamp. Only list files updated strictly after this time. Deletions are not reported — diff a full list against your local copy to find them. [pull] ISO 8601 timestamp. Only return files updated after this time. Omit to start from the first page. Deletions are not reported.cursor— string — [list] Pass `next_cursor` from the previous response to fetch the next page. [pull] Pass `next_cursor` from the previous response to fetch the next page.base_sha— string — [merge] Optional: git_sha the client believes is the merge base. When supplied, server verifies (informational; merge still runs).base_text— string — [diff] Optional: client's baseline (last-known remote). When supplied along with local_text, response includes both diffs (base → remote, base → local) so the client can render a 3-way view. [merge] Common ancestor text — what the client had cached when it started editing. Source: client state.json baseline. Required.device_id— string — [merge] Optional: client device identifier. Recorded on any vault_conflict row created downstream.local_text— string — [diff] Optional: client's current text. When supplied, response includes unified diff (remote → local). [merge] Current local text on the client (post-edit). Required.
Hints: read-only yes · destructive no · idempotent yes · open-world no
vault_readread-onlyRead vault metadata. action: list | clone | status (consolidated surface — same handlers as the legacy tools) Required per action — clone: name.
Parameters:
action(required) — string — which operation to runname— string — [clone] Vault name or slug.target_path— string — [clone] Preferred local clone path for the returned instructions.include_commit_sha— boolean — [list] Include each vault's latest_commit_sha (default false). Costs one GitHub API round-trip per vault, so only ask for it when you actually need the remote HEAD.
Hints: read-only yes · destructive no · idempotent yes · open-world no
env_sync_readread-onlyRead env-sync state. action: devices | drift | status | txn_pull. Secret reads are a separate tool (env_sync.secret_pull). (consolidated surface — same handlers as the legacy tools)
Parameters:
action(required) — string — which operation to runop— string — [txn_pull]limit— integer — [txn_pull]cursor— string — [txn_pull]device_id— string — [devices] Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH). [drift] [status] Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH). [txn_pull] Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).since_hlc— string — [txn_pull]include_stale— boolean — [devices]
Hints: read-only yes · destructive no · idempotent yes · open-world no
env_sync_writeNon-destructive env-sync writes. action: enroll | request_share | heartbeat. Secret push/rotate are separate tools. (consolidated surface — same handlers as the legacy tools) Required per action — enroll: alias, age_pubkey, enrollment_token | request_share: target_device_id, secret_shares, device_id | heartbeat: device_id, installed_skills_hash, installed_hooks_hash.
Parameters:
action(required) — string — which operation to runos— string — [heartbeat]alias— string — [enroll]device_id— string — [enroll] Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH). [request_share] The existing device performing the re-encryption (must own access to all secret_node_ids). [heartbeat]age_pubkey— string — [enroll]client_hlc— string — [request_share]capabilities— object — [enroll]secret_shares— array — [request_share]installed_hooks— array — [heartbeat]enrollment_token— string — [enroll]installed_skills— array — [heartbeat]target_device_id— string — [request_share]claude_code_version— string — [heartbeat]installed_hooks_hash— string — [heartbeat]installed_skills_hash— string — [heartbeat]installed_mcp_servers_hash— string — [heartbeat]
Hints: read-only no · destructive no · idempotent no · open-world no
graph_readread-onlyRead knowledge-graph nodes. action: get | list (consolidated surface — same handlers as the legacy tools)
Parameters:
action(required) — string — which operation to runalias— string — [get]limit— integer — [list]cursor— string — [list] Opaque cursor (created_at ISO + id) from previous page's next_cursornode_id— string — [get]device_id— string — [get] Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH). [list] Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).node_type— string — [get] [list]updated_since_hlc— string — [list]
Hints: read-only yes · destructive no · idempotent yes · open-world no
graph_writedestructiveAdd or update a graph entity. action: add | update. Deletion is a separate tool (graph_soft_delete). (consolidated surface — same handlers as the legacy tools) Required per action — add: node_type, alias, payload, device_id | update: node_id, device_id, field_updates.
Parameters:
action(required) — string — which operation to runalias— string — [add]node_id— string — [update]payload— object — [add]device_id— string — [add] [update]node_type— string — [add]client_hlc— string — [add] [update]field_updates— array — [update]
Hints: read-only no · destructive yes · idempotent no · open-world no
handoff_readread-onlyRead session handoffs. action: get | list (consolidated surface — same handlers as the legacy tools) Required per action — get: project, topic.
Parameters:
action(required) — string — which operation to rundate— string — [get] Optional YYYY-MM-DD. Omit for latest.tags— array — [list] v2 only: AND match — entries must contain ALL given tags. Example: ['auth', 'mobile'].time— string — [get] Optional HHMM (24h, KST) — same value passed at save time. Required to disambiguate when multiple handoffs share the same project/topic/date.limit— integer — [list] Max entries to return (default 50).since— string — [list] ISO8601 timestamp — only entries with updated_at >= since are returned.topic— string — [get] Topic slug used at handoff_save time.status— string — [list] v2 only: filter by frontmatter status (e.g. 'in_progress', 'paused', 'completed', 'blocked'). v1 handoffs without frontmatter are excluded when this filter is set.project— string — [get] Project slug used at handoff_save time. [list] Optional project filter, e.g. 'logi' to list only logi-* handoffs.task_type— string — [list] v2 only: filter by frontmatter task_type (e.g. 'feature', 'bugfix', 'refactor', 'research', 'ops').has_blockers— boolean — [list] v2 only: filter by frontmatter has_blockers (true/false).
Hints: read-only yes · destructive no · idempotent yes · open-world no
memory_readread-onlyRead agent memory. action: get | search (consolidated surface — same handlers as the legacy tools) Required per action — get: source | search: query.
Parameters:
action(required) — string — which operation to runid— string — [get] Item ID returned by memory_searchhop— integer — [search] Expand results by following [[wikilinks]] N hops from keyword hits (vault only). Scores decay 0.5 per hop. Default 0 (off).mode— string — [search] keyword (default) or latest_statepath— string — [get] vault_file only: file path inside the vault (e.g. 'global/MEMORY.md')limit— integer — [search] Max results (default 10, max 20)query— string — [search] Search text (e.g. 'render deploy key', 'ainote jwt'). May be blank only in latest_state mode.source— string — [get] Which store the item lives in (use the `source` field from memory_search results)sources— array — [search] Memory stores to search. Default: both.
Hints: read-only yes · destructive no · idempotent yes · open-world no
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.