obmp-agent
Allows an AI agent to join an Obsidian Multiplayer shared note or folder as a member with its own key and role, read and edit shared content alongside people, and be managed by the owner through pause, rollback, and key revocation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
obmp-agent
The agent peer for Obsidian Multiplayer. One command line tool, one MCP server and one mount daemon. An agent joins a shared note or folder as a member with its own key and role, next to the people typing in it. Its cursor reads [AI: name]. The owner can pause it, roll back its edits and revoke its key.
Install
npm install -g github:abhaymettu/obmp-agent
obmp-agent helpNode 24.22 or newer on the 24 line, or 26.11 or newer. Earlier releases, Node 22 included, stop reporting a file to recursive fs.watch once it is replaced by a rename, so a person's edits after an agent's write go unseen. One runtime dependency, loro-crdt, which ships prebuilt WebAssembly. No native build step.
Related MCP server: obsidian-mcp-lite
Connect a client
The plugin's Add agent button writes the key to ~/.obmp/agents/<alias>.key (mode 0600) and copies the client line. To print it again:
obmp-agent setup claude claude # also codex, cursor, opencode
obmp-agent status claudeA plain vault folder needs no key:
obmp-agent mcp --vault ~/vaultGuides live with the plugin:
Quickstart: plugin to first agent edit, pause, rollback and revoke
Integration guide: CLI, MCP tools by role, mount daemon, handoffs, leases, exit codes
Agent skill: the procedure an agent follows inside a share
Keys
A key never goes on a command line. obmp-agent refuses one in argv with exit 11 before any network code loads. Use --stdin, --from-file or OBMP_KEY_FILE. obmp-agent doctor checks file modes, expiry and relay reach, and scans shell history and MCP configs for a pasted key.
How it relates to the plugin
The engine, wire format and crypto are Obsidian Multiplayer's core. This repo carries the plugin repo as a git submodule, upstream/, pinned to a public commit, and reaches core through one file, src/core.ts. The bundle in dist/ includes core, so an install pulls nothing from upstream/ at run time. The plugin repo's CI checks out this repo with upstream/ set to its own tree and runs the whole suite, so a core change that breaks the agent fails there first.
Develop
git clone --recurse-submodules https://github.com/abhaymettu/obmp-agent
cd obmp-agent
npm install
npm run typecheck
npm testnpm test runs the unit pins and the agent kill suite: mount jail, secret leaks, swarm governor, steer authorship, pause and revoke, two keys, MCP parity. The end to end test over a real relay needs the relay binary:
cargo build --release --manifest-path upstream/relay/Cargo.tomlIt looks in upstream/relay/target/release/obre1-relay, or in OBRE1_RELAY_BIN.
A checkout runs its TypeScript source. An install runs dist/obmp-agent.mjs, which is committed so a GitHub install needs no build step. After a change under src/, run npm run bundle and commit dist/ with it; CI fails if the two differ.
Container
npm run bundle
docker build -t obmp-agent .
docker run --rm -i -v "$HOME/.obmp/agents/claude.key":/run/secrets/obmp_key:ro obmp-agent mcpThe image runs as a non-root user on node:24-alpine. The key arrives by file mount only.
License
MIT, the same license as the plugin. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Open-source Obsidian for MDX - edit local docs with agent assistance
Versioned memory for agents: markdown docs with history, safe concurrent commits, human claim links.
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI agents with direct filesystem access to an Obsidian vault for note management, task orchestration, context persistence, and git synchronization.2738 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple AI agents to share a single Obsidian vault through streamable HTTP, with per-agent bearer tokens whose folder-level read/write permissions are enforced server-side so denied folders stay invisible. Offers tools for listing, reading, searching, stating, writing, editing, appending, moving and optionally trashing notes, backed by revision checks, atomic writes, per-file locking and an audit log.MIT
- AlicenseCqualityBmaintenanceConnects AI assistants and agents to Obsidian vaults through strongly typed tools and resources for reading, creating, searching, organizing, and analyzing notes, tasks, properties, tags, and knowledge-graph data. Supports secure remote access via stdio or Streamable HTTP/SSE with bearer authentication and path isolation.33MIT
- AlicenseNot gradedqualityCmaintenanceExposes a local Markdown vault to AI agents over stdio, letting them search, read, create, update (with mtime-guarded writes), and append notes, as well as list and manage saved views. Write permissions can be toggled per group in settings, and all changes land as plain Markdown/YAML files in the chosen folder.MIT