Docmancer logo

Docmancer

Indexes local coding-agent knowledge and retrieves source-cited Markdown memory without sending core data off the machine.

Install Docmancer

Run the project’s own setup commands, in order.

Setup steps from the project

Docmancer installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    pipx install docmancer
    
  2. 2. Run
    pipx ensurepath
    
  3. 3. Run
    docmancer setup
    
  4. 4. Add to your MCP client
    docmancer mcp install codex
    

Overview

The Docmancer MCP server indexes local agent instructions, memory, rules, and session history, then retrieves relevant context as source-cited answers. It organizes durable knowledge into editable Markdown and can project that shared memory to connected coding agents. Use it when multiple agents have accumulated conflicting or fragmented project knowledge and you want local, reviewable evidence. Backup, restore, consolidation, and an optional web interface are also available through the Docmancer CLI.

Use cases

  • Search decisions recorded by coding agents
  • Consolidate durable project constraints from session history
  • Share reviewed Markdown memory across supported agents
  • Back up and restore local agent histories
  • Inspect the context delivered to each agent

Key features

  • Source-attributed local memory retrieval
  • Editable canonical Markdown memory
  • SQLite FTS5 and vector-assisted indexing
  • Reviewable consolidation proposals
  • Encrypted local backup and restore
  • Agent-specific context projections

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

29/29 checks healthy over the last 113d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars134Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.

How Docmancer works

What the Docmancer MCP server does

The Docmancer MCP server turns local coding-agent knowledge into searchable, source-attributed memory. It examines supported agents' instruction files, memory directories, rules, and session history, then indexes the material while retaining the contributing source for each claim. This is useful when Claude Code, Codex, Cursor, Gemini, or other supported agents have learned different project conventions or decisions.

Durable context is represented as ordinary Markdown rather than an opaque database. You can read, edit, search, commit, move, or delete these files. Stable docmancer://memory/<id> addresses preserve references when a memory file moves. Proposed changes are shown as a complete diff and require approval before they are written.

How it works

The local default profile uses SQLite FTS5, sqlite-vec, and a vendored embedding model. Recall produces bounded answers containing policy, curated memory, and supporting agent evidence with stable citations. An optional language model can turn that evidence into prose, but it does not determine what enters the answer.

The ask command queries the indexed material, while consolidate identifies durable decisions and constraints in protected histories. Consolidation proposals link back to exact transcript evidence and remain pending until reviewed and approved. Content hashes are required when modifying or moving an existing memory file, helping prevent one agent from overwriting a newer version.

Setup and configuration

Install Docmancer with pipx install docmancer or uv tool install docmancer. The setup command does not modify the project directory in which it is run.

Use docmancer web from a project directory to open the local interface. It shows the Shared Memory file tree, provenance for the selected file, and the bounded projection that a selected connected agent will receive. The core product does not require an API key or account.

Tools and capabilities

  • Search local agent knowledge with docmancer ask.
  • Build and review memory proposals with docmancer consolidate, including --review and --approve.
  • Create encrypted local archives with docmancer backup --local and preview operations with --dry-run.
  • Restore archives while skipping identical files, merging safe configuration, and quarantining divergent sessions.
  • Exclude authentication stores, .env files, literal MCP environment values, caches, logs, telemetry, and machine keys from backup and restore.
  • Inspect shared Markdown and agent-specific context projections in the web interface.

The Docmancer MCP server also supports optional Personal Sync for encrypted transport, managed revision history, device pairing, and recovery across machines. That service is separate from the local-only core and requires connecting an account with docmancer cloud connect.

Limitations and notes

Agent backup and restore are described as development-preview commands. Managed Cloud snapshots are gated on migration and recovery acceptance. Personal Sync is an optional paid service after a 30-day trial; local memory and local features continue working regardless of billing state. The material does not list MCP client configuration steps or a separate set of MCP tool names, so integration details may depend on the client and the package's current documentation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Docmancer

Docmancer is an MCP server that connects coding-agent memory, instructions, rules, and session history on your local machine to shared Markdown retrieval. Its main capabilities are source-cited asking, indexing, canonical-memory consolidation, and agent-specific context projection, with local backup and restore available.

Install it with `pipx install docmancer` or `uv tool install docmancer`, then run `docmancer setup`. Setup discovers supported agents, shows its planned changes and privacy warning, and waits for confirmation before indexing data and configuring supported recall features.

Yes, Cursor is listed among the supported coding agents. Docmancer can index Cursor rules and make shared Markdown memory available through the connected-agent workflow, including an interface for inspecting the projection selected for an agent.

Yes, the default local profile is described as offline by default and uses SQLite FTS5, sqlite-vec, and a vendored embedding model. Core operation requires no account, API key, model download, network call, or daemon.

Run `docmancer backup --local --to ~/Backups/agents.dmbak`, or preview the operation with `docmancer backup --dry-run`. Archives are passphrase-encrypted, and sensitive stores, environment files, caches, logs, telemetry, and machine keys are excluded.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDocmancer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/docmancer?style=directory)](https://allmcps.com/mcp/docmancer)
HTML Embed
<a href="https://allmcps.com/mcp/docmancer"><img src="https://allmcps.com/api/badge/docmancer?style=directory" alt="Docmancer on AllMCPs" /></a>