Universal Local IDE & Workspace MCP Bridge
Provides tools to inspect Git branches, status, and working changes within local projects, and can run git commands via the terminal.
Connects Google Gemini Web (via Connected Apps using StreamableHTTP) to a local IDE or workspace, enabling Gemini to execute tools that read and edit files, run terminal and git commands, and navigate projects.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.

Universal Local IDE & Workspace MCP Bridge π
Connect Web AI assistants (ChatGPT, Claude Web) and MCP clients directly and securely to ANY local IDE or developer workspace (VS Code, Cursor, Windsurf, JetBrains / IntelliJ / PyCharm, Antigravity, Zed, Neovim, Terminal) β with multi-user isolation, zero open ports, and live interactive terminal logs.
π‘ How It Works
Cloud AI models (ChatGPT, Claude Web) cannot reach into your computer because of firewalls and Wi-Fi NAT.
Universal IDE MCP Bridge creates an on-demand, outbound connection between your local computer and your hosted MCP Gateway:
ββββββββββββββββββββββββββββββββββββββββ
β Web AI Assistant β
β (ChatGPT / Claude) β
ββββββββββββββββββββ¬ββββββββββββββββββββ
β 1. Tool Call + Your Private Token
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cloud MCP Gateway (Hosted on Vercel) β
β - Authenticates your private token β
β - Routes tasks exclusively to your computer β
β - Supports Upstash Redis for distributed persistence β
ββββββββββββββββββββ²ββββββββββββββββββββββββββββββββββββββ
β 2. Outbound polling (Zero inbound ports!)
β Works behind any Wi-Fi or router
ββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββ
β Your Local Computer (On-Demand Bridge Session) β
β - Run whenever you want, just like `npm run dev` β
β - Live real-time debug logs for every tool & action β
β - Reads & edits files, runs terminal/git commands β
β - Sandboxed strictly to your chosen projects folder β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββRelated MCP server: DevSpace Local Artifacts
π 3-Step Setup Guide (ZERO Git Cloning Required)
You do NOT need to clone this GitHub repository to connect your computer. You only need the single standalone bridge.py script.
Step 1: Download bridge.py Globally
Open your terminal in your root projects directory (for example C:\projects on Windows or ~/projects on macOS/Linux), and download the single bridge file:
Windows (PowerShell or Command Prompt):
curl.exe -o bridge.py https://vscode-antigravity-mcp.vercel.app/bridge.pymacOS / Linux:
curl -o bridge.py https://vscode-antigravity-mcp.vercel.app/bridge.py(You can place this single bridge.py file anywhere on your computer β no additional project files or repositories needed.)
Step 2: Set Your Token & Projects Folder Path
Configure your bridge with your private authentication token and the parent directory containing your code repositories. Using the --save flag saves these settings globally so you only have to do this once:
python bridge.py --save --root "C:\projects" --key "YOUR_SECRET_KEY"--root: The folder containing all your projects (e.g.C:\projectsor/Users/username/projects). Your Web AI will be able to navigate and work across any project inside this folder.--key: Your private auth token (e.g.D4_PROJECT_MCP_SERVERor any custom secret key).--save: Saves this configuration globally to~/.universal_ide_bridge.json.
π‘οΈ Windows Users (Optional One-Time Step): To prevent Windows Defender from holding or timing out tool commands (e.g.
npm install, git, tests), run once:python bridge.py --allow-defender(Click Yes on the Windows UAC prompt to permanently whitelist your projects and Python).
Verify Your Saved Configuration Anytime:
python bridge.py --show-configOutput:
π Current Saved Global Bridge Configuration:
Config file: C:\Users\Admin\.universal_ide_bridge.json
Server: https://vscode-antigravity-mcp.vercel.app
Root: C:\projects
Token: YOUR_SECRET_KEYStep 3: Run the Bridge (On-Demand Like npm run dev)
Whenever you want to use the AI assistant with your local code, run:
python bridge.py(Or if installed globally, simply run ide-bridge or mcp-bridge)
What Happens When You Run It:
Interactive Console: Launches an active developer session with live status streaming.
Real-Time Debug Logs: Every time ChatGPT or Claude executes a tool, the parameters, execution time (in ms), and output preview are printed in real-time.
Stop Anytime: Press
Ctrl+Cin your terminal to cleanly disconnect and stop the bridge.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Universal IDE Bridge (On-Demand Dev Session) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Projects Root: C:\projects
π― Active Workspace: C:\projects\my-app
π Cloud Gateway: https://vscode-antigravity-mcp.vercel.app
π Auth Token: YOUR_SEC..._KEY
π’ Status: ACTIVE & LISTENING (Press Ctrl+C to stop)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π‘ Ready! When ChatGPT or Claude calls a tool, logs will stream below:
[21:30:15] π Gateway heartbeat confirmed (latency: 38ms) | Status: Healthy
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β‘ [21:30:28] INCOMING AI REQUEST: get_active_project
π¦ Parameters: {}
π Target Project: my-app (C:\projects\my-app)
βοΈ Executing local action...
β
Local execution completed successfully in 5.8ms
π Result: {"projects_root": "C:\\projects", "active_project": "my-app", "git_branch": "main"}
π Delivered result to AI assistant in 12ms (attempt 1)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Bridge session stopped by user (Ctrl+C). Clean shutdown complete.
π Goodbye!π Web AI Connection Details (At a Glance)
Connect any Web AI Chat in your browser to your local computer:
Platform | Endpoint URL | Format / Protocol |
ChatGPT Web (Custom GPTs / Actions) |
| OpenAPI Schema Actions (Direct REST) |
ChatGPT Web (MCP Connectors) |
| StreamableHTTP |
Claude Web (Custom Connectors) |
| StreamableHTTP (Official Claude Connector standard) |
Authentication Header |
| Enter your secret key in the connector settings |
URL Query Token Option |
| Append token directly in URL |
π» Browser AI Setup Walkthrough
π’ 1. ChatGPT Web (chatgpt.com Custom GPT Actions β Recommended)
In your browser, open chatgpt.com.
Go to Explore GPTs β + Create (top right) β Configure tab.
Click Create new action:
Authentication Type:
API KeyβBearerβ EnterYOUR_SECRET_KEY.Schema: Click Import from URL β Enter:
https://vscode-antigravity-mcp.vercel.app/openapi.jsonClick Import. ChatGPT imports all tools immediately!
Click Create / Save β Select Only me.
Start chatting with your local projects in ChatGPT!
π£ 2. Claude Web (claude.ai Custom Connectors)
Open claude.ai in your browser.
Click your user profile icon (bottom left) β Settings β Connectors (or + Add β Custom connector).
Fill in:
Name:
Universal IDE BridgeURL:
https://vscode-antigravity-mcp.vercel.app/mcp?token=YOUR_SECRET_KEY
Click Continue. Claude connects over official StreamableHTTP and discovers all 17 tools instantly!
π οΈ Complete Tools Reference (17 Tools)
π Multi-Project & Workspace Navigation
Tool | Description |
| Discovers and lists all project folders, detected tech stacks, and Git branches across your system. |
| Switches the active project context to a different folder on your machine. |
| Inspects current active project name, workspace path, and Git status. |
| Queries overview of active workspace, Git branch, and working changes. |
π File & Directory Operations
Tool | Description |
| Reads lines or full contents of any file with line numbering. |
| Creates or replaces files in your workspace. |
| Finds and replaces specific code blocks in a file. |
| Creates a new directory (and any necessary parent directories). |
| Deletes a file or directory ( |
| Moves or renames files and directories cleanly. |
| Inspects file size, line count, permissions, extension, and timestamps. |
| Explores directories and inspects the file tree. |
π Code Search
Tool | Description |
| Fast regex/text search for functions, classes, or symbols across your codebase. |
π» Terminals & Version Control
Tool | Description |
| Native PowerShell command execution with full UTF-8 encoding support. |
| Windows Command Prompt ( |
| Direct Git operations ( |
| Default system terminal command execution with configurable timeout. |
| Wait for a long-running command and read its output (see below). |
| Terminate a long-running background command and its child processes. |
Long-running commands never time out: a command that takes longer than ~25s (and whose
timeout_secondsis above 25) keeps running in the background and the tool returnsstatus: "running"with ajob_id. The AI then callscheck_command_statusuntil it reportsfinished. Background commands are stopped after 30 minutes.
βοΈ CLI Reference (bridge.py)
Flag | Shorthand | Description |
|
| Path to parent directory containing all projects (e.g. |
|
| User Auth Token (default: reads from config or |
|
| Cloud MCP Gateway URL (default: |
| Initial workspace directory (default: current directory) | |
| Saves the provided | |
| Displays current saved global defaults | |
| Automatically configures Windows Defender exclusions for Python and your code projects (requires UAC prompt) |
π‘οΈ Windows Security & Defender Optimization (Fixing Timeouts)
If Windows Defender or AMSI blocks commands or causes connection timeouts while running tools (e.g. npm install, git, build scripts):
Option 1: 1-Click Setup via Bridge CLI (Recommended)
python bridge.py --allow-defenderClick Yes in the Windows UAC confirmation dialog to apply exclusions instantly.
Option 2: Download & Run allow_defender.bat (Zero-Clone)
If you prefer a double-clickable batch file, download it directly:
curl.exe -o allow_defender.bat https://vscode-antigravity-mcp.vercel.app/allow_defender.batThen double-click allow_defender.bat and click Yes in the UAC prompt.
Option 3: Manual Administrator PowerShell
Open PowerShell as Administrator and run:
Add-MpPreference -ExclusionPath "C:\projects"
Add-MpPreference -ExclusionProcess "python.exe"βοΈ For Admins: Deploying Your Own Gateway to Vercel
1. Click Deploy
2. Environment Variables in Vercel Settings
Variable | Description | Example |
| Comma-separated list of |
|
| Secret password for admin API endpoints |
|
| Max seconds the gateway waits for the local bridge to answer one tool call (default: |
|
| Pub/sub server linking serverless instances when Redis is not configured (default: |
|
| Upstash Redis REST URL for multi-container serverless persistence |
|
| Upstash Redis REST Token |
|
Tip for Vercel Serverless: If you enable free Upstash Redis (
UPSTASH_REDIS_REST_URLandUPSTASH_REDIS_REST_TOKEN), the gateway coordinates tasks across isolated serverless containers with 0% dropped tasks and 0 timeouts.
π Security & Sandboxing
Boundary Protection: The executor enforces strict root directory boundaries. Any attempt by the AI to access files outside your designated root (
../../etc/passwdorC:\Windows) raises an immediatePermissionError.Zero Inbound Ports: Your computer never opens an incoming network port. All communication uses outbound HTTPS polling.
Process Isolation: Terminal commands run inside isolated process groups with Windows
taskkill /F /Ttree-kill timeouts to prevent hanging child processes.Safe Script Policies: PowerShell commands run with
-ExecutionPolicy RemoteSignedto eliminate heuristic alarms from Defender AMSI.
π License
MIT License. Open-source and free for personal and commercial use.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that gives web AI assistants like ChatGPT and Claude Chat hands-on control over a local development machine, enabling them to read, edit, and execute code through a safe, policy-checked interface.1-
- AlicenseNot gradedqualityDmaintenanceMCP server that lets AI assistants securely operate on local workspaces, including guarded binary and image artifact downloads/uploads on Windows and Linux.3MIT
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server that lets ChatGPT securely read, edit, search, and run code in your local projects via an owner-approved connection.MIT
- AlicenseNot gradedqualityAmaintenanceThis self-hosted MCP server connects an MCP client such as ChatGPT to approved local project folders, enabling file reading and editing, code search, shell command execution, and Git worktree workflows without uploading code to a third party. It also supports mounting external stdio or Streamable HTTP MCP servers as dynamic capabilities.482 npmMIT