1. Conduid
  2. Security
  3. Vault MCP Server
MCP server · Security

Vault MCP Server

Model Context Protocol server for HashiCorp Vault integration

Unclaimed MPL-2.0 security
62Good

Scored 1 hours ago · breakdown

About Vault MCP Server

Vault MCP Server is an MCP server published by hashicorp in the Security category: model Context Protocol server for HashiCorp Vault integration. Conduid read 16 tools from its source: create_mount, create_pki_issuer, create_pki_role, delete_mount, delete_pki_role, delete_secret and 10 more. No package is published for it, so it installs from a source checkout.

The repository has 68 stars and 27 forks, is licensed MPL-2.0, and its last commit was on 30 Nov 2026. The latest release is v0.2.0 (24 Sep 2025): 0.2.0 FEATURES Support for Vault PKI operations (create, list, read, delete) Comprehensive HTTP middleware stack (CORS, TLS, logging, Vault context, rate limiting) Sessi… The release before it was v0.1.0 (24 Sep 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include security.

Install

From source
git clone https://github.com/hashicorp/vault-mcp-server

Tools (16)

create_mountMount a new secrets engine on a specific path in Vault.
ParameterTypeDescription
descriptionstringA description for the mount.
optionsobjectOptional mount options, specific to the mount type.
path *stringThe path where the mount will be created. Examples would be 'secrets' or 'kv'.
type *stringThe type of mount. Examples would be 'kv' or 'kv2' for a versioned kv store.
create_pki_issuerCreate a new PKI SSL certificate issuer in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confusion in a production environment.
ParameterTypeDescription
common_name *stringCommon Name (CN) for the PKI issuer. This is typically the name of the organization or entity that the certificates will be issued for. Examples would be example.com or My Company.
issuer_name *stringUnique name of the issuer which will be used to identify the issuer in Vault. This is not the common name of the certificate itself but, could be derived from the common name if it makes sense.
mountstringThe mount where the pki issuer will be created. Defaults to 'pki'.
root_issuerstringOptional root issuer name. This issuer must be present in the Vault PKI mount specified by 'root_mount'.
root_mountstringOptional root certificate mount, if you are creating an intermediate certificate issuer.
ttlstringOptional default ttl for the issuer. Defaults to '30d' (30 days). Other formats are also accepted, such as '87600h' for 10 years.
type *stringThe type of issuer. Currently only 'internal' is supported for PKI issuers.
create_pki_roleCreate a new PKI SSL certificate role in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confusion in a production environment.
ParameterTypeDescription
allow_any_namebooleanThis parameter allows the role to issue certificates with any Common Name (CN). If set to true, the role will not restrict the CN of the issued certificates. If set to false, the CN must match one of the allowed domains specified in 'allowed_domains'. Defaults to true.
allow_glob_domainsbooleanThis parameter allows the role to issue certificates with wildcard domains. If set to true, you can use wildcards in the allowed domains (e.g., '*.example.com'). If set to false, only exact domain matches are allowed. Defaults to false.
allow_ip_sansbooleanThis parameter allows the role to issue certificates with IP Subject Alternative Names (SANs). If set to true, you can specify IP addresses in the 'allowed_domains' list. If set to false, only domain names are allowed. Defaults to false.
allowed_domainsstringThis is a comma separated list of allowed domains for the role. If 'allow_any_name' is true, this list will be ignored. If 'allow_glob_domains' is true, you can use wildcards in the domains (e.g., '*.example.com'). If 'allow_ip_sans' is true, you can also specify IP addresses in this list.
issuer_namestringThe name of the issuer. This is the name of the issuer that was created with the create_pki_issuer tool. If not specified, it defaults to 'default'. This is useful when you have multiple issuers and want to specify which one to use for this role.
max_ttlstringOptional maximum TTL for the role. This is the maximum time that a certificate issued by this role can be valid. Defaults to '30d' (30 days). Other formats are also accepted, such as '87600h' for 10 years.
mountstringThe mount where the pki role will be created. Defaults to 'pki'.
role_name *stringThe name of the role. You can use this name to refer to the role when issuing certificates via the issue_pki_certificate tool. This name must be unique within the mount and should be descriptive enough to clearly identify it's use.
delete_mountDelete a mounted secret engine in Vault. Use with extreme caution as this will remove all data under the mount path!
ParameterTypeDescription
path *stringThe path where of mount to be deleted. Examples would be 'secrets' or 'kv'.
delete_pki_roleDelete a PKI SSL role in Vault.
ParameterTypeDescription
mountstringThe mount where the pki role will be deleted. Defaults to 'pki'.
role_name *stringThe name of the role.
delete_secretDelete a secret from a KV mount in Vault using the specified path and mount. If you specify a key, only that key will be deleted. If no key is specified or you delete the last key, the entire secret will be deleted.
ParameterTypeDescription
keystringA optional key in the secret to delete. If not specified, all keys in the the secret will be deleted.
mount *stringThe mount path of the secret engine. For example, if you want to delete to 'secrets/application/credentials', this should be 'secrets' without the trailing slash.
path *stringThe full path to delete the secret to without the mount prefix. For example, if you want to delete to 'secrets/application/credentials', this should be 'application/credentials'.
enable_pkiEnable the PKI (Public Key Infrastructure) secrets engine in Vault, allowing for the issuance and management of SSL/TLS certificates. ## Setting up the Root CA - Create a root PKI mount using this tool, giving it a suitable name that best describes its intended use. Examples could incorporate the domain name in to the name and include 'pki', 'pki_root', or 'pki_ca'. - Create a PKI issuer using the 'create_pki_issuer' tool, which will define the CA (Certificate Authority) for the PKI root mount. - Create a PKI role using the 'create_pki_role' tool, which will define the policies and constraints for issuing certificates against this root issuer. ## Setting up an Intermediate CA - Make sure you have set up the root CA as described above. - Create a new intermediate PKI mount using this tool, giving it a suitable name that best describes its intended use. Examples could incorporate the domain name in to the name and include 'pki_int' or 'pki_int_ca'. You will need to specify the 'root_mount' and 'root_issuer' parameters to link it to the root CA. - Create a PKI issuer using the 'create_pki_issuer' tool, which will define the CA (Certificate Authority) for the PKI intermediate mount. - Create a PKI role using the 'create_pki_role' tool, which will define the policies and constraints for issuing certificates against this intermediate issuer. ## Issuing SSL/TLS Certificates as an Intermediate CA or Root CA - Set up the root CA according to the instructions above. If you want to issue certificates as an intermediate CA, make sure you have set up the intermediate CA as well. - Create a PKI issuer using the 'create_pki_issuer' tool, which will define the CA (Certificate Authority) for the PKI mount. - Create a PKI role using the 'create_pki_role' tool, which will define the policies and constraints for issuing certificates. - Issue certificates using the 'issue_pki_certificate' tool, which will allow you to generate certificates based on the defined role.
ParameterTypeDescription
descriptionstringA description for the pki mount.
max_ttlstringThe maximum time-to-live (TTL) for certificates issued by this PKI mount. Defaults to '87600h' (10 years).
pathstringThe path where the pki mount will be created. Defaults to 'pki'.
issue_pki_certificateCreate a new PKI SSL certificate issuer in Vault, allowing for the issuance of SSL/TLS certificates.
ParameterTypeDescription
common_name *stringCommon Name (CN) for the PKI certificate. This is typically the name of the organization or entity that the certificates will be issued for. Examples would be example.com or My Company.
mountstringThe mount where the pki issuer will be created. Defaults to 'pki'.
role_name *stringThe name of the role you want to use to generate the certificate. This name must correspond to a role_name in the data returned from the list_pki_roles function.
ttlstringOptional TTL for the certificate. This is the time that the certificate will be valid for. Defaults to '30d' (30 days). Other formats are also accepted, such as '87600h' for 10 years.
list_mountsList the available mounted secrets engines on a Vault Server.
list_pki_issuersGet a list of PKI issuers on a specific pki mount in Vault, allowing you to see all the configured issuers for that mount.
ParameterTypeDescription
mountstringThe mount where the pki issuer will be listed. Defaults to 'pki'.
list_pki_rolesGet a list of PKI roles which are able to issue certificates, allowing you to see all the configured roles for a specific PKI mount in Vault.
ParameterTypeDescription
mountstringThe mount where the pki roles will be listed. Defaults to 'pki'.
list_secretsList secrets in a KV mount under a specific path in Vault
ParameterTypeDescription
mount *stringThe mount path of the secret engine. For example, if you want to list 'secrets/application/credentials', this should be 'secrets' without the trailing slash.
pathstringThe full path to list the secrets to without the mount prefix. For example, if you want to list from 'secrets/application/credentials', this should be 'application/credentials'.
read_pki_issuerRead a PKI issuer details from a specific mount in Vault, allowing you to retrieve information about a specific PKI issuer.
ParameterTypeDescription
issuer_name *stringThe name of the issuer you want to retrieve. This name must correspond to an issuer_name in the data returned from the list_pki_issuers function.
mountstringThe mount where the pki issuer will be created. Defaults to 'pki'.
read_pki_roleRead a PKI role details from a specific mount in Vault. This allows you to retrieve information about a specific PKI role.
ParameterTypeDescription
mountstringThe mount where the pki role will be created. Defaults to 'pki'.
role_name *stringThe name of the role you want to retrieve. This name must correspond to a role_name in the data returned from the list_pki_roles function.
read_secretRead a secret from a KV mount in at a specific path in Vault.
ParameterTypeDescription
mount *stringThe mount path of the secret engine. For example, if you want to read from 'secrets/application/credentials', this should be 'secrets' without the trailing slash.
path *stringThe full path to read the secret to without the mount prefix. For example, if you want to read from 'secrets/application/credentials', this should be 'application/credentials'.
write_secretWrites a secret value to a KV store in Vault using the specified path and mount. Supports both KV v1 and v2 mounts. If a KV v2 mount is detected, the currently stored version of the secret will be returned.
ParameterTypeDescription
key *stringThe key name for the secret. For example if you want to write mysecret=myvalue, this should be 'mysecret'
mount *stringThe mount path of the secret engine. For example, if you want to write to 'secrets/application/credentials', this should be 'secrets' without the trailing slash.
path *stringThe full path to write the secret to without the mount prefix. For example, if you want to write to 'secrets/application/credentials', this should be 'application/credentials'.
value *stringThe value to store the given key. For example if you want to write mysecret=myvalue, this should be 'myvalue'

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.8K words.
  • ✓License declaredThe repository declares the MPL-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.
  • ✓No dynamic code executionScanned 25 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
Streamable HTTPcmd/vault-mcp-server/main.go:147
Starts other programs
No calls that start other programs
Outbound network calls
1 callpkg/client/client.go:68
Writes or deletes files
1 callcmd/vault-mcp-server/init.go:51
Lockfile
go.sum

Pattern matches on the source text of 25 files: places to read, not proof of what the code does at run time.

Releases

v0.2.0v0.2.0 · 24 Sep 20250.2.0 FEATURES Support for Vault PKI operations (create, list, read, delete) Comprehensive HTTP middleware stack (CORS, TLS, logging, Vault context, rate limiting) Session-based Vault client management Structured logging with configurable…
v0.1.0v0.1.0 · 24 Sep 20250.1.0 FEATURES Initial release of Vault MCP Server Support for Vault mount operations (create, list, delete) Support for Vault secret operations (read, write, list) Docker support Basic HTTP & STDIO transport support

README

The repository's README runs to about 1.8K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Vault MCP Server

How do I install Vault MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Vault MCP Server safe to use with an AI agent?

Its trust score is 62 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 25 source files found that it serves MCP over Streamable HTTP, makes outbound network calls (1 call) and writes or deletes files (1 call). Its dependencies are pinned by go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Vault MCP Server still maintained?

Yes — the last commit was 2 days ago. The repository has 68 stars and 27 forks and 20 open issues.

What tools does Vault MCP Server provide?

Conduid read 16 tools from the source: create_mount, create_pki_issuer, create_pki_role, delete_mount, delete_pki_role, delete_secret, enable_pki, issue_pki_certificate and 8 more. 15 of them publish their parameters, listed under Tools above.

What license is Vault MCP Server released under?

The repository declares the MPL-2.0 license. That applies to the latest release, v0.2.0, as well.