# enclave

> enclave is a free MCP server for security. Let your agent ask for a password by one-time link and use it without seeing it. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, macOS, Linux
- **Repository:** https://github.com/avgvstvs96/enclave
- **MCP Registry name:** io.github.AVGVSTVS96/enclave
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-18

## About

Instead of pasting a secret into chat, the agent sends you a link. You enter the value in your browser, it is encrypted before it leaves, and only the agent's own vault can open it. The agent later uses it through commands such as `enclave run`, which hides any matching value in output as [hidden KEY], or by piping it to whatever types it.

The vault also holds 2FA setup keys and passkeys. A passkey signs a sign-in inside Chrome through a companion extension without the private key leaving the vault. The README says the relay cannot read requests, links work once and expire after 24 hours, and there is a hosted relay with no account. ChatGPT, Claude.ai and the Gemini and Grok apps cannot use it yet because the vault lives on the agent's own computer.

## Features

- **One-time secret links:** Links work once and expire within 24 hours.
- **Encrypted before sending:** The relay cannot read what is submitted.
- **Secrets used unseen:** `run` replaces values in output with a hidden marker.
- **2FA and passkeys:** Generates TOTP codes and signs passkey sign-ins in Chrome.
- **Proton Pass import:** Copies logins, 2FA, passkeys, notes and cards from Proton Pass.

## Good for

- Give an agent a login without typing it in chat
- Let a coding agent use an API key without exposing it
- Sign in to a site with a passkey held by the agent
- Bring an existing Proton Pass vault into an agent workflow

## Install

### Claude Code (Terminal)

```sh
claude mcp add enclave -- npx -y enclave-link
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "enclave": {
      "command": "npx",
      "args": [
        "-y",
        "enclave-link"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "enclave": {
      "command": "npx",
      "args": [
        "-y",
        "enclave-link"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "enclave": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "enclave-link"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "enclave": {
      "command": "npx",
      "args": [
        "-y",
        "enclave-link"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "enclave": {
      "command": "npx",
      "args": [
        "-y",
        "enclave-link"
      ]
    }
  }
}
```

## Tools

- `wait_for_secret`: Waits for the person to answer a secret request, up to about 25 minutes.

## FAQ

### Does it need an account?

No; it works with a hosted relay with no accounts or keys, and you can self-host a relay.

### Which agents work?

Shell-based agents via a skill and MCP clients such as Cursor, Claude Desktop, Windsurf and VS Code.

### Can ChatGPT or Claude.ai use it?

Not yet, because the vault lives on the computer where the agent runs.

### How long does a link last?

It works once and expires after 24 hours.

### Is enclave free?

Yes. enclave is free to use.

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

Run this command in your terminal: claude mcp add enclave -- npx -y enclave-link

### What are the best alternatives to enclave?

The closest alternatives to enclave are REA, AiSOC, redamon, x64dbg-mcp-server and Agent Roast.

## Where this comes from

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

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [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.
- [Cisa Kev](https://ai-powered.com/mcp/cisa-kev): Cisa Kev is a freemium MCP server for security.

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