شعار MCP Vault (mcpv)

MCP Vault (mcpv)

المجتمع
thekeunpie-hash

Have you ever felt this while using AI Agents (Antigravity, Cursor)?

الناشرthekeunpie-hash
المستودعmcpvault
اللغةPython
التفريعات
4
النجوم
41
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الروابط
  • اربط الأدوات بمسارات عمل الذكاء الاصطناعي

    يتيح MCP Vault (mcpv) إمكانات MCP لتطبيقات الذكاء الاصطناعي العميلة المتوافقة معه، وكذلك لوكلاء الذكاء الاصطناعي المتوافقين معه.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم مقتطفات التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات اهتمام المجتمع بالمستودع مفتوح المصدر

    إحصاءات المستودع المرتبط: النجوم: 41، والتفريعات: 4.

⚡ MCP Vault (mcpv)

The Ultimate Performance Booster for AI Agents "Reduce system lag by 99%, eliminate loading times, and cut token costs by 90%."

License Version Python Platforms Status

[!NOTE] ✅ Cross-Platform Support MCP Vault now supports Windows, macOS, and Linux with the Antigravity agent environment.

❓ Why mcpv?

Have you ever felt this while using AI Agents (Antigravity, Cursor)?

"Why is it so heavy?"
"It froze again..."
"Why are the token costs so high?"

mcpv is not just a tool. It is a Turbo Engine for your agent.

🏎️ Overwhelming Performance Difference

Feature😫 Without mcpv (Before)⚡ With mcpv (After)📈 Effect
SpeedNo GPU, Laggy UIForced GPU Acceleration, Smooth100x Perceived Speed
ScalabilityTruncates at 100 toolsUnlimited Tools (Summary + JIT)∞ Capacity
LoadingWait 60s+ every timeInstant Startup (Local Cache)Zero Latency
CostResend full contextSmart Block / Deduplication90% Savings

✨ 3 Core Features

1️⃣ Booster Injection (Physical Acceleration)

"Unlock hardware limits with one line"

  • Forced GPU Activation: Injects hidden rendering acceleration flags (--enable-gpu-rasterization).
  • Permission Bypass: Drops Admin rights to fix drag-and-drop & UI bugs, and bypasses permission requests (Error 740) using RunAsInvoker.
  • Zombie Process Killer: Automatically cleans up ghost processes occupying ports.

2️⃣ Smart Valve (Cost Defense)

"Smart wallet protector that saves for you"

  • Detects the massive context data (repomix) that agents habitually request.
  • First request: Allowed (Full context provided).
  • Subsequent requests: Blocked with a 10-token "Already cached" message.
  • Physically blocks accidental token bombs.

3️⃣ Gateway Hijacking (Secure Vault)

"Stop struggling with complex configs"

  • Root Path Locking: Captures the directory where you run mcpv install and forces the agent to ALWAYS see that directory as the project root. No more "File not found" errors when the agent drifts to other folders.
  • Automatically migrates existing complex MCP settings to a secure Vault.
  • Original config is safely backed up to mcp_config.original.json.

4️⃣ Smart Router (Architectural Breakthrough)

"One Tool to Rule Them All"

  • Anti-Truncation Engine: Solves the "100-tool limit" of AI providers. Provides a compact summary of all tools, effectively supporting hundreds of upstream tools without overflowing the context.
  • Unified Interface: The agent doesn't need to know which server has which tool. It just calls run_tool(name="...").
  • Persistent Indexing: Remembers tool metadata in a local tool_index.json for lightning-fast discovery and offline capability.
  • Auto-Correction: Automatically finds the correct tool even if the agent makes a typo or tries to call a server name.

5️⃣ Admin Console (Control Center)

"Surgical Control Over Your Context"

  • mcpv_admin: A single tool to manage your entire MCP ecosystem.
  • Live Search: Find any tool by searching through descriptions across all servers.
  • Dynamic Optimization: Enable/disable servers or specific tools on-the-fly to prune the agent's context and save tokens.

🛡️ Security Features (v2.1.0)

Enterprise-grade security hardening:

| Feature | Protection | Implementation | | ----------------------------- | ---------------------------- | ----------------------------------------------- | -------------------------------- | | Race Condition Prevention | Concurrent session safety | Double-checked locking with asyncio.Lock | | Resource Management | Memory leak prevention | AsyncExitStack reference tracking | | Shell Injection Defense | Command execution safety | Dangerous character blocking ( |, &, ;, `, $, etc.) | | Path Traversal Protection | Directory escape prevention | os.path.commonpath() containment validation | | PowerShell Escaping | Command injection prevention | Backtick escaping for special characters | | Error Handling | Debugging visibility | Specific exception types instead of bare except |


📦 Installation

We recommend using uv for a fast and clean installation across all platforms.

Windows (PowerShell)

powershell
# Install using uv (Recommended)
uv pip install . --system

# OR using standard pip
pip install .

# Configure the vault
mcpv install

macOS / Linux (Bash)

bash
# Install using uv (Recommended)
uv pip install . --system

# OR using standard pip
pip install .

# Configure the vault
python -m mcpv install

Quick Start Scripts

PlatformInitUninstallReinstall
Windowsinit.ps1uninstall.ps1reinstall.ps1
macOS/Linuxscripts/init.shscripts/uninstall.shscripts/reinstall.sh

🖥️ Platform Support

PlatformStatusNotes
Windows✅ FullNative PowerShell scripts, OneDrive Desktop support
macOS✅ FullBash scripts, ~/Library paths, .command launchers
Linux✅ FullBash scripts, XDG directories, .desktop files

Platform-Specific Features

  • Windows: OneDrive Desktop redirect detection, PowerShell-based shortcuts (.lnk)
  • macOS: Applications folder integration, .command file launchers
  • Linux: XDG Desktop specification, .desktop file integration

💻 Commands

CommandDescription
mcpv install(Essential) Installs mcpv as the primary gateway, migrates existing config, and locks the current directory as the project root.
mcpv install --forceOverwrites existing mcpv installation if found.
mcpv start(Internal) Starts the MCP server. Used by the Antigravity agent, not for humans.

🛠️ Verified Recommended Setup

Verified MCP server configuration used by the developer. It creates the best synergy when used with mcpv.

json
{
  "mcpServers": {
    "rube": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://rube.app/mcp"]
    },
    "open-aware": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://open-aware.qodo.ai/mcp"]
    },
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp", "--api-key", "PUT_IN_YOUR_API_KEY_HERE"]
    },
    "sequential-thinking": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
    },
    "mcp-server-neon": {
      "disabled": false,
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.neon.tech/sse"],
      "env": {
        "NEON_API_KEY": "NEVERCHANGE_DONT_PUT_IN_ANYTHING_ELSE_THAN_ME_HERE"
      }
    }
  }
}

<br>

---


<br>

---

## ❓ Troubleshooting & FAQ

If you encounter issues, please check the specific solutions below.

### 1. ❌ "Permission Denied" during Installation
**Error Example:**
> `❌ PERMISSION DENIED: Cannot create config directory`
> `❌ PERMISSION DENIED: Cannot save root path`

**Solution:**
Windows prevents regular users from writing to protected paths.
1. Right-click your terminal (Command Prompt or PowerShell).
2. Select **"Run as Administrator"**.
3. Run `mcpv install` again.

**Verification Command:**
```powershell
# Check if you have write access (should return 'True' if Admin)
[bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).Groups -match "S-1-5-32-544")

2. ⚠️ "Running as Administrator detected" (Booster Warning)

Warning Message:

[WARNING] Running as Administrator detected!
Antigravity running as Admin may cause UI glitches...

Solution:

  • Do NOT run the booster script manually from an Admin terminal.
  • Use the Desktop Shortcut created by mcpv (Antigravity Boost (mcpv)).
  • If the shortcut still triggers the warning, right-click the shortcut → Properties → Compatibility → Uncheck "Run this program as an administrator".

Verification Command:

powershell
# If this returns a value, you are Admin (Try to run as Standard User instead)
net session

3. ⚠️ "Corrupted Config File"

Error Example:

⚠️ WARNING: Corrupted config file found

Solution: Your mcp_config.json file contains invalid JSON syntax.

  • Option A (Reset): Run mcpv install --force to completely wipe and reset the configuration.
  • Option B (Manual Fix): Open %HOMEPATH%\.gemini\antigravity\mcp_config.json and fix the syntax errors.

4. ⚠️ "Existing MCP Servers Found"

Message:

⚠️ EXISTING MCP SERVERS FOUND: ...

Solution: mcpv tries to protect your existing work.

  • Run mcpv install --force to proceed.
  • mcpv will automatically backup your old configuration to mcp_config.original.json before overwriting it.

5. ❌ "exec: npx: executable file not found"

Cause: The Agent cannot find Node.js (npx) in your system PATH.

Solution:

  1. Ensure Node.js is installed.
  2. ALWAYS start Antigravity using the Booster Shortcut (Antigravity Boost (mcpv)).
    • The booster script automatically injects the correct PATH for npx before launching the application.

Verification Commands: Run these in PowerShell to check your environment:

powershell
# 1. Check Node.js version (Must be v18+)
node -v

# 2. Check NPM version
npm -v

# 3. Check if npx is in PATH
Get-Command npx
If any of these fail, you must install **Node.js LTS** from [nodejs.org](https://nodejs.org).

<br>

---

## 🗑️ Uninstallation

If you need to remove `mcpv` and restore your original configuration, please refer to the [Uninstall Guide](UNINSTALL_KR.md).

التثبيت

TypingMind
المتطلبات المسبقة:

Node.js 18+

{
  "mcpServers": {
    "thekeunpie-hash-mcpvault": {
      "command": "uvx",
      "args": [
        "mcpv"
      ]
    }
  }
}

استخدم MCP الخاص بـ MCP Vault (mcpv) مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل MCP Vault (mcpv)، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal مفتوحة واترك العملية قيد التشغيل أثناء استخدام أدوات MCP.
3

إضافة MCP Vault (mcpv) كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ MCP Vault (mcpv).
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "thekeunpie-hash-mcpvault": {
      "command": "npx",
      "args": [
        "-y",
        "mcpv"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ MCP Vault (mcpv)، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ MCP Vault (mcpv).
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام MCP Vault (mcpv) لمساعدتي في هذه المهمة؟
MCP Vault (mcpv)
بالتأكيد. قرأته.
إليك ما وجدته باستخدام MCP Vault (mcpv).

الأسئلة الشائعة

ما استخدامات خادم MCP MCP Vault (mcpv)؟

MCP Vault (mcpv) هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP MCP Vault (mcpv) مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام MCP Vault (mcpv) مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم خادم MCP MCP Vault (mcpv) مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل MCP Vault (mcpv)، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP MCP Vault (mcpv) بـ TypingMind؟

يعمل MCP Vault (mcpv) عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP MCP Vault (mcpv) في TypingMind؟

يتيح MCP Vault (mcpv) إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP MCP Vault (mcpv)؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويتيح لك التحكم بنفسك في مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP. إذا كان MCP Vault (mcpv) يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇