Vaultbase
Give AI agents scoped access to a self-hosted Vaultbase backend's data and logs
- Pricing
- Open source
- Platforms
- self-hosted, CLI
- Runs
- Locally
- Version
- 0.1.2
- Listing updated
- 3 days ago
About Vaultbase
Vaultbase is an open-source MCP server for databases. It runs locally on your machine and is started by your AI client.
Access is gated by API token scopes, and every tool call is recorded in the audit log. A token minted with the mcp:read scope is enough to read data, and tokens come from the admin UI or vaultbase token mint with a time to live such as one year.
The server can browse collections and schemas, query, create, update and delete records, and read logs and the audit trail, with inspecting users, hooks and settings and running admin tasks marked as a later phase. The admin page at /_/mcp gives copy-paste connection snippets, a list of live connected clients and a catalog of every tool, resource and prompt.
There are two routes. vaultbase mcp runs over stdio on the machine that holds the data and needs VAULTBASE_DATA_DIR, while the npm bridge @vaultbase/mcp talks over HTTP and SSE to a running server using VAULTBASE_URL and VAULTBASE_MCP_TOKEN, needing Node 18+ and Vaultbase 0.10 or later.
Install
Run in a terminal
claude mcp add vaultbase --env VAULTBASE_URL='<VAULTBASE_URL>' --env VAULTBASE_MCP_TOKEN='<VAULTBASE_MCP_TOKEN>' -- npx -y @vaultbase/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"vaultbase": {
"command": "npx",
"args": [
"-y",
"@vaultbase/mcp"
],
"env": {
"VAULTBASE_URL": "<VAULTBASE_URL>",
"VAULTBASE_MCP_TOKEN": "<VAULTBASE_MCP_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"vaultbase": {
"command": "npx",
"args": [
"-y",
"@vaultbase/mcp"
],
"env": {
"VAULTBASE_URL": "<VAULTBASE_URL>",
"VAULTBASE_MCP_TOKEN": "<VAULTBASE_MCP_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"vaultbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vaultbase/mcp"
],
"env": {
"VAULTBASE_URL": "<VAULTBASE_URL>",
"VAULTBASE_MCP_TOKEN": "<VAULTBASE_MCP_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"vaultbase": {
"command": "npx",
"args": [
"-y",
"@vaultbase/mcp"
],
"env": {
"VAULTBASE_URL": "<VAULTBASE_URL>",
"VAULTBASE_MCP_TOKEN": "<VAULTBASE_MCP_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"vaultbase": {
"command": "npx",
"args": [
"-y",
"@vaultbase/mcp"
],
"env": {
"VAULTBASE_URL": "<VAULTBASE_URL>",
"VAULTBASE_MCP_TOKEN": "<VAULTBASE_MCP_TOKEN>"
}
}
}
}Configuration
VAULTBASE_URLAddress of your Vaultbase server, for example https://api.example.comRequiredVAULTBASE_MCP_TOKENA Vaultbase API token with an mcp scope (mcp:read is enough to read data)Required
What it does
- Scoped tokens
- Token scopes such as mcp:read limit what an agent can do.
- Audit logging
- Every tool call is recorded.
- Record access
- Query, create, update and delete records.
- Schema and logs
- Browse collections, read logs and the audit trail.
- Admin page
- Snippets, live clients and a tool catalog at /_/mcp.
- Stdio bridge
- An npm package connects clients to a remote server.
Good for
- Ask how many records a collection holds
- Review failed logins in the last hour
- Inspect a collection schema
- Connect an agent to a remote deployment without installing the binary
Pricing
Open source
@vaultbase/mcp is MIT-licensed
Prices change. Check docs.vaultbase.dev before you buy.
Vaultbase FAQ
What token scope do I need?
mcp:read is enough to read data.
Do calls get logged?
Yes, in the audit log.
Do I need the binary on my machine?
Not with the npm bridge, which talks to a running server over HTTP.
Which server version is required for the bridge?
Vaultbase 0.10 or later.
Is Vaultbase free?
Yes. Vaultbase is open source, so you can use and self-host it for free.
How do I add Vaultbase to Claude Code?
Run this command in your terminal: claude mcp add vaultbase --env VAULTBASE_URL='<VAULTBASE_URL>' --env VAULTBASE_MCP_TOKEN='<VAULTBASE_MCP_TOKEN>' -- npx -y @vaultbase/mcp
What are the best alternatives to Vaultbase?
The closest alternatives to Vaultbase are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Vaultbase

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools