Vault MCP

v0.2.1
io.github.Chill-AI-Space/vault Checked 3 days ago Published 9 months ago

MCP server for credential isolation — bots use passwords and API keys without seeing them

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

vault_login

Log into a website using stored credentials. The bot never sees the password — Vault fills the login form via Chrome DevTools Protocol. Supports TOTP 2FA if configured.

ParameterTypeDescription
site_id *stringThe site identifier (e.g. "github", "jira")
timeout_msnumberLogin timeout in milliseconds (default: 15000)
totp_selectorstringCSS selector for TOTP/2FA input field

vault_api_request

Make an API request with stored credentials. The API key is injected automatically — the bot never sees it. Supports header, query param, and basic auth patterns.

ParameterTypeDescription
service *stringThe service identifier (e.g. "openai", "stripe")
url *stringThe API endpoint URL
auth_typestringAuth pattern: "header" (default), "query" (append key as URL param), "basic" (HTTP Basic Auth)
bodystringRequest body (JSON string)
headersobjectAdditional headers
methodstringHTTP method (default: GET)

vault_list

List all available credentials in the vault. Returns only site IDs and types — no secrets.

vault_status

Check the status of a specific credential: active/inactive, last used, audit count.

ParameterTypeDescription
site_id *stringThe site identifier to check

vault_add

Securely add a new credential to the vault. Opens a browser form where the user enters their password directly — the password NEVER passes through the AI agent. Supports templates for popular services (github, jira, stripe, etc.).

ParameterTypeDescription
service_typestringType of credential (default: web_login, or from template)
session_scopedbooleanIf true, credential auto-deletes when MCP session ends
site_idstringPre-fill the site identifier (e.g. "github"). If a template exists, selectors auto-fill.

vault_remove

Remove a credential from the vault permanently.

ParameterTypeDescription
site_id *stringThe site identifier to remove

vault_update

Update an existing credential. Opens a browser form to enter new password/API key — the secret NEVER passes through the AI agent.

ParameterTypeDescription
site_id *stringThe site identifier to update

vault_check

Verify a credential is valid and ready to use. Checks existence, active status, required fields, and expiration.

ParameterTypeDescription
site_id *stringThe site identifier to check

vault_import

Import API keys from a .env file. Each key is stored as an encrypted api_key credential. The .env values pass through memory only — never returned to the agent.

ParameterTypeDescription
file_path *stringPath to the .env file
mappingobjectMap .env variable names to site IDs, e.g. {"STRIPE_KEY": "stripe", "OPENAI_KEY": "openai"}. If omitted, all variables are imported.

vault_templates

List available credential templates for popular services. Templates auto-fill login URLs and CSS selectors.