# RelayVault

> RelayVault is an open-source MCP server for developer tools. Local MCP server that stores encrypted, redacted task checkpoints for handing work between. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, macOS, Linux, Windows
- **Repository:** https://github.com/ranjitmani61/relayvault
- **MCP Registry name:** io.github.ranjitmani61/relayvault
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

RelayVault keeps task state in a local SQLite database and swaps detected secrets for stable workspace tokens, with the original values encrypted in a local vault. Another model can pick up the redacted handoff and later have tokens restored on the trusted machine.

It runs as an MCP server over stdio for clients such as Claude Desktop, Claude Code and Cursor, and also offers a REST API and a command-line interface. Commit, checkout and history tools are available by default, while restoring plaintext for agents is disabled unless explicitly enabled.

It suits developers who move coding work between different models and want secrets kept out of the outgoing handoff. Detection is heuristic, so the README recommends reviewing redacted output before sending it to a model.

## Features

- **Redacted task checkpoints:** Commits task state to a local SQLite WAL database with detected secrets replaced by workspace-specific tokens.
- **Encrypted local vault:** Stores original secret values encrypted with Fernet under a local master key.
- **MCP, REST and CLI access:** Exposes commit, checkout and history operations through MCP tools, HTTP endpoints and command-line commands.
- **Reversible file redaction:** Dehydrates and rehydrates files locally while preserving original bytes and line endings on successful round trips.
- **Workspace permissions:** Requires bearer keys and per-workspace read or write grants for HTTP and REST access.
- **Integrity verification and backups:** Verifies checkpoint and vault integrity and provides consistent snapshot backup and restore commands.

## Good for

- Hand a coding task from one model to another without sending raw API keys
- Review redacted configuration files locally before sharing them with an external model
- Keep an integrity-checked history of checkpoints across a team's workspaces
- Back up and restore a local secret vault with its key and salt

## Install

### Claude Code (Terminal)

```sh
claude mcp add relayvault -- uvx relayvault
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "relayvault": {
      "command": "uvx",
      "args": [
        "relayvault"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "relayvault": {
      "command": "uvx",
      "args": [
        "relayvault"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "relayvault": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "relayvault"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "relayvault": {
      "command": "uvx",
      "args": [
        "relayvault"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "relayvault": {
      "command": "uvx",
      "args": [
        "relayvault"
      ]
    }
  }
}
```

## Tools

- `relayvault_commit_checkpoint`: Commits a redacted task checkpoint.
- `relayvault_checkout_handoff`: Retrieves a handoff for a target model.
- `relayvault_list_history`: Lists checkpoint history for a workspace.

## FAQ

### Does RelayVault prevent secrets from reaching the first model?

No. The protection applies to the outgoing redacted handoff to the second model. Text already sent to the first model before a commit is not covered, so the README advises running dehydrate-file locally first.

### Which MCP tools are available by default?

relayvault_commit_checkpoint, relayvault_checkout_handoff and relayvault_list_history. Agent rehydration is disabled by default.

### How is the server installed?

Install version 0.2.0 from PyPI into a Python 3.11 or later environment, then run relayvault-mcp for stdio or relayvault serve-api for REST.

### Is the vault encrypted?

Original secret values are encrypted with Fernet in a local SQLite vault, with a master.key file stored alongside it.

### Is RelayVault free?

Yes. RelayVault is open source, so you can use and self-host it for free.

### How do I add RelayVault to Claude Code?

Run this command in your terminal: claude mcp add relayvault -- uvx relayvault

### What are the best alternatives to RelayVault?

The closest alternatives to RelayVault are mcp-warden, Claude Checkpoint MCP, Secret, Cohort MCP and EchoVault Memory.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [mcp-warden](https://ai-powered.com/mcp/mcp-warden): mcp-warden is an open-source MCP server for security.
- [Claude Checkpoint MCP](https://ai-powered.com/mcp/claude-checkpoint-mcp-2): Claude Checkpoint MCP is an open-source MCP server for ai models and llm tooling.
- [Secret](https://ai-powered.com/mcp/secret): Secret is an open-source MCP server for security.
- [Cohort MCP](https://ai-powered.com/mcp/cohort-mcp): Cohort MCP is an open-source MCP server for knowledge and memory.
- [EchoVault Memory](https://ai-powered.com/mcp/echovault-memory): EchoVault Memory is an open-source MCP server for knowledge and memory.
- [Keyfold](https://ai-powered.com/mcp/keyfold): Keyfold is a paid MCP server for security.
- [mneme Record](https://ai-powered.com/mcp/mneme-record): mneme Record is an open-source MCP server for developer tools.
- [VibeDNA Vault](https://ai-powered.com/mcp/vibedna-vault): VibeDNA Vault is a free MCP server for security.

---
Source: https://ai-powered.com/mcp/relayvault
