Back to Home
hashicorp icon

vault-mcp-server

Verified Safe

by hashicorp

Overview

Provides a Model Context Protocol (MCP) server implementation to integrate HashiCorp Vault secrets management and PKI operations with LLM clients.

Installation

Run Command
docker run -i --rm -e VAULT_ADDR -e VAULT_TOKEN -e VAULT_NAMESPACE hashicorp/vault-mcp-server:0.2.1

Environment Variables

  • VAULT_TOKEN
  • VAULT_ADDR
  • TRANSPORT_MODE
  • MCP_ALLOWED_ORIGINS
  • MCP_CORS_MODE
  • MCP_TLS_CERT_FILE
  • MCP_TLS_KEY_FILE

Security Notes

The server implements robust security features including configurable CORS policies (`MCP_ALLOWED_ORIGINS`, `MCP_CORS_MODE`), TLS support (`MCP_TLS_CERT_FILE`, `MCP_TLS_KEY_FILE`), and global/per-session rate limiting. It explicitly rejects Vault tokens passed via URL query parameters. It uses environment variables for sensitive configurations, preventing hardcoding. The README clearly warns that the server is intended for local use only and that exposing Vault data (including secrets) to untrusted LLMs/clients is a significant inherent risk that users must mitigate.

Similar Servers

Stats

Interest Score42
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars25
Forks5
Last Update2026-01-15

Tags

VaultSecrets ManagementPKIGoMCPAPI Gateway