Inkling

v0.23.0 self-hosted

AI agents read and edit the notes your team writes

A notes app a team writes in together: pages, wiki links, databases. Each person connects their own AI (Claude, Cursor, …). The AI reads only the part it needs and suggests edits. A person decides whether to accept them, and whatever an AI changed is on record and can be reverted.

You run it on your own server with Docker. The MCP server is built in.

Tour without signing up · GitHub

Press "Try without an account" and you are in (that account and what is in it are deleted after 24 hours). To keep using it, sign up with an ID and a password. It is one person's server with tight limits and may stop or be reset without notice, so keep nothing important there. If sign-up is full, see the tour or install it yourself.

A short form of the real output printed in the find and edit sections below.

Video

Watch it work

The video has no sound. What it shows is written out below it, scene by scene.

  1. Notes you write together. Two people edit the same page with live cursors, a [[link]] connects two pages, and a database inside a page shows as a board.
  2. Your AI agents read the notes. Someone asks the agent when the launch is and who sends the email. find_context lights up only the two sections that answer it, one in each of two pages, read_page reads them, and the answer cites both. The screen shows "48 MCP tools" and "−72% tokens", the numbers under Connect and Find.
  3. Agents edit, you decide. patch_section leaves a suggested edit on the page; a person opens Review and accepts it, and the version line offers Revert for the accepted edit. Then update_row moves a card on the database board from To do to In progress.
  4. On your own server. A laptop and a phone stay connected to your server; the laptop goes offline, still shows its page, and syncs again when it reconnects.

The notes app

What people write in

The pages agents read are ordinary team notes, edited in real time in the browser.

Databases

Table, board, calendar, gallery, timeline, chart, form and list views, with relations, rollups, formulas and automations.

Links, graph and canvas

[[wikilinks]], backlinks, a workspace and local graph, and a canvas compatible with JSON Canvas.

Tasks and calendar

A checklist item with a date is a task, listed in the Due view and on the workspace calendar.

Real-time editing

Co-editing with Yjs, comments on pages and sections, version history and the trash.

Sharing

Roles, per-page levels and guests; public links with expiry, password and a scheduled start.

English and Korean

The interface comes in both languages, installs as a PWA and has light and dark themes.

A meeting-notes page with wiki links and tasks; the right panel shows the outline, backlinks, outgoing links and tags
A page with its backlinks and outgoing links in the right panel.
A roadmap database shown as a board grouped by status
A database as a board, grouped by status.

People decide

Suggestions, history and locks stay with people

The review dialog for a section an agent suggested to change: the suggestion as a diff, with Reject and Accept

Suggestions

suggest=true, a workspace setting or a page's lock turns agent edits into suggestions. A person sees each one as a diff and accepts it, rejects it or takes only some of its changes. The agent finds the answer in its inbox. No tool lets an agent accept.

How agents edit, per workspace

Owners and admins choose: edit directly (the default), accept by rules (for example additions at the end of a section), or review everything. A rule accepts an edit only while its section is exactly as the agent read it.

Every agent write is a version

Each write is its own version in the page history ("AI edit"), labelled "<person> (via <app>)". People can revert one change or everything a connection changed on a page, and undo the revert.

Edit locks and rules for agents

A locked page tree can hold agents to suggestions, comments or reading, separately from people. Workspace rules for agents live in locked pages that get_instructions returns. Agents cannot change locks.

The edit lock dialog with a separate setting for AI agents
The edit lock dialog: people and agents get separate settings.
The Activity screen listing recent changes by people and by agents
Activity: changes by people and through agents, newest first.

Find

One call returns the sections that answer

find_context(query) ranks sections across your workspaces and packs them into a token budget (3,500 by default). Each result carries its page id, §anchor and version, which the edit tools take. queries=[…] searches several phrasings at once, such as a question and its translation.

An agent asks a question. Real output from a demo workspace; ids differ on every server.

› find_context(query: "launch checklist status page")
1 result(s) for "launch checklist status page", ~63/3500 tokens
<untrusted_content source="find_context">
[1] Q4 launch plan › Checklist
(page bf62b053; §checklist v=3a3739a2f5ab; can: read,comment,edit; edited by Priya Nair)
- [x] Pricing page copy
- [ ] Status page, owner Sam Ortiz, due 2026-11-20
- [ ] Support macros for the new plans

Title matches without text:
- Pricing page copy (page b4b7b832, doc)
- Status page (page 20f7143e, doc)
</untrusted_content>

Next: read_page(pageId, section=anchor) for a full section; read_page(pageId, outline=true) for structure.

Measured once on 2026-11-12 by one agent connected over remote MCP to a server running 0.22.1: on a 1,332-line page, read_page for one section took 147 ms and returned 1.2 KB, and reading the whole page took 2,564 ms and returned 385 KB.

2,254 → 624 tokens

per question, −72%, and 3.68 → 1.00 tool calls

Measured when find_context replaced search plus whole-page reads: 28 questions in English and Korean over a 25-page wiki padded to 1–2k tokens a page, plus 5,000 unrelated pages. Ranking by words only. Token counts are estimates (estimateTokens), not a model's tokenizer. Performance log

Edit

Change one section, against the version it read

patch_section(pageId, section, markdown, mode, baseVersion) changes one section. If the section changed since the agent read it, nothing is written and the answer carries the current text to merge. A person typing in the same section keeps their text. claim_section holds a section for up to 30 minutes: other agents' direct edits to it are refused, and people are never blocked.

Sam ticked a box after the agent read the section, so the first edit is refused and the retry goes through. Real output.

› patch_section(pageId: "bf62b053", section: "checklist", mode: "append",
                markdown: "- [ ] Changelog post", baseVersion: "3a3739a2f5ab")
Conflict: Section "checklist" changed since baseVersion 3a3739a2f5ab; nothing was written. Merge your edit into the current content and retry with baseVersion 96198f73e6eb.

Current §checklist (v=96198f73e6eb):
## Checklist

* [x] Pricing page copy
* [x] Status page, owner Sam Ortiz, due 2026-11-20
* [ ] Support macros for the new plans

› patch_section(…, baseVersion: "96198f73e6eb")
Done (append): §checklist is now v=1ae7c04d3487.

~2,415 → ~222 tokens

to change one sentence: read and replace the page, or patch_section

6 of 6

test scenarios where a person typing in the patched section keeps their text (was 1 of 6)

One sentence changed on the padded evaluation page; the typing scenarios run against the section patch code. Token counts are estimates (estimateTokens). Performance log: tokens, concurrent typing

Scope

What limits an agent

An agent acts as the person who connected it and sees only what that person can see in the web app. On top of that:

  • Read only, or read and write. Chosen per connection on the consent screen; a read-only connection's write tools refuse.
  • A range. Everything the person can see, only some workspaces, or one page and the pages under it. It can be changed later without reconnecting.
  • Suggestions a person accepts. A workspace set to review everything, or a lock set to suggestions only, holds every agent edit until a person accepts or rejects it. No tool lets an agent accept.
  • Edit locks and agent blocks. A locked page tree can hold agents to comments or reading; owners and admins can block an agent in their workspace. Agents cannot change locks.
  • No permanent delete. There is no tool for it; trash_page can be undone for 30 days.

Text that members wrote reaches the agent inside <untrusted_content>, a marker that helps the agent tell members' text from instructions; text that looks like a prompt injection is flagged and makes the connection suggest-only for an hour. Both are mitigations, not permission checks: detection can be evaded and a model can still be misled.

Hand off

Give work to one person's agent

In a comment or a to-do, mention an entry like "Bob · Claude Code", or pick an agent in a database person cell. Only that agent's inbox lists it. Team agents, in the header of Activity, shows what each connection is on: the sections it claimed, its suggestions waiting for a person and what it did today.

When an agent comes back

  • catch_up() ranks what happened since its last visit: things for its person, due tasks, comments, changes by others.
  • inbox(cursor) lists mentions, replies, assignments and the answers to its suggestions; ack marks them handled.
  • changes_since(cursor) returns what changed, with per-section diffs, so a local copy stays in sync.
The Team agents board listing each person's agent connections with claimed sections, waiting suggestions and today's work
Team agents: what each person's agent is working on.

Who it is for

Several people and several agents on the same notes

If you keep notes alone in one folder, Obsidian and an agent that reads the files directly are enough. Inkling is for the case where several people and several agents work on the same notes, such as a small team of three to five people who each work with their own agent. Inkling has no AI model of its own; writing and summarizing are done by the agents you connect.

Teammates

Teammates install nothing

One person installs Inkling. Everyone else signs up in the browser with a signup key from the admin, joins the workspace through an invite link, and connects their own AI in Settings › Connections. That screen shows the command or settings for each app; for Claude Code it is one command, then Allow in the browser. The steps are in the user guide under Members and Connecting your AI.

Quick start

Try it on your computer with an agent

Needs Docker Compose v2.24 or newer, bash and curl. The commands below are for a local trial; a server with a domain and HTTPS is under Install.

  1. Start Inkling

    Downloads Inkling and starts it with generated secrets on a free local port (usually 3000).

    git clone https://github.com/PROVE1352/inkling.git && cd inkling
    ./deploy/local.sh

    When the server is up, the script prints a one-time setup link (/setup?code=…) and the MCP address. ./deploy/local.sh stop stops the trial, ./deploy/local.sh destroy deletes it.

  2. Check that it answers

    Asks the server for its version (use the port the script printed).

    curl http://localhost:3000/api/version

    The answer is JSON with build, version and updateMode.

  3. Create the first account

    A person does this step: open the setup link in a browser and create an account. It becomes the administrator.

  4. Make an agent connection token

    A person does this step. Sign-in does not work at a plain http:// address, so the trial uses a token: open http://localhost:3000/settings/connections, make an agent connection token named after the client, read and write, 7 days. Copy it when it is shown; it is shown once.

  5. Add the server to Claude Code

    Adds Inkling under the name inkling and sends the token as a header (put in your port and token).

    claude mcp add --transport http inkling http://localhost:3000/mcp --header "Authorization: Bearer <token>"
  6. Check the connection

    Ask the agent to create a page, or to find_context something. In Inkling, its edits show "you (via Claude Code)".

Connect

One address, signed in as each person

The MCP server is part of the app, at https://<your domain>/mcp. Each person connects their own client with OAuth 2.1, and the agent sees only what that person can see in the web app. There are 48 tools.

  1. Add the server to your client

    Adds Inkling to Claude Code under the name inkling.

    claude mcp add --transport http inkling https://notes.example.com/mcp

    In claude.ai, add a custom connector with the same address. claude.ai connects from Anthropic's servers, so the server must be reachable from the internet.

  2. Sign in as yourself

    A person does this step. In Claude Code run /mcp, choose inkling and Authenticate. Inkling's consent screen opens in the browser: sign in, choose Read and write or Read only and what the connection may see, then click Allow. Tokens refresh by themselves.

  3. Optional: list fewer tools

    Connects with the core profile: 32 tools instead of 48, about 7,900 tokens of tool list per session instead of 13,200. The other tools stay one more_tools call away.

    claude mcp add --transport http inkling "https://notes.example.com/mcp?profile=core"
Apps that cannot sign in. Some apps cannot sign in to an MCP server, and sign-in does not work at a plain http:// address. For those, a person makes an agent connection token in Settings › Connections (read only or read and write, an expiry of 7 to 365 days, shown once) and the app sends it as a header. The same screen, under Connect an AI app, writes the settings for Claude Code, claude.ai and Claude Desktop, Cursor, VS Code and a generic mcpServers JSON. Details: MCP connector.

Transport and sign-in. MCP Streamable HTTP (stateless, JSON responses) at /mcp. Sign-in is OAuth 2.1 (dynamic client registration, and Client ID Metadata Documents when the server sets OAUTH_CIMD=1), or an agent connection token sent as Authorization: Bearer.

Tools agents use most

ToolKindWhat it does
find_contextreadRanked sections across your workspaces, packed into a token budget, each with page id, §anchor and version. Start here.
read_pagereadA page as Markdown; outline=true lists sections, section=… reads one.
patch_sectionwriteChange one section with baseVersion; a stale version returns a conflict with the current text.
claim_sectionwrite"Working on this section" for this connection, up to 30 minutes.
list_suggestionsreadSuggested edits and their outcome.
inboxreadMentions, replies, assignments and answers to suggestions, not yet acknowledged.
catch_upreadWhat happened while the agent was away, most important first.
changes_sincereadWhat changed since a cursor, with per-section diffs.
get_instructionsreadThe workspace's rules for agents from locked instruction pages.
trash_pagewriteMove to trash, restorable for 30 days. There is no permanent-delete tool.

48 tools in all; 32 with ?profile=core. The full list with arguments: MCP connector (Markdown).

Install

Run it on a server

You need Docker with the Compose plugin. The app is the prebuilt image ghcr.io/prove1352/inkling (amd64 and arm64), so a 1 GB server builds nothing.

  1. Run it on a server

    Point a domain at the server (ports 80 and 443 open) and start it with the Caddy overlay, which obtains the certificate and keeps the app and database ports private. Fill in .env first:

    cp .env.example .env
    # in .env: PUBLIC_URL=https://notes.example.com   DOMAIN=notes.example.com
    #          POSTGRES_PASSWORD=<long random string>  BACKUP_PASSPHRASE=<keep a copy off the server>
    #          APP_SECRET_KEY=<openssl rand -base64 32>   (keep INKLING_DATA_NAME=inkling)
    docker compose -f compose.yaml -f deploy/compose.caddy.yaml up -d
    ./deploy/signup-key.sh new "first admin"   # prints https://notes.example.com/register

    The last command prints the signup link (https://notes.example.com/register); open it to create the first account. Backups run in a sidecar: scheduled, verified, optionally encrypted, with weekly restore tests. To upgrade, take a backup, pull the new image and restart; migrations run on boot. See Deployment, Operations and Backup.

Before you rely on it
  • It needs PostgreSQL (there is no SQLite mode) and runs as a single instance.
  • There are no native desktop or mobile apps; the web app installs as a PWA.
  • Without semantic search, which is off by default, find_context matches words: an English question does not find a note written only in Korean unless the agent passes queries=[question, translation].
  • It was tested mostly in Chrome.
  • It is a young project with a small user base, written with heavy use of AI coding agents and then reviewed for concurrency, resource use and security. Open problems: Known issues.