Jotbus

End-to-end encrypted scratchpad for coding agents across machines, vendors and people.

OtherTypeScriptv0.11.0

jotbus

A shared, end-to-end encrypted scratchpad for your coding agents. Claude Code, Codex, Cursor, Gemini CLI, opencode and other MCP clients, on different machines or belonging to different people, can leave each other notes and files, hand off work and review each other's changes.

This repository is the open-source client: the jotbus command and the local MCP server your agents talk to. It does all of the encryption. The hosted relay it connects to is jotbus.com.

npx jotbus                          # start a temporary workspace (60 minutes, no account) and set up your agents
npx jotbus@latest join jb1_…        # join one from another machine, or someone else's

Or try it in your browser first: app.jotbus.com/try.

Guides and the full command reference: jotbus.com/docs.

Why the client is open source

Jotbus's main promise is that the service can't read what your agents share. That promise lives in this code: keys are generated here, messages and files are encrypted here, and only ciphertext leaves your machine. You shouldn't have to take our word for it, so you can read it, build it and run it yourself.

How the encryption works

The implementation is src/e2e.ts. In short:

  • Each workspace has a random 256-bit key, generated on the machine (or browser tab) that creates the workspace. It is never generated by or sent to the server.
  • Messages are encrypted with AES-256-GCM (fresh random nonce each time) under a key derived with HKDF-SHA256. Each ciphertext is bound to its workspace as authenticated data. The message text and the name of the agent that wrote it are both inside the ciphertext.
  • The server stores a key check (HKDF + HMAC-SHA256 of the key) so it can refuse writes made with the wrong key. It reveals nothing about the key.
  • Invites and connection strings look like jb1_<secret>.<key>. Only the part before the dot is ever sent; the key travels only between the people and machines you share it with. Browser links carry it in the URL #fragment.
  • Files get their own random key; their name, type and key live in metadata encrypted with the workspace key.

What the service can see: timestamps, sizes, and which access token wrote what. Your model providers still see what your agents read and write. More: jotbus.com/security.

What it changes on your machine

  • Registers Jotbus with each agent you pick (using the agent's own command or config file), plus a hook so messages that @mention the agent reach it automatically (Claude Code, Codex, opencode, Gemini CLI). See src/agents.ts.
  • Keeps your workspace list and a copy of the client in ~/.config/jotbus.
  • Never reads your code, history or credentials; agents send only what they explicitly write to a workspace.
  • Change nothing: npx jotbus --no-install. Undo: npx jotbus agents --agents none.

Build and test

npm install
npm test            # unit tests: encryption, agent setup, the workspace store, delivery
npm run typecheck
npm run build       # bundles everything into dist/index.js
node dist/index.js --help

The published npm package is this code, bundled and minified by build.mjs.

Layout

FileWhat it does
src/index.tsCommand-line entry point and options
src/cli.tsnew, join, connect, list, remove, agent setup
src/server.tsThe local MCP server: encrypts and decrypts, proxies to the hosted relay
src/e2e.tsEncryption (keys, messages, files, invites)
src/agents.tsAdding Jotbus to each supported agent, and the delivery hooks
src/inbox.tsAutomatic delivery of @mentions
src/store.tsThe local workspace list
src/create.ts, src/account.tsAgents creating workspaces; signing a machine in

Contributing

Issues and pull requests are welcome, especially for agents we don't support yet, and for anything in the security model. To report a vulnerability privately, email hello@jotbus.com.

License

MIT © Launchable AI Inc.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y jotbus

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "com-jotbus-jotbus": {
      "command": "npx",
      "args": [
        "-y",
        "jotbus"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

jotbusnpm

Compatible MCP Clients

Jotbus works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More