AgentBridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AgentBridgeread the current file diagnostics and list all errors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
VSC AgentBridge
Expose your VS Code workspace's tools — files, terminal, LSP, diagnostics, and images — to web-based AI assistants that support MCP (GPT, Arena, etc.) over a public HTTPS tunnel.
Status
Published to the Visual Studio Marketplace. Built and tested on Windows with VS Code 1.95+ and Node 22+. All fourteen development phases are landed and verified end-to-end against ChatGPT Connectors.
Related MCP server: vscode-mcp-server
Features
14 MCP tools spanning:
File system —
read_files,apply_patch,search_files,find_files,list_directory,read_image_fileTerminal —
run_command,get_command_output,send_command_input,terminate_commandLSP / diagnostics —
get_diagnostics,lspBridge state —
set_todos,report_progress
3 tunnel providers — Cloudflare Quick Tunnel (default, zero-config), Cloudflare Named Tunnel (stable hostname), ngrok (reserved domain).
Cross-platform cloudflared detection and installation — one-click Winget installation on Windows and Homebrew installation on macOS; Linux checks PATH,
/usr/bin, and/usr/local/binwhile keeping installation manual through Cloudflare's official instructions.Managed shell support matrix — PowerShell 5.1 / PowerShell 7+ (Windows), bash (Linux) and zsh (macOS) fully support
run_commandvia per-prompt protocol hooks; cmd, sh and fish are rejected up front with a clear error instead of timing out. The syntax hint shown to the AI updates automatically when you switch shells.Vision-capable
read_image_file— returns MCPImageContentblocks (PNG / JPEG / GIF / WebP / BMP) up to 5 MiB so vision-capable clients see pixels natively. SVG stays text viaread_files.External link routing —
agentbridge.bridge.openInternalBrowser(auto/all/external) controls whether ChatGPT / Arena open inside VS Code's Simple Browser or in the OS default browser. Defaultautomatches the original in-editor experience.Bridge panel — Activity Bar view with tunnel provider radio, status hero, persistent toggle, sessions timeline with mini diffs, and an advanced card covering managed shell, link routing, copy-MCP-prompt, and reset routeToken.
Auto-start — flip
agentbridge.bridge.persistentModeto bring the Bridge up on extension activation.Client compatibility — verified against ChatGPT Connectors, Claude Desktop, Cursor, Cline, Continue.
Installation
Option A — From VS Code Marketplace (recommended)
The extension is published on the VS Code Marketplace, so you can install it directly from the Extensions panel.
Open VS Code → Extensions panel (
Ctrl+Shift+X/Cmd+Shift+X)Search
VSC AgentBridge(or visit the Marketplace page)Click Install
Or from the command line:
code --install-extension agentbridge.vsc-agentbridgeOption B — Download prebuilt vsix (offline / VSCodium)
For environments without Marketplace access (VSCodium, internal networks, manual installer distribution), grab the prebuilt vsix from GitHub Release and sideload.
Open the latest release page
Download the latest vsix release to your computer
Install it:
code --install-extension /path/to/downloaded.vsixOr graphically: VS Code → Extensions panel →
⋯menu → "Install from VSIX..." → pick the downloaded file.
Option C — Build from source (for developers)
Requires Node 22+ and npm.
git clone https://github.com/5258MF/AgentBridge.git
cd AgentBridge
npm install
npm run buildThen either run it as a dev extension or sideload the packaged vsix:
# Dev mode
"Code.exe" --extensionDevelopmentPath="$PWD"
# Or package a vsix locally
npx @vscode/vsce package --out vsc-agentbridge-latest.vsix --skip-license --allow-missing-repository
code --install-extension vsc-agentbridge-latest.vsixTunnel providers
Mode | Public URL stability | Requirements |
| Ephemeral — changes after each restart | None |
| Stable hostname ( | Cloudflare account, managed domain, Tunnel Token, published app route |
| Reserved domain ( | ngrok Authtoken + reserved hostname |
Choose in the AgentBridge panel's tunnel provider radio, or set agentbridge.bridge.tunnelProvider in settings.json.
cloudflared detection and installation
Cloudflare Quick Tunnel and Cloudflare Named Tunnel share the same cloudflared detection and installation help. The required flow is Check Tunnel → install if needed (with automatic verification) → Start Bridge. Every check actually runs cloudflared --version; finding a file that cannot execute does not count as an installed client. Manual Cloudflare starts stay disabled until the selected provider and configuration have passed a check; Persistent Mode performs that check automatically before starting. ngrok keeps its existing start behavior.
System | Automatic installation | Detection locations |
Windows | Winget | PATH, Winget Links, WindowsApps, Program Files |
macOS | Homebrew | PATH, |
Linux | Manual instructions only in this release | PATH, |
When a check cannot find cloudflared, AgentBridge also verifies whether Winget or Homebrew can actually run. The one-click install button appears only when that installer is available. A successful installation is checked automatically; Start Bridge unlocks only after the selected Cloudflare provider and its configuration pass verification. If Winget is missing on Windows, Homebrew is missing on macOS, or cloudflared is absent on Linux, open the official Cloudflare downloads instructions from the panel, install it manually, and click Check Tunnel again. This release does not run APT or modify Linux package sources.
Configuration
All settings live under the agentbridge.bridge.* namespace.
Key | Type | Default | Notes |
| enum |
|
|
| enum |
| cloudflared↔Cloudflare edge transport (Cloudflare tunnels only): |
| string |
| Fixed hostname (e.g. |
| integer |
| Local port the named tunnel routes to |
| string |
| Reserved ngrok domain (e.g. |
| string |
| Absolute path (e.g. |
| string |
| Absolute path or PATH-resolvable name (e.g. |
| enum |
|
|
| boolean |
| Start the Bridge automatically on extension activation |
Runtime toggles for managed shell and open-internally-browser live on the Bridge panel's advanced card.
Cloudflare Named Tunnel walkthrough
See docs/cloudflare-named-tunnel-setup.md for a step-by-step guide (check/install cloudflared, create the tunnel, copy the token, add the route, verify DNS, check, then start + verify the bridge). English version: cloudflare-named-tunnel-setup.en.md.
ngrok development domain walkthrough
See docs/ngrok-development-domain.en.md for a step-by-step guide (install ngrok → copy the fixed domain → configure Authtoken → check → start + verify). Chinese version: ngrok-development-domain.md.
Connecting the ChatGPT web app: see docs/chatgpt-web-connector.md (start Bridge → copy MCP address → add Connector → grant permissions). English version: chatgpt-web-connector.en.md.
Known limitations
Cloudflare Quick Tunnel URL is ephemeral — rotates every restart. Use Named Tunnel (or ngrok) for stable, shareable URLs.
Cloudflare Tunnel requires outbound port 7844. cloudflared prefers QUIC over UDP 7844; TCP 7844 (HTTP/2) is the alternate transport. If a campus, corporate, firewall, or proxy network blocks both transports, neither Quick Tunnel nor Named Tunnel can connect; allow one of the 7844 transports, switch networks, or use ngrok instead.
QUIC can stay unstable even when cloudflared's pre-check passes. The pre-check only probes short QUIC handshakes; networks that pass the handshake but drop sustained UDP flows (common on campus/corporate networks) keep failing real traffic, and cloudflared does not reliably fall back to HTTP/2 within its startup window. AgentBridge self-heals: with
tunnelProtocol: auto(default), repeated edge dial failures with zero registrations restart the tunnel with HTTP/2 (TCP 7844) automatically and announce it in the panel; settunnelProtocol: http2to skip QUIC entirely.Simple Browser + ChatGPT login sometimes bumps into Cloudflare managed challenges. Multi-retry usually resolves; if it persists, switch to the OS browser via
agentbridge.bridge.openInternalBrowser: "external".ChatGPT Connectors caches
tools/listat session start. Adding / removing / modifying MCP tools requires the user to manually Refresh (or Remove + re-add) the Connector inchatgpt.com → Settings → Connectors. Stop+Start the Bridge alone is not enough.
Compatibility
VS Code 1.95+
Node 22+
Built and verified on Windows; macOS supports Homebrew installation, while Linux detects an existing cloudflared and provides a manual installation entry point.
File search bundles ripgrep on Windows. On macOS/Linux it uses
rgfrom PATH when available, otherwise the built-in bounded Node engine (content search: at most 20,000 files and files up to 2 MiB; file discovery: at most 5,000 candidates).
License
MIT. See LICENSE for the full text.
Third-party notices, including the MIT terms for portions derived from microsoft/vscode, are listed in THIRD_PARTY_NOTICES.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Secure tunneling, reverse proxy and remote access for local applications.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceConverts VSCode into an MCP server that enables external clients to remotely execute VSCode internal commands, query workspace information, and interact with the editor through HTTP streaming. Built on the FastMCP framework with security controls and real-time monitoring.63-
- FlicenseAqualityDmaintenanceA portable MCP server enabling AI assistants to operate VS Code, including file management, extension control, and workspace automation.6-
- AlicenseNot gradedqualityAmaintenanceEmbeds a self-hosted VS Code workbench in an MCP App, enabling collaborative editing, terminals, diagnostics, and commands in a shared workspace.82MIT
- AlicenseNot gradedqualityAmaintenanceExposes a local development project as a secure MCP server over a stable HTTPS URL via Cloudflare tunnel, with configurable access permissions and 33 development tools for file, command, Git, and process operations.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/5258MF/AgentBridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server