# vault-ask

> vault-ask is a freemium MCP server for security. Request or send secrets for an agent without them ever appearing in the chat. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI
- **Website:** https://vault.erseni.com/ai-agents
- **Repository:** https://github.com/erseni/secrets-component/tree/HEAD/cli
- **MCP Registry name:** com.erseni/vault-ask
- **Categories:** security
- **Listing updated:** 2026-11-14

## About

The problem it targets is that values typed into an agent session persist in history, local session logs and at the model provider; the vendor says that in its own check, 68 of 70 deployment secrets sat in plaintext in session logs. With vault-ask the agent names the secret and the command that needs it, the tool creates a key pair locally and shows only a link, and you open it in a browser.

Before you type anything, the page shows the exact command that will receive the value. The browser encrypts the value for the agent's machine, the server stores only ciphertext, and vault-ask decrypts locally, checks the command matches what you saw, and hands the value to that process as an environment variable. The agent sees only that a value of a given length was passed on.

It installs via npm (Node.js 20 or newer) and the service is EU-hosted and described as GDPR compliant.

## Features

- **Out-of-chat entry:** You enter the secret in your browser, not the chat.
- **End-to-end encryption:** Server holds only ciphertext.
- **Command binding:** Value is released only to the command you saw.
- **Child-process delivery:** Passed as an environment variable of one process.
- **Optional API key:** Without a key each request solves a proof of work.
- **Send and request:** Supports both sending and requesting secrets.

## Good for

- Give an agent a database password safely
- Hand an API key to a deploy command
- Collect a secret from a teammate for an agent task
- Keep credentials out of session logs

## Install

### Claude Code (Terminal)

```sh
claude mcp add vault-ask --env VAULT_ASK_API_KEY='<VAULT_ASK_API_KEY>' -- npx -y @erseni/vault-ask
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "vault-ask": {
      "command": "npx",
      "args": [
        "-y",
        "@erseni/vault-ask"
      ],
      "env": {
        "VAULT_ASK_API_KEY": "<VAULT_ASK_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "vault-ask": {
      "command": "npx",
      "args": [
        "-y",
        "@erseni/vault-ask"
      ],
      "env": {
        "VAULT_ASK_API_KEY": "<VAULT_ASK_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "vault-ask": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@erseni/vault-ask"
      ],
      "env": {
        "VAULT_ASK_API_KEY": "<VAULT_ASK_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "vault-ask": {
      "command": "npx",
      "args": [
        "-y",
        "@erseni/vault-ask"
      ],
      "env": {
        "VAULT_ASK_API_KEY": "<VAULT_ASK_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "vault-ask": {
      "command": "npx",
      "args": [
        "-y",
        "@erseni/vault-ask"
      ],
      "env": {
        "VAULT_ASK_API_KEY": "<VAULT_ASK_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Does the agent see the value?

No, it only learns that a value of a given length was received and passed on.

### What does it need to run?

Node.js 20 or newer and an npm install.

### Is there a free plan?

Yes, Free at 0 EUR without a card; Pro and Business are bookable monthly.

### Where is it hosted?

In the EU, described as GDPR compliant.

### Is vault-ask free?

vault-ask has a free plan, with paid plans for more usage or features.

### How do I add vault-ask to Claude Code?

Run this command in your terminal: claude mcp add vault-ask --env VAULT_ASK_API_KEY='<VAULT_ASK_API_KEY>' -- npx -y @erseni/vault-ask

### What are the best alternatives to vault-ask?

The closest alternatives to vault-ask 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/vault-ask
