HashiCorp Vault MCP Server

Securitystdiov0.2.0
Repository

MCP server for HashiCorp Vault secrets management. Enables AI agents to read and write secrets, list secret paths, and manage key/value engines under controlled policies, so applications and workflows can retrieve credentials securely from AI-powered tools.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "vault": {
      "command": "npx",
      "args": [],
      "env": {
        "VAULT_ADDR": "<YOUR_VAULT_ADDR>",
        "VAULT_TOKEN": "<YOUR_VAULT_TOKEN>"
      }
    }
  }
}

Tools (2)

read_secret

Read a secret from a Vault key/value path.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Secret path (for example secret/data/app/config)"
    }
  }
}

list_secrets

List secret keys under a Vault path.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Path to list keys under"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
HashiCorp (@hashicorp)
Repository
https://github.com/hashicorp/vault-mcp-server
License
MPL-2.0
Version
0.2.0
Stars
367
Last Updated
July 9, 2026