@tenetvault/mcp-server

Local-first memory and rules layer for AI coding agents — via Model Context Protocol.
Quick Start
npx -y @tenetvault/mcp-server@latest setup cursor
This initializes the vault and configures Cursor MCP in one step. Replace cursor with claude, codex, or all.
Verify with:
npx -y @tenetvault/mcp-server@latest doctor
Features
- 33 MCP tools: memories, rules, collections, review queue, merge, context approval, decisions, tasks, enforcement, compliance, vault status, governance, and tool-call control
- Human-in-the-loop: all AI-created memories start as candidates until you approve
- Feature flags:
mcp_write_enabled (default off) guards all write operations
- Local-first: SQLite database, zero cloud dependency, your data stays on your machine
- Sensitive data protection: auto-scans for API keys, tokens, passwords before storing
CLI Commands
tenetvault setup <ide>
tenetvault doctor [ide]
tenetvault init
tenetvault capture --title <t> --content <c>
pbpaste | tenetvault capture --title <t> --kind lesson
tenetvault review today --approve 1,3 --reject 2 --complete
tenetvault start
tenetvault open
tenetvault version
tenetvault flags list
tenetvault flags set <key> <on|off>
Documentation
Full documentation is included in the source repository. The GitHub link is usable only when that repository is publicly available or the reader has access: github.com/tenetvault/tenetvault.
License
MIT