Give your coding agent a workspace. Keep the receipts.

venira-mcp is an MCP server for Claude Desktop, OpenCode, Cursor, VS Code and Codex. It reads, edits and runs commands inside one project folder, records every call in an audit trail, and rolls back with checkpoints, no git required.

Install in your project, then restart your client

npx --yes venira-mcp@latest --install auto --workspace .

Needs Node 20 or newer. One native dependency (better-sqlite3), no external binary.

Example session
No.ToolWhat happenedVerdict
1read_fileEight files in one batch callallowed
2snapshotCheckpoint snap-20261113-001500-3f9ac2 before the refactorallowed
3edit_fileRename loadConfig to readConfig. The reason is stored with the callallowed
4shell_runRemove-Item -Recurse -Force buildneeds approval
5shell_runrm -rf /denied
6snapshotRestore the checkpoint, previewed with dry_run firstallowed

Illustrative. Verdicts follow the default balanced security profile.

Built to be checked

An agent with write access needs a paper trail. These are the parts venira-mcp gives you for that.

Every call is audited

Each tool call lands in a SQLite audit trail. Mutations can carry a reason, so read_audit shows what the agent changed and why.

Undo without git

snapshot creates content-addressed checkpoints and restores them atomically, file by file. Preview a restore with dry_run before you commit to it.

Rules run before the shell does

Commands are classified as allow, ask or deny before they execute. In the default profile rm -rf / is denied and recursive force deletes need your approval.

Stale edits are refused

write_file and edit_file take expected_sha256. If the file changed in the meantime the call fails with stale_content instead of overwriting newer work.

Choose how much to expose

Every tool schema costs tokens on every prompt, so the tool set is a setting. Switch it with VENIRA_TOOL_MODE.

ModeToolsGood forContents
minimal2Tightest context; one doorexecute_js plus shell_status (~2 737 B)
core18Small models and tight contextShell, read, search, edit, snapshot, git, memory
default31Everyday codingCore plus code intelligence, no CI/CD
expert44Full workflowsDefault plus pull requests and CI

Each mode has one tool fewer when execute_js is switched off (minimal drops to 1). Details in tool modes.

Fewer round trips

Batch reads and a persistent connection beat starting a fresh shell for every lookup. Median times from one Windows 11 machine, compared with Codex exec_command, 20 paired samples per phase.

WorkloadCachevenira-mcpexec_commandFaster by
First lines of 8 files, one batchmiss53.5 ms962 ms18.0x
First lines of 8 files, one batchwarm39 ms1,103.5 ms28.3x
Search the workspace, 49 hitsmiss118.5 ms1,034.5 ms8.7x
Search the workspace, 49 hitswarm34.5 ms1,018 ms29.5x

One machine and a small sample, so read it as a direction and not a guarantee. Method and raw samples are published. See the write-up.

Connect it to your client

The installer finds your client and writes the config for you. To do it by hand, pick yours.

OpenCode

~/.config/opencode/opencode.jsonc

{
  "mcp": {
    "venira": {
      "type": "local",
      "command": ["npx", "--yes", "--package=venira-mcp@latest", "venira-mcp"],
      "enabled": true,
      "environment": {
        "VENIRA_WORKSPACE": "/absolute/path/to/project",
        "VENIRA_TOOL_MODE": "expert"
      }
    }
  }
}

Replace the path with your project folder, restart the client, then call health to check the server.

From the blog

  1. venira-mcp 6.0.0: one workspace variable, a memory lock

    Breaking cleanup of the workspace env axis, plus optimistic locking for the shared memory note.

  2. venira-mcp 5.1.0: git push lands in the tool set

    One branch, one configured remote, no force - plus switch_workspace joins the core allowlist.

  3. Benchmark: the agent tool path on Windows

    A persistent MCP connection against a fresh PowerShell per call - 20 paired samples per phase, exact output parity.

All posts