MCP Vault – Speed Booster for AI Agent Tool Calls
MCP Vault (mcpv) is a Python-based performance booster for AI agents. It forces GPU acceleration, caches tool responses, and deduplicates repeated requests to cut token costs by 90%.
TL;DR
TL;DR: MCP Vault (mcpv) is a cross-platform Python CLI that accelerates AI agents built on the Model Context Protocol — forcing GPU acceleration, caching tool responses, and deduplicating repeated requests for up to 90% token savings.
Source and Accuracy Notes
⚠️ This section is MANDATORY. All links must be verified from actual source, not guessed.
- Project page: github.com/thekeunpie-hash/mcpvault
- Source repository: github.com/thekeunpie-hash/mcpvault
- License: MIT (confirmed via pyproject.toml classifiers)
- Documentation: README.md (English, Korean, Chinese, Russian variants available)
- Source last checked: 2026-07-26
What Is MCP Vault?
MCP Vault (mcpv) is a Python CLI tool (version 2.1.0) that sits in front of AI agents built on the Model Context Protocol. It intercepts the communication between an agent and its MCP server stack and applies four optimization layers:
- Booster Injection — Forces GPU acceleration flags and bypasses UI permission bugs on Windows
- Smart Valve — Blocks repeated
repomixcontext requests after the first pass (90% token savings claimed) - Gateway Hijacking — Locks the agent’s root directory to prevent “File not found” drift
- Smart Router — Summary + JIT loading to handle unlimited tools instead of truncating at 100
The project targets developers using agent environments like Antigravity or Cursor AI on Windows, macOS, and Linux. It requires Python 3.10 or higher.
Setup Workflow
Step 1: Install Python 3.10+
# Check your Python version
python3 --version
# If below 3.10, install via pyenv (macOS/Linux)
pyenv install 3.12 && pyenv global 3.12
# Or via conda
conda install python=3.12
Step 2: Install mcpv via pip or uv
# via pip
pip install mcpv
# or via uv (faster, isolated)
uv pip install mcpv
Step 3: Install the booster
# Run the installer (Windows — launch terminal as Admin first)
mcpv install
# On Windows, you may see "Existing MCP Servers Found" — mcpv auto-backs
# up your old config to mcp_config.original.json before overwriting
Step 4: Verify installation
# Check the booster shortcut was created
mcpv --version
Deeper Analysis
Booster Injection
mcpv injects GPU rasterization flags (--enable-gpu-rasterization) into the agent’s launch environment. On Windows it also uses RunAsInvoker to drop elevated admin rights that cause drag-and-drop and UI bugs. A zombie process killer cleans up ghost processes occupying required ports.
The README notes that if the installer detects an Admin terminal, it shows a warning — the recommended path is to use the desktop shortcut Antigravity Boost (mcpv) which launches from a non-elevated context.
Smart Valve (Cost Defense)
The Smart Valve is a deduplication gate. The README uses repomix (a popular tool that sends entire repo context to LLMs) as the example trigger. On first request, the full context is passed through. On subsequent identical requests, the valve returns a 10-token “Already cached” message instead of re-sending the full context. The README claims 90% token cost savings from this mechanism.
Gateway Hijacking (Root Path Locking)
When you run mcpv install, it locks the current working directory as the forced project root for the agent session. This prevents the agent from drifting to unrelated folders and hitting “File not found” errors. Original MCP configuration is backed up to mcp_config.original.json.
Smart Router (Unlimited Tools)
Without mcpv, MCP agent stacks truncate at 100 tools due to context window limits. The Smart Router uses summary generation and just-in-time (JIT) loading to handle unlimited tool registrations without hitting that ceiling.
Practical Evaluation Checklist
- Requires Python 3.10 or higher
- Cross-platform: Windows, macOS, Linux (tested on all three)
- MIT licensed (per pyproject.toml
Classifiersfield) - Installs via pip or uv — no complex build step
- Modifies MCP config files — original is auto-backed up
- No cloud component — runs entirely locally
- Explicitly mentions Antigravity and Cursor AI as target platforms
Security Notes
mcpv installmodifiesmcp_config.jsonin the agent’s config directory. The original file is auto-backed up before changes.- The Gateway Hijacking feature changes the agent’s perceived root directory. Ensure your workflow is compatible with this isolation before relying on it.
- No telemetry or external calls are documented in the README.
FAQ
Q: Does mcpv require admin/root rights? A: Not for the core functionality. The README notes that running as Administrator on Windows may cause UI glitches. The recommended approach is to use the desktop shortcut, which launches from a non-elevated context.
Q: What Python version is required? A: Python 3.10 or higher. The pyproject.toml declares support for 3.10, 3.11, and 3.12.
Q: Is this open source? A: Yes, MIT license according to the pyproject.toml classifiers.
Q: Which agent platforms does it support? A: The README explicitly mentions Antigravity and Cursor AI as target platforms. It is designed for any agent built on the Model Context Protocol (MCP).
Q: Does it work offline? A: Yes — mcpv runs entirely locally with local caching and config management.
Conclusion
MCP Vault fills a specific niche: developers running MCP-based AI agents (particularly Antigravity and Cursor AI) who want to reduce token costs and improve responsiveness without swapping models or reconfiguring their agent’s toolchain. The four optimization layers (Booster, Smart Valve, Gateway, Router) each address a concrete bottleneck — GPU underutilization, redundant context resends, directory drift, and tool count limits. Installation is straightforward via pip or uv. If you fall into this specific workflow, the gains are hands-off after the one-line install.
Related Posts
ai-setup
Recall – Persistent Memory for Claude Code via MCP Hooks
Recall gives Claude Code a permanent memory store that survives session restarts and context compaction. Four hooks capture and restore context automatically — with cloud SaaS or self-hosted options.
2/28/2026
dev-tools
Automotive Skills Suite for AI Engineering
Evaluate Automotive Skills Suite for APQP, ASPICE, HARA, safety-plan, and DIA workflows with setup notes, governance risks, and SME review guidance.
5/28/2026
dev-tools
awesome-agentic-ai-zh Roadmap Guide
Explore awesome-agentic-ai-zh as a Chinese agentic AI learning roadmap, with setup notes, track selection, study workflow, and evaluation guidance.
5/28/2026