SanctumAI — Credential Vault for AI Agents MCP Server
Credential vault for AI agents — encrypted storage, lease-based access, CRP support.
SanctumAI — Credential Vault for AI Agents scores 40 (Fair), with no SPDX license recorded. It installs as a local process. It declares 8 tools. Filed under File systems. Package registries report about 56 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
40 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: 8 of 8 tools barely described, short summary, no docs link.
How quality is graded
Where the 40 comes from
22 + 5 + 0 + 0 + 10 + 3 = 40. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sanctumsec-sanctum": { "command": "npx", "args": [ "-y", "@sanctumai/mcp-server@0.3.2" ], "env": { "SANCTUM_VAULT_PATH": "", "SANCTUM_PASSPHRASE": "YOUR_SANCTUM_PASSPHRASE" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SANCTUM_VAULT_PATH | Optional | Path to the SanctumAI vault directory. Defaults to ~/.sanctum |
SANCTUM_PASSPHRASESecret | Optional | Vault passphrase for automated/headless operation. If not set, the vault must be unlocked interactively or via the web UI. |
Tools8Tool docs quality grade F
All capabilitiesaudit_logtoolcredential_leasetoolpolicy_checktoolvault_deletetoolvault_listtoolvault_retrievetoolvault_storetool
About
@sanctumai/mcp-server
SanctumAI MCP Server — A local-first credential vault and CRP provider for AI agents.
Securely store, retrieve, and manage credentials directly from your AI tools via the Model Context Protocol.
Installation
# Run directly
npx @sanctumai/mcp-server
# Or install globally
npm install -g @sanctumai/mcp-server
# Or as a project dependency
npm install @sanctumai/mcp-server
The correct binary for your platform is installed automatically via optional dependencies.
Manual Binary Install
Download the binary for your platform from GitHub Releases and place it on your PATH.
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
Windsurf
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
VS Code / VS Code Insiders
Add to .vscode/mcp.json:
{
"servers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
Claude Code (claude code CLI)
claude mcp add sanctum -- npx -y @sanctumai/mcp-server
Or add to ~/.claude/mcp.json:
{
"mcpServers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
OpenAI Codex
Add to your Codex MCP configuration:
{
"mcpServers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
Anthropic CoWork
Add to your CoWork MCP configuration:
{
"mcpServers": {
"sanctum": {
"command": "npx",
"args": ["-y", "@sanctumai/mcp-server"]
}
}
}
Any MCP-Compatible Client
SanctumAI uses stdio transport. Any MCP client can connect:
npx @sanctumai/mcp-server
Or use the binary directly after installing:
sanctum --mcp
Tools
vault_store
Store a credential with metadata.
{
"name": "vault_store",
"arguments": {
"key": "aws/production",
"value": "AKIA...",
"metadata": { "service": "aws", "environment": "production" },
"ttl": 3600
}
}
Returns: { "stored": true, "key": "aws/production", "expires_at": "2025-01-01T01:00:00Z" }
vault_retrieve
Retrieve a credential. Access is policy-checked and audited.
{
"name": "vault_retrieve",
"arguments": {
"key": "aws/production",
"purpose": "Deploy staging environment"
}
}
Returns: { "key": "aws/production", "value": "AKIA...", "metadata": { ... } }
vault_delete
Remove a credential from the vault.
{
"name": "vault_delete",
"arguments": { "key": "aws/production" }
}
vault_list
List available credentials (values are never returned).
{
"name": "vault_list",
"arguments": { "prefix": "aws/", "tags": ["production"] }
}
Returns: { "credentials": [{ "key": "aws/production", "metadata": { ... }, "created_at": "..." }] }
credential_resolve
Resolve a credential for a downstream service via CRP.
{
"name": "credential_resolve",
"arguments": {
"service": "github.com",
"scope": ["repo:read", "repo:write"],
"requester": "cursor/workspace-abc"
}
}
Returns: { "credential": { ... }, "lease_id": "lease_abc123", "expires_at": "..." }
credential_lease
Manage CRP credential leases — renew or revoke.
{
"name": "credential_lease",
"arguments": {
"lease_id": "lease_abc123",
"action": "renew"
}
}
policy_check
Validate an access request against policy rules without retrieving the credential.
{
"name": "policy_check",
"arguments": {
"key": "aws/production",
"requester": "agent:deploy-bot",
"action": "retrieve"
}
}
Returns: { "allowed": true, "policy": "deploy-agents-aws", "reason": "Matched role: deploy" }
audit_log
Query the audit trail for credential access events.
{
"name": "audit_log",
"arguments": {
"key": "aws/production",
"since": "2025-01-01T00:00:00Z",
"limit": 50
}
}
Returns: { "events": [{ "action": "retrieve", "requester": "...", "timestamp": "...", "policy": "..." }] }
CRP — Credential Resolution Protocol
SanctumAI implements the Credential Resolution Protocol for standardized credential exchange between AI agents and services. CRP provides:
- Scoped access — Credentials are issued with specific permissions
- Lease management — Time-bound access with renewal and revocation
- Audit trail — Every access is logged with requester, purpose, and policy
Learn more at crp.dev or read the spec.
SDKs
- npm: @sanctumai/sdk
- PyPI: sanctumai
- Crates.io: sanctumai
- Go: github.com/SanctumSec/sanctum-go
Supported Platforms
| Platform | Architecture | Package |
|---|---|---|
| macOS | Apple Silicon | @sanctumai/mcp-server-darwin-arm64 |
| macOS | Intel | @sanctumai/mcp-server-darwin-x64 |
| Linux | x64 | @sanctumai/mcp-server-linux-x64 |
| Linux | ARM64 | @sanctumai/mcp-server-linux-arm64 |
| Windows | x64 | @sanctumai/mcp-server-win32-x64 |
| Windows | ARM64 | @sanctumai/mcp-server-win32-arm64 |
Links
- Website: sanctumai.dev
- CRP Spec: crp.dev
- GitHub: github.com/SanctumSec/sanctum
- MCP Discussion: #2246
- X: @SanctumSec
License
MIT — see LICENSE.
Frequently asked questions
What is SanctumAI — Credential Vault for AI Agents MCP Server?
Credential vault for AI agents — encrypted storage, lease-based access, CRP support.
How do I install SanctumAI — Credential Vault for AI Agents MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SanctumAI — Credential Vault for AI Agents MCP Server runs locally from the npm package @sanctumai/mcp-server with the command npx -y @sanctumai/mcp-server@0.3.2.
Does SanctumAI — Credential Vault for AI Agents MCP Server support remote (HTTP) connections?
No remote endpoint is listed for SanctumAI — Credential Vault for AI Agents MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does SanctumAI — Credential Vault for AI Agents MCP Server provide?
SanctumAI — Credential Vault for AI Agents MCP Server provides 8 tools, including audit_log, credential_lease, credential_resolve, and policy_check. See the full tool list for descriptions and parameters.
How is SanctumAI — Credential Vault for AI Agents MCP Server's trust score calculated?
SanctumAI — Credential Vault for AI Agents MCP Server scores 40 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.