New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@tenetvault/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tenetvault/mcp-server

Local-first memory and rules layer for AI coding agents — MCP server and CLI.

npmnpm
Version
0.9.10
Version published
Weekly downloads
52
-13.33%
Maintainers
1
Weekly downloads
 
Created
Source

@tenetvault/mcp-server

npm version

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

  • 37 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>    # Auto-configure MCP (cursor|claude|codex|all)
tenetvault doctor [ide]   # Diagnose activation issues (--json for CI)
tenetvault init           # Initialize an encrypted vault at ~/.tenetvault/
# Non-interactive: tenetvault init --passphrase-file <private-0600-file>
tenetvault capture --title <t> --content <c>  # Save a candidate growth memory
pbpaste | tenetvault capture --title <t> --kind lesson
tenetvault review today --approve 1,3 --reject 2 --complete
tenetvault start          # Start daemon (Local API + vault runtime) + Web UI
tenetvault open           # Start if needed and open the dashboard
tenetvault vault unlock   # Unlock interactively in this terminal
tenetvault vault quick-unlock enable  # macOS opt-in; stores a device key, never your passphrase
tenetvault vault quick-unlock         # User-triggered system authentication after a restart
tenetvault vault quick-unlock status  # Inspect non-sensitive configuration state
tenetvault vault quick-unlock forget  # Remove this Mac's device slot and Keychain item
tenetvault vault quick-unlock downgrade # Verify both recovery paths, remove device slots, return to v2
tenetvault vault rotate-key --confirm # Rekey SQLCipher and every active key slot
tenetvault version        # Show version
tenetvault flags list     # List feature flags
tenetvault flags set <key> <on|off>  # Toggle a feature flag

The daemon can be healthy while the encrypted Vault is locked. Agents cannot read protected data in that state. Unlock from the local dashboard or a trusted local terminal; agents never receive or submit your passphrase. Quick Unlock is an explicit macOS convenience feature and never runs automatically. It is available only in releases whose app-like Keychain helper is formally signed and provisioned; the current release retains the code but ships it disabled and fail-closed until those Apple release materials are available. Manual passphrase and recovery unlock remain supported.

The MCP initialize response instructs Agents to load relevant memories, active rules, and decisions before non-trivial work. If that context is unavailable or locked, the Agent must stop the entire task, wait for the human to recover through a trusted local interface, and reload context before resuming. The Agent never receives or submits a Vault credential.

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

FAQs

Package last updated on 22 Jul 2026

Related posts