API Vault
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@API Vault GET http://localhost:3000/health on our VPN and log why — smoke test"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚡ API Vault
Local-first API Client & Model Context Protocol (MCP) Server powered by Node.js Native SQLite.
Zero cloud limits, zero data truncation, 100% private, with a high-density developer Web Studio.
💡 Why API Vault?
Traditional cloud-based API clients (Postman, Hoppscotch Cloud) often hit painful ceilings:
Cloud Document Size Limits: E.g. Hoppscotch Cloud syncs user collections in a single Google Cloud Firestore document with a hard 1MB limit. Large OpenAPI specs, logs, or payload responses silently break sync (
user/collection_creation_failed).Privacy & Secret Leakage: Internal tokens, staging endpoints, and private corporate data end up on third-party cloud servers.
Disconnected AI Agents: When coding with Claude Desktop, Cursor, or Antigravity, AI agents cannot easily audit past requests or execute internal API queries without manual curl copying.
API Vault solves this permanently. Built entirely on Node.js 22+ native SQLite (node:sqlite) with zero external npm dependencies, API Vault stores gigabytes of full headers, input bodies, and raw responses locally on your machine, while seamlessly exposing an MCP interface to AI agents and a keyboard-friendly Web Studio for humans.
Related MCP server: HTTP MCP Server
✨ Features
🚀 Zero Size Limits & 100% Local Storage: Every request and response is persistently stored in
~/.api-vault/api_vault.dbusing Node.js native SQLite. No truncation, no cloud fees.🤖 Native MCP Server: Plug directly into Claude Desktop, Cursor, Antigravity, Cline, and any MCP client.
📝 Mandatory AI Purpose Logging: AI agents are required to declare why an endpoint is called (
description), keeping an interpretable audit trail of all automated actions.🖥️ Dense Tech Web Studio:
Collapsible Multi-Criteria Grouping: Group past requests by Host/Domain, Date, HTTP Status, Method, or Flat view.
Smart Endpoint Shortening: Automatically strips verbose schemes and hostnames, applying middle truncation (
.../dags/demo/dagRuns) so you can identify resources at a glance.One-Click Toggle (
/api&⊟): Switch between compact paths and full URLs, or expand/collapse all groups instantly.Hover Tooltips: Hover over any shortened endpoint to view the 100% complete URL.
🌐 CORS-Free Execution Proxy: Call private VPN hosts, staging microservices, or local Docker services without browser CORS restrictions.
⚡ Zero Dependencies: Pure Node.js standard library (
node:http,node:sqlite,node:child_process). Instant startup.
🚀 Quickstart
1. Launch the Web Studio
Run one command to start the local proxy and launch the Web Studio in your default browser:
npx api-vault studioOptions:
# Specify custom port (default: 54193)
npx api-vault studio -p 54193
# Specify custom SQLite data directory (default: ~/.api-vault)
API_VAULT_DATA_DIR=/path/to/data npx api-vault studio2. Run as an MCP Server
To run API Vault as an MCP Stdio Server for your AI assistants:
npx api-vault🔌 MCP Client Configuration
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"api-vault": {
"command": "npx",
"args": ["-y", "api-vault"]
}
}
}Cursor (mcp.json)
{
"mcpServers": {
"api-vault": {
"command": "npx",
"args": ["-y", "api-vault"]
}
}
}Antigravity / Gemini CLI (mcp_config.json)
{
"mcpServers": {
"api-vault": {
"command": "node",
"args": ["/path/to/api-vault/src/server.js"],
"env": {
"API_VAULT_PORT": "54193"
}
}
}
}🛠️ MCP Tools Reference
Tool | Description | Key Parameters |
| Execute an HTTP/REST/GraphQL request with unlimited SQLite audit logging. |
|
| Search historical requests by keyword, date, method, or HTTP status. |
|
| Retrieve full untruncated headers, request body, and response body by ID. |
|
| Get the live URL and status of the local Web Studio. | — |
| Export all stored requests into a clean JSON file. |
|
🏗️ Architecture
┌─────────────────────────────────────┐
│ AI Agent / MCP Client │
│ (Claude Desktop, Cursor, Antigravity)│
└──────────────────┬──────────────────┘
│ JSON-RPC (stdio)
▼
┌──────────────────────┐ ┌─────────────────────────────────────┐
│ Developer Browser │ │ API Vault Engine │
│ (Dense Tech Studio) │ │ │
└──────────┬───────────┘ │ • MCP Server (tools/call) │
│ HTTP / SSE │ • CORS Proxy Bridge │
└───────────────►│ • Smart Truncation & Grouping │
└──────────────────┬──────────────────┘
│ node:sqlite
▼
┌──────────────────────┐
│ Local SQLite DB │
│ (~/.api-vault/*.db) │
└──────────────────────┘📜 License
MIT License © 2026 Vinh Tran. Free and open-source for personal and commercial use.
Available Tools
5 toolsexecute_requestB
Execute an HTTP/REST/GraphQL request with unlimited audit logging into local SQLite database. Supports GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. No size limits, 100% private.
Inputs: url (required), method (required), description (required), auth, +4 more.
export_historyC
Export all historical requests from local SQLite into a clean JSON file.
Inputs: file_path.
get_dashboard_urlC
Get the link and connection info to the local API Vault Web Studio.
Inputs: no named parameters.
get_request_detailA
Retrieve complete audit details of a previous request by its ID (including 100% full headers, input body, and response body).
Inputs: id (required).
search_historyA
Search local SQLite API history by keyword, date, method, or HTTP status code.
Inputs: date, limit, query, method, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct role: execute a request, search history, retrieve one request by ID, get the dashboard URL, or export history. The only potential overlap is search_history vs get_request_detail, but the former lists/filters and the latter fetches full details by ID, so boundaries are clear.
All tool names use consistent snake_case with a clear verb_noun pattern. The slight length variation in get_request_detail and get_dashboard_url is natural and does not break consistency.
Five tools are well-scoped for an API request vault focused on execution, audit search, detail retrieval, export, and dashboard access. Each tool earns its place without obvious redundancy.
The surface covers the core lifecycle: execute requests, search audit history, inspect individual requests, export history, and access the web studio. Minor gaps include no replay/resend operation and no delete/clear-history operation, though these are not essential for the stated audit-focused purpose.
Maintenance
Related MCP Connectors
13 privacy-first network, auth & web tools for AI agents — no API key, 60 req/min free.
Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.
Durable memory, headless browser and research for agents. Pay per call: x402 USDC on Base or credits
Instant no-signup webhook & HTTP-request inspector for testing webhooks and agent tool-callbacks.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables automatic HTTP requests (GET, POST, PUT, DELETE, etc.) with JSON validation and proxy support. Supports custom headers, request bodies, and environment variable configuration for seamless API integration.1MIT
- AlicenseAqualityDmaintenanceEnables AI agents to send HTTP requests to any endpoint with full control over methods, headers, query parameters, and request bodies.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI coding agents with tools to query, search, and analyze persisted HTTP request logs, enabling efficient debugging without terminal noise.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to inspect, test, validate, compare, and debug HTTP APIs through a structured toolkit, with features such as secret redaction, response contract validation, regression comparison, health checks, and incident investigation workflows.MIT