MCP Gateway (Lazy Router)
January 22, 2026 ยท View on GitHub

The "Lazy Loading Router" for MCP tools.
This extension has been refactored from a UI-based dashboard into a high-performance, background service that orchestrates Model Context Protocol (MCP) servers for VS Code and Antigravity.
๐ How It Works
Instead of running all your MCP servers simultaneously (wasting RAM/CPU), MCP Manager acts as a router:
- Orchestration: It uses
uv(a super-fast Python package manager) to manage server environments. - Lazy Loading: Tools are only spun up when an AI agent explicitly requests them.
- Bridge: It bridges your existing configuration into the VS Code Language Model API.
โก Features
- Auto-Bootstrap: Automatically installs and manages
uv. - Zero-Config Migration: Migrates your existing
mcp-config.jsonto arouter_manifest.json. - Antigravity Sync: keeps your MCP configuration synchronized with the Antigravity agent.
๐ฆ Usage
The extension works automatically in the background.
- Install: Sideload the
.vsix. - Sync: The extension activates on startup (
onStartupFinished). - Verify: Run the command
MCP: Show Statusto see the list of active tools and the router status.
๐ง Configuration
The extension manages its own router_manifest.json.
- Commands:
MCP: Sync Configuration: Force a sync of the router manifest.MCP: Show Status: detailed status notification.
๐งช Verification & Usage Walkthrough
Follow these steps to verify that MCP Gateway is correctly orchestrating your tools for your AI Agent.
Step 1: Open the Dashboard
- Press
Ctrl+Shift+P(Cmd+Shift+P on Mac). - Type and select
MCP: Show Status. - A premium MCP Manager Dashboard will open.
- check for the "Connected" badge.
- Note the Active Servers count.
Step 2: Ask your Agent
- Open GitHub Copilot Chat (or your Antigravity Agent).
- Ask a question that requires a tool.
- Example:
"Please search online for the current time in Tokyo using Brave Search." (Note: Use MCP: Add Tool to install usage-ready tools first).
Step 3: Watch it Happen (Accountability)
- The Agent will mistakenly or correctly identify the tool and send a request.
- MCP Gateway intercepts the request, spins up the Python environment via
uv, executes the tool, and shuts it down. - Switch back to the MCP Manager Dashboard.
- Look at the Accountability & Recent Logs table.
- You will see a new entry: User (Default) | brave_search | Success.
- The Usage Share bar for that tool will update.
- This proves the end-to-end connection is working!
3. Adding New Servers (One-Click)
Adding new tools is now fully automated.
- Press
Ctrl+Shift+P. - Select
MCP: Add Tool. - Choose a tool from the Premium Catalog (SQLite, Brave Search, Fetch, Git, etc.).
- The extension will automatically:
- Ask for necessary API Keys or Paths.
- Configure the environment.
- Sync with the Agent.
Note: Manual JSON editing is no longer required.
๐ค Contributing
- Repo: https://github.com/rizwan-saddal/mcp-manager
- Lead Innovator: rizwan-saddal
Powered by Craze for AI and Model Context Protocol (and lots of love for coding)