Skip to content

rune-mcp v0.1.0

Choose a tag to compare

@jh-lee-cryptolab jh-lee-cryptolab released this 10 Jun 06:07
84d0c4d

rune-mcp is a session-local MCP server that gives agent hosts (Claude Code, Codex, etc.) access to Rune's encrypted organizational memory. The agent host spawns one instance per session over stdio; the server runs the full embedding → AES encryption → enVector storage / FHE search path, while delegating key management and decryption to Vault over gRPC.

This is the first pre-release — a Go port of the agent-delegated path of Python rune v0.3.x.

Highlights

  • 9 MCP tools for the full memory lifecycle:
    activate · capture · batch_capture · recall · capture_history · configure · diagnostics · vault_status · reload_pipelines
  • Encrypted by construction. Content is embedded and AES-encrypted before it leaves the process; plaintext is never persisted. Key custody and FHE decryption stay in Vault.
  • Lifecycle state machinestarting → waiting_for_vault → active ↔ dormant. Until boot completes, write tools are rejected with PIPELINE_NOT_READY and only read-only tools run, in a degraded mode.
  • Layered architecture with a strict one-way dependency direction (mcp → service → {policy, adapters, lifecycle, obs} → domain). Pure policy logic (novelty, rerank, query shaping, PII redaction) is isolated from external I/O.
  • Structured observabilityslog with per-request IDs and sensitive-data redaction baked into the logging path.

Notable fixes in this release

  • activate now clears the user_deactivated marker so /rune:activate reliably resumes a dormant session.
  • batch_capture rejects contentless items instead of fabricating placeholder entries.
  • recall distinguishes a top-k limit from generic invalid input, returning clearer errors.
  • capture / batch_capture tool schemas now document the expected extraction shape.
  • SearchByID base64-encodes the score blob, fixing recall by ID.

Install / run

go build -o rune-mcp ./cmd/rune-mcp
./rune-mcp --version

As an MCP server it is normally launched over stdio by the agent host rather than run directly.

Requirements

  • A reachable Vault instance (gRPC) for key management and FHE decryption
  • enVector storage backend
  • runed shared daemon runtime

What's Changed

New Contributors

Full Changelog: https://github.com/CryptoLabInc/rune-mcp/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/CryptoLabInc/rune-mcp/commits/v0.1.0