Vezlu
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Vezlu Draft two launch plans on separate branches, compare them, and wait for my pick"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vezlu
Keep two approaches, inspect their actual text, and combine the parts you choose.
Vezlu is a small local Claude companion for text artifacts: launch plans, research notes, decision briefs or code snippets. Claude supplies the alternatives. Vezlu stores, compares and combines them through a CLI or nine MCP tools. Each project has independent named branches and immutable revision snapshots in SQLite.
Install
Requires Python 3.12+ on macOS or Linux. From this repository's directory:
python3 -m venv .venv
.venv/bin/python -m pip install .
.venv/bin/vezlu --helpThe runtime dependency is the official MCP Python SDK, pinned to 2.3.0. No model account or API key is needed to run the CLI. Your Claude host has its own access requirements.
Related MCP server: claude-continuity-mcp
Try a complete example
.venv/bin/vezlu --store "$PWD/.vezlu/demo" demo
.venv/bin/vezlu --store "$PWD/.vezlu/demo" call branches '{"project":"launch-demo"}'
.venv/bin/vezlu --store "$PWD/.vezlu/demo" call compare '{"project":"launch-demo","left":"community","right":"partners"}'
.venv/bin/vezlu --store "$PWD/.vezlu/demo" call read '{"project":"launch-demo","branch":"combined"}'The demo uses fixture text, not model output or a performance benchmark. From one launch plan, community changes the brief to a free neighbourhood trial with a repeat-attendance goal; partners changes distribution to library and club partnerships. The JSON output shows both complete alternatives, exact differences and a third combined result containing the community brief and partner channels. The original alternatives remain available.
The demo creates launch-demo once. Repeating it in that store returns project already exists; choose a fresh private store path for another run. The default store, when --store is omitted, is ~/.local/share/vezlu.
Use with Claude
Add this entry to your Claude Desktop MCP configuration, replacing both paths with absolute paths on your machine:
{
"mcpServers": {
"vezlu": {
"command": "/absolute/path/to/vezlu/.venv/bin/vezlu",
"args": ["--store", "/absolute/private/data/vezlu", "serve"]
}
}
}Restart the host and enable the server. serve speaks MCP over stdio. The test suite checks the official SDK's subprocess handshake and tool calls; a live Claude Desktop session is a separate host setup check. Local MCP server configuration describes the host configuration. The adjacent SKILL.md provides a focused workflow you can give Claude.
Try: “Create two approaches to my launch. Keep the same artifact keys on both branches. Show their differences, explain the tradeoffs, and wait for my choice before combining selected artifacts.”
Operations
CLI calls use vezlu [--store DIRECTORY] call OPERATION 'JSON_OBJECT'. MCP tool names and arguments match the table. Results are JSON text; CLI errors return an error object and exit status 1. MCP input failures return tool errors. A merge conflict is a successful request with ok: false, and never changes the target.
Operation | Arguments | Result |
| none | Saved project names |
|
| Empty |
|
| Names and current heads |
|
| New branch at source head |
|
| Head, selected revision and all artifacts |
|
| New head; changes map keys to text, or |
|
| Newest reachable revision IDs, parents and merge source |
|
| Both heads and sorted changes with exact before/after text and unified diffs |
|
|
|
Read current heads before a write, fork or merge, then send those exact tokens. A stale token refuses the operation: reread the branch, inspect the new content and reconsider the choice. Multiple artifact changes commit atomically.
Combination rules
Combination works on whole artifacts, without line-level merging. For each selected key, Vezlu finds the unique closest common ancestor of the branch heads, then:
Adopts source changes if the target still matches the base, including additions and deletions.
Retains target-only changes and accepts identical edits.
Returns base, source and target values when both branches changed an artifact differently. All selected changes are withheld if any conflict occurs.
Choose conflicting text manually and save it with write; there is no automatic winner. Unrelated or ambiguous ancestry is refused. A partial combination records its source reference but only records the source as a second ancestry parent when all its changes are present in the result. This keeps unselected source changes available later. Repeated edits after a partial combination can conservatively conflict and need manual choice.
Branching, version history, unified diffs and three-way merging are established version-control techniques. Vezlu applies them to a small local text workflow. It does not measure which alternative is better.
Storage and limits
Artifacts are logical keys, never imported files or filesystem paths. Project and branch names use 1–64 ASCII letters, digits, dots, underscores or hyphens and start with a letter or digit. Artifact keys allow similarly named slash-separated segments, up to 200 characters. Text must be valid UTF-8, at most 64 KiB per artifact, 128 artifacts and 1 MiB of text per snapshot. History accumulates on disk; there is no pruning in this version.
The store contains plaintext. Use a private directory on a local filesystem. Vezlu creates it with mode 0700 and the database with 0600; unsafe existing permissions, symlink path components, symlink database sidecars and hardlinked databases are refused. On macOS, /tmp is a symlink: use a real absolute directory, such as one under your home. These checks protect against accidental redirection; they are not a boundary against another process acting as your own user.
There is no cloud sync, model invocation, HTTP listener, shell-command tool, filesystem import/export, hook or telemetry. Outputs appear only in CLI/MCP responses. Keep secrets out of artifacts. Back up the store only while all Vezlu processes are stopped. Windows and network filesystems are not supported in this release.
Check the distribution
From the checkout, with Python 3.12+ available as python:
python scripts/verify_distribution.pyThe helper creates temporary build and install environments, builds one wheel and installs it with its declared dependencies. It verifies the installed module's location and runs all 25 tests from a copied test file outside the checkout, with Python path overrides and user site packages disabled. It also checks the installed vezlu --help and fixture demo commands. Temporary environments, build files and stores are removed when the helper exits.
CI is configured to run this command on ubuntu-latest and macos-latest, each with Python 3.12 and 3.14. The workflow's job results report which combinations have passed. A live Claude Desktop session remains a separate host setup check.
The tests cover isolated branches, immutable history, restarts, independent and conflicting combinations, deletion, partial ancestry, concurrent stale writers, malformed input, private paths, real SDK stdio negotiation and the CLI fixture demo. MIT licensed; see LICENSE.
Available Tools
9 toolsbranchB
Fork source into a new branch, guarded by the source's expected_head.
Inputs: branch (required), source (required), project (required), expected_head (required).
branchesC
List a project's branch names and current head tokens.
Inputs: project (required).
compareB
Show exact before/after text and unified differences between two branch heads.
Inputs: left (required), right (required), project (required).
createB
Create a project with an empty main branch. Returns its head token.
Inputs: project (required).
historyC
List newest reachable revisions with ancestry and merge source references.
Inputs: branch (required), project (required), limit.
mergeB
Combine selected artifact paths using common ancestry. Requires both current heads. Conflicts leave target unchanged.
Inputs: paths (required), source (required), target (required), project (required), +2 more.
projectsA
List saved project names.
Inputs: no named parameters.
readC
Read all artifacts and head, or an immutable revision in this branch's ancestry.
Inputs: branch (required), project (required), revision.
writeA
Atomically replace whole text artifacts; null deletes. Requires the current expected_head.
Inputs: branch (required), changes (required), project (required), expected_head (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool maps to a distinct resource and action: project listing/creation, branch listing/forking, artifact reading/writing, revision history, head comparison, and merging. No two tools overlap in purpose, and guards like expected_head further clarify use.
Names are all lowercase and readable, but they mix resource nouns (projects, branches, history) with bare verbs (create, read, branch, write, compare, merge). The pattern is understandable but not a consistent verb_noun convention.
Nine tools is well-scoped for a lightweight versioned artifact store. Every tool covers a needed facet—projects, branches, revisions, reads/writes, diffs, and merges—without redundancy.
Core workflows for creating projects, branching, reading/writing artifacts, inspecting history, comparing heads, and merging are covered. Minor lifecycle gaps remain, such as deleting or renaming projects and branches, but agents can work around them.
Related MCP Connectors
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Versioned artifact review for people and AI agents, with contextual comments and human control.
Persistent, governed institutional memory for Claude Code — specs, decisions, learnings.
Persistent project context for Claude. IANA-registered .faf format.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides Claude with persistent local memory and a structured knowledge graph for tracking project states, task dependencies, and historical context. It enables users to store notes, manage task relationships, and perform time-travel queries to reconstruct past information without relying on cloud services.MIT
- AlicenseAqualityBmaintenancePersistent, shared memory for Claude across sessions and clients (Code, Desktop, Cowork) — deterministic diff reads, checkpoints, cross-client task handoff, and project-wide search. 100% local and deterministic, no API keys, no LLM summarization.6353 PyPI4MIT
- FlicenseNot gradedqualityBmaintenanceEnables Claude Code to record a verifiable history of code changes with before/after and rationale, and to propose changes that users can accept or discard, all reviewable on a local web timeline.-
- AlicenseAqualityBmaintenanceEnables local-first document versioning with content-addressable storage, word-level AST diffs, and AI-compliance auditing for LLM agents.6MIT