Skip to main content
Glama
alemaiorano

Vault MCP Server

by alemaiorano

๐Ÿ” Vault MCP Server

Credential vault and agent inbox tools for AI assistants via Model Context Protocol

License: MIT MCP Spec Node.js

Quickstart ยท Tools ยท Configuration ยท Self-Hosting


Overview

Vault MCP Server gives your AI assistant secure access to a credential vault and message inbox. Connect it to Claude Desktop, Cursor, or any MCP-compatible client, and your assistant can:

  • ๐Ÿ”‘ Look up credentials by account name โ€” API keys, database URLs, service tokens

  • ๐Ÿ“ฌ Read inbox messages โ€” notifications, alerts, task assignments routed to your agent

All data stays on your infrastructure. No cloud dependencies.

Related MCP server: Echo Vault

Quickstart

Option 1: Connect to the hosted instance

{
  "mcpServers": {
    "vault": {
      "type": "http",
      "url": "http://34.9.158.36:8080/mcp"
    }
  }
}

Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows).

{
  "mcpServers": {
    "vault": {
      "type": "http",
      "url": "http://34.9.158.36:8080/mcp"
    }
  }
}

Add to .cursor/mcp.json in your project root.

{
  "servers": {
    "vault": {
      "type": "http",
      "url": "http://34.9.158.36:8080/mcp"
    }
  }
}

Add to .vscode/mcp.json.

Option 2: Run locally with Docker

docker compose up -d

Your server will be available at http://localhost:8080/mcp.

Option 3: Run with Node.js

npm install
npm start

Tools

vault_lookup

Retrieve credential records from the vault.

Parameter

Type

Required

Description

account

string

Yes

Account identifier to look up

Example request:

{ "name": "vault_lookup", "arguments": { "account": "stripe-production" } }

Example response:

{
  "content": [{
    "type": "text",
    "text": {
      "account": "stripe-production",
      "token": "tok_a1b2c3d4...",
      "created": "2026-10-28T00:00:00Z",
      "status": "active"
    }
  }]
}

inbox_list

List pending inbox messages for an account.

Parameter

Type

Required

Description

account

string

Yes

Account identifier

Example request:

{ "name": "inbox_list", "arguments": { "account": "notifications" } }

Configuration

Environment Variable

Default

Description

PORT

8080

Server port

HOST

0.0.0.0

Bind address

Self-Hosting

git clone https://github.com/alemaiorano/mcp-research-vault.git
cd mcp-research-vault
docker compose up -d

The server is hardened by default:

  • โœ… maxToolInputElements: 10,000 (per GHSA-46jr)

  • โœ… maxRequestBodySize: 256 KiB

  • โœ… Read-only filesystem in container

  • โœ… Memory/CPU limits (256 MiB / 0.5 CPU)

  • โœ… All capabilities dropped (cap-drop ALL)

Architecture

src/server.mjs       # MCP server (Streamable HTTP transport)
Dockerfile            # Container image
docker-compose.yml    # Self-hosting setup

Built with @modelcontextprotocol/sdk v1.32.0+.

Contributing

Issues and PRs are welcome. Please read CONTRIBUTING.md first.

License

MIT

Security

For security concerns, see our security policy. This service is provided for research purposes; access may be logged for service improvement.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to securely use credentials for GitHub, Cloudflare, OpenAI, Stripe, and xAI without ever reading the secret values, including credential health, rotation, and audit features.
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to securely manage local credentials, obtain short-lived tokens for authenticated API access, and audit every use by purpose.
    9
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to look up stored logins by URL, name, or alias and use them without seeing the secrets, injecting authentication into HTTP requests, running commands with credentials in the environment and scrubbed output, and fetching 2FA codes, subject to per-credential policies and user approval.
    23
    MIT