# sealkeep

> sealkeep is an open-source MCP server for security. Let AI agents run commands with your secrets while the values stay hidden and redacted. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows
- **Repository:** https://github.com/munhq/sealkeep
- **MCP Registry name:** io.github.munhq/sealkeep
- **Categories:** security
- **Listing updated:** 2026-11-15

## About

You store each secret once under a path-like name such as shared/stripe/test/SECRET_KEY, held in the operating system keyring (macOS Keychain, Secret Service or Windows Credential Manager) with an optional Vault KV v2 replica. The agent finds names with a list command, then asks sealkeep to run a command with a secret. The value goes into that one command's environment and is replaced by a placeholder like [sealkeep:NAME] in all output, so it never enters the transcript, context or a file.

The MCP server exposes three tools: list_secrets, run_with_secrets and store_status. None returns a value. A separate guard hook for Claude Code, Codex and Cursor refuses tool calls that would print a secret, such as cat .env, kubectl get secret or vault kv get. Revealing a value works only from a real terminal.

The CLI also imports dotenv and INI files, scans a machine for .env files without printing values, supports aliases so one value serves several projects, and can write a temporary dotenv file for tools that require one. An install script and a Claude Code plugin set up the server, skill and hook.

## Features

- **Hidden secret injection:** Values enter one command's environment only.
- **Output redaction:** Values become placeholders in stdout and stderr.
- **Guard hook:** Blocks commands that would print a secret.
- **Secret scan and import:** Finds .env files and imports them without showing values.
- **Aliases:** One stored value shared across projects.
- **Keyring storage:** Uses the OS keyring, with optional Vault replica.
- **Client installer:** Sets up Claude Code, Codex and Cursor.

## Good for

- Let an agent call an API with a key it cannot read
- Run a dev server with environment variables from a folder of secrets
- Give a browser-testing tool a test login without exposing the password
- Find stray .env files on a machine

## Install

### Claude Code (Terminal)

```sh
claude mcp add sealkeep -- npx -y @munhq/sealkeep
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "sealkeep": {
      "command": "npx",
      "args": [
        "-y",
        "@munhq/sealkeep"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "sealkeep": {
      "command": "npx",
      "args": [
        "-y",
        "@munhq/sealkeep"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "sealkeep": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@munhq/sealkeep"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "sealkeep": {
      "command": "npx",
      "args": [
        "-y",
        "@munhq/sealkeep"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "sealkeep": {
      "command": "npx",
      "args": [
        "-y",
        "@munhq/sealkeep"
      ]
    }
  }
}
```

## Tools

- `list_secrets`: List stored secret names
- `run_with_secrets`: Run a command with named secrets injected and output redacted
- `store_status`: Show the status of the secret stores

## FAQ

### Can the agent read the secret value?

No. No MCP tool returns a value, and output is redacted to a placeholder.

### Where are secrets stored?

In the OS keyring, with an optional Vault KV v2 replica.

### What does the guard hook do?

It refuses tool calls that would print secrets, for example cat .env or sealkeep get.

### How do I install it?

Run npx -y @munhq/sealkeep as an MCP server, or use the Claude Code plugin or install script.

### Is sealkeep free?

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

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

Run this command in your terminal: claude mcp add sealkeep -- npx -y @munhq/sealkeep

### What are the best alternatives to sealkeep?

The closest alternatives to sealkeep are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

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