Koru MCP

official

MCP server built into Koru, the free, open source, local-first notes app. Lets Claude and other MCP clients search, read, create and edit the notes and files on your device.

What can you do with Koru MCP?

Koru MCP connects Claude, ChatGPT, and other assistants to your Koru workspaces so they can read and edit documents and tasks.

  • Search and read notes — Ask an assistant to search titles and text across reachable workspaces, then read a document as a tree of typed nodes.
  • Create and edit documents — Have an assistant create a document with its full body or apply a batch of edits atomically, including checking off tasks.
  • Move blocks between documents — Ask an assistant to move whole blocks into another document, leaving a link where they were.
  • Review version history — List a document's saved history markers and compare two versions to see added, removed, moved, and modified nodes.
  • Read file attachments — List a workspace's files and read up to 1 MiB of a file's bytes at a time.
  • Claim a document while editing — Have an assistant claim a document so other assistants' changes are refused until the claim ends.

Hosted MCP Server

npx add-mcp 'https://mcp.koru.do/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Koru's MCP servers

Koru has two MCP servers. The remote server at https://mcp.koru.do/mcp lets Claude and other assistants read and edit the workspaces you sync with Koru Cloud, after you sign in, with your own devices switched off. The built-in server, koru-mcp, ships next to the app on Windows, macOS and Linux: an MCP client such as Claude Code starts it as a local process, and it talks only to Koru on your own computer, with no plugin and no API key.

For a plain-English guide to what MCP is, with examples of creating documents and tasks, see What is MCP?.

Claude Code in a terminal, asked to write 20 dad jokes in a Koru workspace, reports the new page it created. A second agent in the next pane sorts the jokes by rank, and the Koru window in front shows the finished 20 Dad Jokes document, ranked 1 to 20.

Claude Code writes 20 dad jokes into a Koru workspace through the MCP server, a second agent sorts them by rank, and the result is an ordinary Koru document.

Remote MCP server for Koru CloudThe remote server is at https://mcp.koru.do/mcp. An assistant that supports remote MCP servers, such as Claude, connects to it over the internet and reaches the workspaces you sync with Koru Cloud, even when none of your devices is switched on. There is nothing to install: you add the address as a custom connector and sign in with your Koru account.

It is separate from the built-in server further down this page. The built-in server reaches every workspace on one computer and needs Koru installed there. The remote server reaches only Koru Cloud workspaces, and only the ones you approve.

What you need- A Koru account with Koru Cloud. Connecting an assistant needs Koru Cloud on your account. Without it, koru.do says Koru Cloud is needed for this and connects nothing.

  • Workspaces that sync with Koru Cloud. The assistant reaches only workspaces in a Profile that syncs with Koru Cloud. Turn on Cloud sync for a Profile in the Koru desktop app. Workspaces that stay on your devices, or sync only peer to peer between them, are never reachable through this server.
  • An assistant that supports remote MCP with sign-in. The server speaks Streamable HTTP, accepts MCP revisions 2025-03-26 to 2026-07-28, and signs you in with OAuth.

Add Koru to Claude1. In Claude, open Customize, then Connectors, choose + Add, then Add custom connector.

  1. Enter the name Koru and the address https://mcp.koru.do/mcp, and choose Continue. Keep the sign-in settings Claude detects; Koru needs no client ID or secret of your own.
  2. Choose Add, then Connect. Claude opens koru.do, where you sign in and approve the connection.
  3. In a chat, open the + menu, choose Connectors and check that Koru is on, then ask Claude about your notes.

On a Team or Enterprise plan, an owner adds the connector for the organization first, and each person then connects to it. The connector works in Claude on the web, Claude Desktop and Cowork.

Claude Code

claude mcp add --transport http koru https://mcp.koru.do/mcp

Then run /mcp in a Claude Code session, choose koru and sign in in your browser.

Add Koru to ChatGPTOn ChatGPT plans that allow custom MCP servers, open Settings, go to Apps, then Create, enter the address https://mcp.koru.do/mcp, choose OAuth for authentication, then Scan Tools and sign in with your Koru account when ChatGPT asks. OpenAI's help page lists the plans and steps.

What signing in grantsWhen an assistant connects, koru.do asks you three things before anything is shared. Nothing is reachable until you choose Approve.

  • Which Profiles it may reach. koru.do lists your Profiles that sync with Koru Cloud. The assistant reaches only the ones you tick, including new Cloud workspaces in them later. A separate box, off unless you tick it, also includes Profiles you turn Cloud sync on for later.
  • Read, or Read & edit. Read lets it find and read your documents and tasks; its token carries the scope documents:read. Read & edit also lets it create and edit documents and update tasks, with documents:read and documents:write. A Read connection is shown only the read tools. Every edit records which connection made it.
  • A name for the connection. It is shown in your connected assistants on koru.do, where you can rename it, switch between Read and Read & edit, change its Profiles, or revoke it at any time.
  • While you have Koru Cloud. If your Koru Cloud access ends, the connection stops answering. It works again when your access returns, without connecting again.

Tools on the remote serverThe remote server serves the built-in server's document tools, with the same inputs, plus document claims. A Read connection sees only the tools marked read.

ToolAccessWhat it does
get_documentationRead onlyThe editing contract, for assistants without MCP resources. Read it before the first change.
list_workspacesRead onlyThe Koru Cloud workspaces this connection can reach.
list_documentsRead onlyA workspace's documents, without their content.
search_documentsRead onlySearches titles and text across the workspaces this connection can reach.
read_documentRead onlyA document as a tree of typed nodes, with the revision edits need.
list_tasksRead onlyTasks in the documents this connection can reach.
create_documentWritesCreates a document, optionally with its whole body.
edit_documentWritesApplies a batch of edit operations atomically. Tasks change through it.
extract_to_documentWritesMoves blocks into another document and leaves a link behind.
create_image_upload add_image replace_imageWritesUploads an image, then places it in a document or replaces an image already there.
claim_document release_documentWritesClaims a document while the assistant works on it, so other assistants' changes to it are refused until the claim ends. A claim never blocks your own devices.

An assistant that can show MCP views also gets show_document, which opens one document in the chat as an editable view.

A change is answered as saved only once Koru Cloud has it. If Koru cannot confirm a save, the answer says so, and the assistant reads the document again before it retries. Changes reach your devices the way any Cloud change does.

The remote server has no tools for files, version history or AI chats, and it cannot create workspaces, share them with other people, or delete or rename whole documents. Version history stays on your devices: use the built-in server for it.

Sign-in details for developersThe server is an OAuth 2.1 protected resource. Its metadata is at https://mcp.koru.do/.well-known/oauth-protected-resource/mcp, and its authorization server is https://us.api.koru.do.

Sign-in is the authorization code flow with PKCE (S256) for public clients, with no client secret. Clients can register with dynamic client registration at https://us.api.koru.do/oauth/register or identify themselves with a client ID metadata document. The server issues refresh tokens and revokes them at /oauth/revoke. The scopes are documents:read and documents:write, and a token carries either documents:read alone or both.

Privacy and supportThe assistant sees only what its tool calls return. What it then does with those results, such as Claude sending them to Anthropic as part of the conversation, is under the assistant's own terms.

Questions about the remote server, or a problem connecting: hello@koru.do.

Built-in server: how it worksThe server is a small executable, koru-mcp (koru-mcp.exe on Windows), installed beside Koru. It speaks MCP over standard input and output: your MCP client launches koru-mcp serve --stdio as its own child process and stops it when it disconnects. While it serves, stdout carries only MCP messages and diagnostics go to stderr and a log file.

The bridge does not open your files itself. It forwards each tool call to Koru on the same computer, which answers from your local database, applies edits through the same model the app uses, and only reports success once the change is saved.

Koru is native, not Electron, and open source under MPL-2.0, so you can read every line of this server on GitHub.

Claude and your notes, no plugin, no API keyKoru puts the exact command for your installation on its Welcome page. You paste it into Claude, and that is the whole setup. Nothing is installed inside Koru, no key is generated, and no certificate has to be trusted.

In Claude Code it is one command. Claude Desktop has no command for local servers, so there you add one entry to Claude's own config file.

Copy the command from Koru1. Install Koru and open it: 0.1.3 or later on Windows, 0.1.4 or later on a Mac. On a Mac, move Koru.app to Applications first instead of running it from the DMG, and open Koru once before you connect Claude. On Linux, extract the tar.gz into a folder of its own.

  1. On the Welcome page, find the row "Manage documents over MCP" and click Copy (clicking the command itself copies it too). The row is in Koru for Windows from 0.1.3 and for Mac from 0.1.4; on an older Koru, use the paths below.

The command is the full path to koru-mcp beside your Koru app, followed by serve --stdio, for example "C:\path\to\Koru\koru-mcp.exe" serve --stdio. A path containing a space is wrapped in quotes. On macOS the bridge is inside the app bundle, at /Applications/Koru.app/Contents/MacOS/koru-mcp. On Linux it is koru-mcp in the folder you extracted Koru into, for example /home/you/koru/koru-mcp.

Claude Code1. In a terminal, type claude mcp add koru -- and paste the command after it.

  1. Run claude mcp list (or /mcp inside a Claude Code session) and check that koru shows as connected.
  2. Start claude and ask it to use Koru, for example: "Use Koru's get_documentation tool for koru://docs/model, then list my Koru workspaces and documents."

Terminal, Windows

claude mcp add koru -- "C:\path\to\Koru\koru-mcp.exe" serve --stdio

Terminal, macOS

claude mcp add koru -- /Applications/Koru.app/Contents/MacOS/koru-mcp serve --stdio

Terminal, Linux

claude mcp add koru -- /home/you/koru/koru-mcp serve --stdio

The -- separates Claude Code's own options from the command that starts the server. claude mcp add stores the server for the current project by default; add --scope user before koru to have it in every project.

The /mcp panel in Claude Code, showing the tools for koru with each tool's name and whether it is read-only or destructive, starting with add_image, compare_document_versions, create_document and edit_document.

Run /mcp in a Claude Code session and open koru to see every tool the server publishes, marked read-only or destructive.

Claude Desktop1. Open Claude Desktop's config file, claude_desktop_config.json. On Windows it is %APPDATA%\Claude\claude_desktop_config.json; on macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json.

  1. Add a koru entry under mcpServers. Put the path from the copied command in command, without the surrounding quotes and with every backslash doubled (on macOS, /Applications/Koru.app/Contents/MacOS/koru-mcp as it is), and serve and --stdio in args. Merge it with any servers already there; JSON allows no trailing commas or comments.
  2. Quit Claude Desktop completely, including its icon in the notification area or menu bar, and open it again. Claude starts and stops the bridge itself.
  3. Click the + button under the chat box and choose Connectors to check that Koru and its tools are listed, then ask Claude to read or edit a Koru document.

claude_desktop_config.json, Windows

{
  "mcpServers": {
    "koru": {
      "command": "C:\\path\\to\\Koru\\koru-mcp.exe",
      "args": ["serve", "--stdio"]
    }
  }
}

claude_desktop_config.json, macOS

{
  "mcpServers": {
    "koru": {
      "command": "/Applications/Koru.app/Contents/MacOS/koru-mcp",
      "args": ["serve", "--stdio"]
    }
  }
}

On Windows you can check the file is valid JSON before restarting Claude with Get-Content "$env:APPDATA\Claude\claude_desktop_config.json" -Raw | ConvertFrom-Json in PowerShell.

Compared with a typical Obsidian setupObsidian has no MCP server of its own. The common routes go through the Local REST API community plugin, which now includes an MCP endpoint, or through a separate server such as mcp-obsidian that calls that plugin. This is what their own READMEs ask for, next to what Koru asks for.

KoruObsidian, Local REST API pluginObsidian, mcp-obsidian
Inside the notes appNothing to install: the server ships with KoruInstall and enable the Local REST API community pluginThe same plugin, plus the mcp-obsidian server
CredentialNone. The server only reaches Koru on your computerAPI key from the plugin settings, sent as a bearer headerAPI key from the plugin settings, in the server's env
Transportstdio, started by the clientStreamable HTTP at https://127.0.0.1:27124/mcp/ with a locally generated certificate to trust, or a plain HTTP port you enablestdio, calling the plugin's REST API
Claude CodeOne command: claude mcp add koru -- <command>One command with --transport http and an --header carrying the keyThe README documents a JSON config entry
Claude DesktopOne entry in claude_desktop_config.jsonOne entry that runs mcp-remote through npx (needs Node.js) with the key headerOne entry that runs uvx (needs Python 3.11+ and uv) with the key in env
Notes app must be openNo. The bridge starts Koru's background service if it is not runningYes, the server runs inside ObsidianYes, it calls the plugin running inside Obsidian

To be fair to Obsidian: the Local REST API plugin exposes things Koru's server does not, such as running Obsidian commands, deleting, moving and copying files, event streams and uploads through signed URLs.

Checked on October 30, 2026 against:

Other MCP clientsAny MCP client that can launch a local stdio server can use the same command. Koru's repository documents these:

Codex CLI

codex mcp add koru -- "C:\path\to\Koru\koru-mcp.exe" serve --stdio

Codex, ~/.codex/config.toml

[mcp_servers.koru]
command = "C:\\path\\to\\Koru\\koru-mcp.exe"
args = ["serve", "--stdio"]

ChatGPT desktop: Settings, MCP servers, Add server, choose STDIO, then enter the path as the command and serve --stdio as the arguments, and restart ChatGPT.

The bridge also takes --tool-pages on|off. Off (the default) answers tools/list in one reply; on splits it into pages under 7,000 bytes for clients that follow MCP pagination.

ToolsEvery tool publishes a title, a description, an input schema and MCP safety hints. Read-only tools publish readOnlyHint: true; every tool publishes openWorldHint: false. No tool publishes an output schema, but every result is a JSON object in structuredContent, and a failure is { code, message, details? } with isError set. Request objects reject unknown fields.

IDs are UUID strings. A field marked ? is optional.

Read tools#### get_documentationRead only

Returns the editing contract for clients that cannot read MCP resources. With no arguments it returns the short form, koru://docs/essentials, to read before the first change.

Inputs

uri? (koru://docs/essentials, the default; koru://docs/model, its table of contents; or koru://docs/model/<slug>, one section), section? (a slug, with koru://docs/model)

Result

{ uri, mime_type, text }

Hints

readOnlyHint

list_workspacesRead only

Lists the Koru workspaces this connection can reach.

Inputs

none

Result

{ workspaces: [{ id, owner, name, created_at, last_opened_at?, icon?, color?, pinned, archived, deleted_at?, position }] }

Hints

readOnlyHint

list_documentsRead only

Lists a workspace's documents without opening their content.

Inputs

workspace_id

Result

{ documents: [{ id, parent?, ordinal, title, kind, trashed_at?, trashed_by? }] }

Hints

readOnlyHint

read_documentRead only

Reads a document as a complete, ordered tree of typed nodes, plus the revision token that edits need.

Inputs

workspace_id, document_id

Result

{ document_id, root_node_id, revision, schema_version, nodes }

Hints

readOnlyHint

list_filesRead only

Lists files in a workspace with stable IDs, names, MIME types, sizes, hashes and note IDs.

Inputs

workspace_id

Result

{ files: [{ file_id, name, mime, size?, hash, root_node_id, note_id? }] }

Hints

readOnlyHint

get_fileRead only

Returns one file's metadata without reading its bytes.

Inputs

workspace_id, file_id

Result

{ file_id, name, mime, size?, hash, root_node_id, note_id? }

Hints

readOnlyHint

read_fileRead only

Reads up to 1 MiB of a file's bytes as base64 from an offset; continue until eof.

Inputs

workspace_id, file_id, offset? (default 0), length? (at most 1 MiB)

Result

{ file, offset, length, total_bytes, eof, base64 }

Hints

readOnlyHint

list_document_versionsRead only

Lists a document's saved history markers, newest first.

Inputs

workspace_id, document_id

Result

{ entries: [entry], next_before_at?, next_before_id? }

Hints

readOnlyHint

compare_document_versionsRead only

Compares two history entries using Koru's typed node model, not Markdown: added, removed, moved, reordered and modified nodes.

Inputs

workspace_id, left_entry_id, right_entry_id

Result

{ unchanged_nodes, changes }

Hints

readOnlyHint

Write tools#### create_documentWrites

Creates a document, optionally with its whole body, in one atomic call. It only becomes visible once complete, and returns what read_document would.

Inputs

workspace_id, title, kind? (page), parent_document_id? (nests it; absent means the workspace root), idempotency_key? (UUID, replays for seven days), root_node_id? (required with initial_operations), initial_operations? (insert, insert_inline, set_done, set_language only)

Result

{ document_id, root_node_id, revision, schema_version, nodes }

Hints

destructiveHint false, idempotentHint false

edit_documentWrites

Applies a batch of edit operations, in order and atomically, at the revision from the latest read_document.

Inputs

workspace_id, document_id, base_revision, operations (see Edit operations)

Result

{ revision, history: entry }

Hints

destructiveHint true, idempotentHint true

ensure_file_noteWrites

Returns a file's note, creating it when the file has none. The note is an ordinary document for read_document and edit_document.

Inputs

workspace_id, file_id

Result

{ note_id, created }

Hints

destructiveHint false, idempotentHint true

extract_to_documentWrites

Moves whole blocks into a new or existing document and leaves one /document link where they were.

Inputs

workspace_id, source_document_id, base_revision, source_node_id, extra_source_node_ids?, expected, and exactly one of new_document_title or target_document_id, with under_node_id? for an existing target

Result

{ document_id, document_revision, source_revision, source_link_node_id, history: { document, source } }

Hints

destructiveHint true, idempotentHint false

save_document_versionWrites

Saves a pinned version of the document as it is now.

Inputs

workspace_id, document_id, label?, message?

Result

entry: { id, document, version, reason, recorded_at, label?, message?, boundary?, pinned }

Hints

destructiveHint false, idempotentHint false

restore_document_versionWrites

Restores a saved version by writing new, forward-moving changes, with history markers before and after.

Inputs

workspace_id, document_id, entry_id, base_revision

Result

{ revision, history: entry }

Hints

destructiveHint true, idempotentHint true

The server publishes 25 tools in Koru 0.1.10, 15 that read and 10 that write. A few more tools than are listed here are not covered by this page yet.

Edit operationsedit_document takes a list of operations, each an object with an op. Every operation on an existing node carries expected, the exact text read_document returned for it, so a change never lands on content the client did not read. Positions are given by node IDs and after_node_id (null means first); numeric positions are not accepted. at_utf8 is a UTF-8 byte offset into expected.

opFieldsWhat it does
replace_textnode_id, expected, textReplaces one node's text.
insertnode_id (new UUID), parent_id, after_node_id?, kind, textInserts a block. kind is paragraph, quote, listblock, table, code, contact, divider or task; body blocks go under the document-title node.
insert_inlinenode_id, expected, at_utf8, inlineInserts a /document link ({ type: document, document_id, node_id?, label? }) or a file attachment ({ type: attachment, file_id, label? }) into a text node.
movenode_id, expected, parent_id, after_node_id?Moves a block and its children within the document. The title node cannot be moved.
removenode_id, expectedRemoves a block and everything under it. The title node cannot be removed.
set_donenode_id, expected, doneChecks or unchecks a checkbox block.
set_languagenode_id, expected, language (null for auto-detect)Sets a code block's language; refused on any other kind.
set_attributenode_id, expected, key, valueSets a typed attribute (koru.due, koru.priority, koru.color or a key the workspace defines). value is date, datetime_zoned, datetime_floating, text, number, bool or url.
clear_attributenode_id, expected, keyRemoves every value under one key.
add_tagnode_id, expected, tag or tag_idTags a block by name, creating the tag (and its parents) if needed.
remove_tagnode_id, expected, tag or tag_idRemoves one tag. A name that matches nothing changes nothing.

The server never accepts Markdown or raw CRDT operations; it translates these semantic operations through Koru's own document model. The whole batch is validated on a copy first, so it applies completely or not at all.

Resources and promptsThe server publishes the editing contract as MCP resources (text/markdown): koru://docs/essentials, the short form to read first, and koru://docs/model, the table of contents of the full contract, with each section at koru://docs/model/<slug>. get_documentation returns the same text. Some clients and proxies do not forward resources, so the tool is the portable way to read it.

The server publishes no prompts. Its capabilities are tools and resources, and its instructions ask the client to read koru://docs/essentials before its first change.

What Claude can and cannot see in your notes- Every workspace, read and write. The built-in connection acts as you on this computer, with read and edit access to every workspace Koru has here. There is no per-workspace selection and no read-only mode for it today. Reach covers documents in the trash (search with lifecycle: trash), file bytes through read_file, and version history.

  • Only what the client asks for. Nothing is pushed to the client. Claude sees what its tool calls return, and only while it is connected.
  • Nothing leaves your computer through the server. The bridge talks to Koru over a local connection: Koru's service listens on 127.0.0.1 only. The one way your notes leave the machine here is what the MCP client itself does with tool results, such as Claude sending them to Anthropic as part of the conversation under Claude's own terms.
  • Changes are ordinary edits. An agent's changes are saved to your local database like your own, with history markers before and after each one, so you can compare or restore them. If you sync between your devices, they travel the same way.
  • Local logs, without your queries. The bridge writes a rotating log, koru-mcp.log, in Koru's local logs folder: tool names, timings and error codes. Search text is not logged.
  • What it cannot do. There are no tools to delete or rename a whole document, move a document to another place in the workspace, add files, or send raw CRDT operations.

Moves, renames and links- Moving blocks inside a document. The move operation keeps the block's node ID, carries expected so a concurrent split cannot move the wrong half, and refuses to move the title node.

  • Moving blocks to another document. extract_to_document writes the destination first and only touches the source once the destination is saved, then leaves a /document link where the blocks were. If the source step fails, the error names the new document and the source is unchanged: content can be duplicated, never lost. It is the same machinery as the app's own Move to document.
  • Links survive moves. A /document link stores the target's stable document ID (and optionally a block ID), not its title or location, and is resolved when it is opened, so moving the target later does not break it. A block ID that no longer resolves falls back to opening the document.
  • Renames. There is no rename tool. A document's title is the text of its title node.
  • Conflicts. Every change to an existing block must include that block's exact current text, or the call fails with precondition_failed (stale_node if the block is gone) and the client reads again. Each batch is checked as a whole before any of it is applied, and base_revision must come from the document's own history. The server never guesses which change should win.

When the Koru window is closedThe server is not hosted by the Koru window. Your MCP client starts koru-mcp as its own process, and the bridge looks for Koru's background service each time it needs it. If none is running, the bridge starts Koru's background agent installed beside it and waits for it, so the Koru window does not have to be open.

Claude can use Koru even when the app is closed; it starts Koru's background service on its own, on Windows, macOS and Linux. On a Mac, open Koru once from Applications before you connect Claude.

Errors and troubleshooting- storage_failed Koru answered, but saving failed.

  • stale_node, precondition_failed A block's text no longer matches what the edit expected, or the block is gone. Read the document again and retry.
  • revision_conflict The base_revision is not in this document's history. Read the document again for a fresh one.
  • idempotency_conflict A create_document key was reused with different input.
  • unknown_attribute, attribute_rejected The key is not defined in that workspace, or the value has the wrong shape.
  • invalid_request, permission_denied A malformed or unknown field, or a workspace outside this connection.
  • documentation_missing The installed copy of the model contract is missing; reinstall Koru.

koru-mcp doctor prints a JSON status for the connection to Koru, and koru-mcp --version prints the bridge version. If your client shows old tool schemas after an update, quit it completely so its old bridge process exits, and open it again.

Platforms- Windows. koru-mcp.exe ships with Koru. The Welcome page shows and copies the command from 0.1.3.

  • macOS. koru-mcp ships inside the app bundle, at /Applications/Koru.app/Contents/MacOS/koru-mcp. Move Koru.app to Applications before connecting a client, rather than running it from the DMG. The Welcome page shows and copies the command from 0.1.4.
  • Linux. koru-mcp ships in Koru for Linux (x86_64), beside koru in the folder you extracted it into. Use its full path in your client, for example /home/you/koru/koru-mcp serve --stdio.

Last updated