Skip to main content
Glama
Flexi23

vscode-mcp-supergateway

by Flexi23

VS Code MCP Supergateway

A centralized, multi-client Model Context Protocol (MCP) gateway that aggregates, routes, and offloads context between IDE clients, local LLM workers, and backend MCP services.


💡 Overview & Value Proposition

As MCP usage grows, managing multiple disjointed MCP servers across different clients (VS Code/Copilot, LM Studio, etc.) becomes cumbersome. VS Code MCP Supergateway acts as a unified hub:

  1. Multiplexing & Routing: Connect multiple clients to a single, orchestrated MCP endpoint.

  2. Context & Token Savings: Keep expensive Frontier Model context clean by delegating repetitive context-structuring tasks to local worker models.

  3. LM Studio Loopback Pattern: Turn LM Studio into both an MCP consumer and a high-speed local MCP tool/worker for tasks like documentation linting, diff summarization, and task management.


Related MCP server: MCP Gateway

🏗 Integration Flow

graph
    subgraph Clients["Clients"]
        Copilot["VS Code / Copilot Chat<br/>(Cloud Frontier Models)"]
        LMStudio_Host["LM Studio Client UI"]
    end

    subgraph Gateway["HTTP MCP Gateway"]
        Supergateway["Supergateway Proxy"]
    end

    subgraph Loopback["Local Worker Loopback"]
        LMStudio_Worker["LM Studio MCP Server<br>(Local Small Models: Gemma, LFM, Qwen, ...)"]
    end

    subgraph Backends["Local MCP Servers"]
        CodebaseMemory["Codebase Memory"]
        MarkdownVault["Markdown Vault<br>(Tasks, ADRs & Specs)"]
        GitLab["GitLab Integration"]
    end

    %% Client connections to Gateway
    Supergateway <-- "Local Memory & Mgmt Tools" --> Clients
    
    %% Gateway routes to Backends and Loopback Worker
    Supergateway --> CodebaseMemory
    Supergateway --> MarkdownVault
    Supergateway --> GitLab
    
    %% Loopback Worker Execution
    Supergateway <-->|"Local Sub-Agents"| LMStudio_Worker
    LMStudio_Worker -. "Reads/Updates" .-> MarkdownVault

⚡ Key Features & Concepts

  • Unified Control Plane: Connect Copilot and LM Studio simultaneously to your underlying toolchain (GitLab, Codebase Memory, Vault).

  • Sub-Agent Loopback: Offload context aggregation, diff generation, and documentation updates to fast local models running in LM Studio without consuming cloud tokens.

  • Markdown Vault Integration: Structure project tasks, architectural decision records (ADRs), and feature specs directly in markdown files guarded by YAML access controls (agent_access).


🚀 Getting Started

Prerequisites

  • Node.js 20+

  • VS Code with GitHub Copilot

  • LM Studio (optional, for local model offloading & loopback)

Installation

git clone https://github.com/Flexi23/vscode-mcp-supergateway.git
cd vscode-mcp-supergateway
npm install
npm run build

🗺 Roadmap & Future Plan

Phase 1: MVP & Core Gateway (Current)

  • Basic stdio / SSE transport routing.

  • Multi-backend server orchestration (Codebase Memory, GitLab, Vault).

  • Initial agent-assisted development groundwork.

Phase 2: LM Studio Loopback & Context Worker

  • Implement local LM Studio MCP tool wrapper (summarize_diff, generate_adr).

  • Add zero-blocking async tool handling for local inference.

  • Graceful fallback & timeout management when local GPUs are under heavy load.

Phase 3: Vault & Task Management Enhancements

  • Standardized YAML-Frontmatter parser for Markdown Vault (tasks/, adrs/).

  • Agent scope security layer (agent_access: read | append | edit | hidden).

  • Automated context bundle generator for Copilot prompts.


📄 License

MIT License. Feel free to contribute or adapt!

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    A universal gateway that aggregates multiple MCP servers into a single interface while providing advanced token optimization, result filtering, and automated summarization. It enables efficient management of large tool catalogs and reduces context usage by up to 95% for major AI clients.
    36
    15
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A production-ready unified entry point for AI agents that implements the Model Context Protocol (MCP). It provides a secure gateway with rate limiting, authentication, and observability for managing and proxying requests to multiple downstream APIs.
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    Aggregates multiple shared MCP servers into a single HTTP gateway, providing a unified, observable, and reusable MCP access layer for multiple AI clients like Codex, OpenCode, and OpenClaw. It centralizes configuration management, logging, health checks, and circuit breaking to simplify multi-client MCP deployments.
    5

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

  • One PAT, any MCP agent: Vercel, GitHub, Cloudflare, Supabase, GCP — unified dev infra gateway.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Flexi23/vscode-mcp-supergateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server