Skip to content

MCP

vkv ships an MCP Server for LLMs to interact with vkv to fetch secrets from a HashiCorp Vault engine.

So far the MCP server includes one tool (export) that is able to return secrets from a connected Vault server.

Roo/Cline MCP Server Configuration

Note

Unfortunately the environment variable expansion (${env:VAULT_TOKEN}) doesn't work within the env block

{
  "mcpServers": {
    "vkv": {
      "type": "stdio",
      "command": "vkv",
      "args": [
        "mcp"
      ],
      "env": {
        "VAULT_TOKEN": "root",
        "VAULT_ADDR": "http://127.0.0.1:8200"
      },
    }
  }
}