DevBridgeConnect your AI assistant to your local VS Code workspace. Stay in control of what it can do. Website & docs: devbridge-vscode.vercel.app DevBridge is a free, open-source local AI agent gateway and VS Code extension that lets compatible MCP clients work with your project files, editor diagnostics, Git and local tools across VS Code and VSIX-compatible editors (Cursor, Windsurf, VSCodium, Trae, Kiro, and Positron). You choose the folders, permissions and credentials. No DevBridge account or hosted backend is required. What you can do
Browser and computer automationOptional BrowserUse (Playwright MCP) and ComputerUse (Zavora) extend the gateway beyond project files. Both are disabled by default. Enable each engine in Settings > Device tools, then explicitly authorize the agent in Access > Permissions. DevBridge detects compatible local installations or installs pinned dependencies automatically. Local Node.js 20+ and npm are required. Browser sessions are isolated per agent; desktop control is exclusive. Device access is not limited to workspace folders. Read the BrowserUse guide, ComputerUse guide and automation internals. Get started1. Install DevBridgeInstall directly from the Visual Studio Marketplace. Alternatively, download the latest Alternatively, run Platform & editor supportDevBridge uses one VSIX for Windows, macOS and Linux (desktop VS Code 1.96+ and compatible Code OSS-based editors supporting the VS Code extension API
Unix downloads require tar; other architectures can use manually installed provider binaries configured in VS Code Settings. The ngrok archive version is maintained in src/installer.ts and should be refreshed for security updates. Unix orphan recovery is restricted to the same OS user, verified process identity and exact matching metadata or explicitly confirmed loopback domain; POSIX PID signalling has a residual identity race, and ambiguous or uninspectable processes must be handled manually. Use the machine-level DevBridge: Shell setting to select PowerShell, PowerShell 7, CMD, sh, Bash, Zsh or Fish. Auto uses PowerShell on Windows and /bin/sh elsewhere. The chosen shell must already be installed; script permissions still apply. Remote SSH, WSL and Dev Containers run workspace operations in the extension host environment, not necessarily on the desktop. Web-only VS Code and untrusted or virtual workspaces are unsupported. 2. Choose a connectionOpen a trusted local project and select DevBridge in the VS Code Activity Bar. Choose a provider in Settings → Connection setup.
Get an ngrok Authtoken (not an API key) and find your HTTPS domain in the dashboard. For a named Cloudflare tunnel, follow the locally managed tunnel guide to authenticate cloudflared, create the tunnel and route a public hostname. Enter its name/ID and HTTPS origin in DevBridge; do not append /mcp. These links are available inside Connection setup. Remote providers may have account requirements, usage limits or costs. DevBridge itself is free. Temporary endpoints may change after reconnecting. 3. Set permissions and connectGo to Access and select a permission preset or customize the rules. Select Connect gateway on Home, review the folders and remote-access confirmation, then wait for the verified connection. 4. Connect your AI clientSelect Connect agent, choose ChatGPT Web, Claude Web, Gemini Web or Other, select the authentication method, workspace grants and lifetime, then select Connect & copy.
OAuth (recommended for compatible web clients): a public HTTPS gateway is required. Copy the clean MCP URL and add it to the web client's MCP settings using the corresponding OAuth registration option. For manual registration, enter the exact redirect URI in DevBridge first, then copy the generated client ID and optional secret into the web client. Complete authorization within the 15-minute pairing window. Compare the code shown in your browser with the DevBridge authorization popup, confirm the matching code, review permissions and approve only if you initiated the connection. Registration itself does not grant access. Access tokens expire within an hour and can be refreshed until the approved grant expires or is revoked. Completed OAuth grants, associated client registrations and token validation state are saved in workspace-scoped VS Code SecretStorage. Reconnecting to the same verified HTTPS URL restores access until the original grant expires, is paused or is revoked. Use a stable ngrok or Cloudflare Named Tunnel URL for persistent connections. Changing the public HTTPS endpoint invalidates prior OAuth grants. Temporary Cloudflare Quick Tunnel URLs normally change after restart, so they require a new authorization. If pairing expires, start Connect agent again. CIMD fetches only the allowlisted published ChatGPT/Claude metadata documents. Public PKCE clients and client secrets are supported; private_key_jwt and OIDC login are not supported. ChatGPT Web: open Plugins, choose + → Add custom MCP server, enter DevBridge and the clean HTTPS MCP URL, select OAuth, and choose the matching registration mode when offered. For private URL mode, paste the entire private URL and select No authentication. Confirm the risk notice, create and install the personal plugin, then select DevBridge in chat. Do not publish a private URL. Mixed authentication and custom request headers are not supported by this integration. Claude Web: open Customize → Connectors → Add custom connector. Enter DevBridge and the clean MCP URL. Under OAuth client, choose published identity, automatic registration or own client as selected in DevBridge. For a static token, select Token · Authorization header in DevBridge. Copy MCP URL and Authorization value separately; in Claude's Request headers select authorization, paste the entire value including the Bearer prefix and mark Required. Leave OAuth credentials empty. Do not paste JSON into the web connector. Gemini Web: open Settings → Connected Apps → add a custom app / connect to an MCP server. For own-client registration, copy the redirect URI in Additional settings into DevBridge before generating credentials. Copy the clean URL, client ID and optional secret into Gemini. Automatic registration works only if the client supports DCR. Match the browser verification code and authorize locally. Gemini Web does not advertise a fixed bearer header field in the connection dialog. Other clients: choose a supported OAuth option or static token format. Header mode copies the complete Authorization value; raw bearer mode copies only the token; JSON is for clients accepting HTTP MCP configuration; private URL includes a secret query parameter; legacy SSE uses the /sse endpoint and header for both stream and message requests. Localhost only works with clients on the same host. All static credentials retain their previous expiration and revocation behavior. Never share a credential or commit it to Git. Client support depends on the application, plan and version. The OAuth protocol implementation is tested with synthetic clients; actual web-client interoperability must be verified separately. See ChatGPT authentication, Claude custom connectors, and Gemini Connected Apps. Your control center
Remote connection approval: Remote providers ask for consent the first time and whenever the configured exposure or resolved workspace roots change. Keep “Remember this connection configuration” checked for one-click reconnects after editor restart. Uncheck it to approve only the current connection. Use Settings → Forget remembered remote-access approval to ask again; agent credentials and workspace grants are unaffected. Permissions and privacyChoose one of four per-agent permission presets under Agents → Permission preset or Access → Permission preset. Default permissions for new agents offer Safe, Auto and Developer; Turbo is an explicit per-agent choice.
Selecting a non-Turbo preset resets the agent's existing tool/operation overrides and remembered calls without adding workspaces. Turbo is a locally confirmed overlay; it includes shell execution automatically unless explicitly denied. Global shell Deny, mandatory standalone-folder reviews and native path protections still apply. The agent shell settings can impose stricter rules after enabling Turbo. Only enable it for trusted agents.
A denied security limit or tool group takes precedence over individual Allow. Commands, Git mutations, HTTP requests and checkpoint restores ask by default, but an explicit new Allow choice at the operation, tool or all-tools level opts known eligible operations into unattended execution. Existing grants retain their former review defaults until edited. Eligible reviews offer Allow Always. After a successful call, DevBridge remembers the operation and a fingerprint of its exact validated arguments for that agent and workspace, not permission for every call to that operation. Changed parameters require a new review. Select the individual agent and workspace in Access, open Advanced permissions → Remembered approvals, revoke the entry and save. Changing the corresponding permission or applying a preset clears the relevant remembered calls. Explicit operation-wide Allow rules remain a separate feature; existing broad permissions from older versions are preserved until edited. Standalone-folder write reviews remain mandatory. Shell execution has a workspace-wide default under Default permissions. Global Deny blocks every agent. Under Access, select an individual agent and use the Shell policy dropdown (also available in Agents → More actions → Shell settings). Choose Inherit, Allow, Ask, or Deny. Selecting Turbo includes shell by default unless explicitly denied. To restrict shell while Turbo is on, configure the agent shell policy explicitly. With Inherit selected, Include shell execution in Turbo Mode allows unattended shell scripts even when the global default is Ask. Global Deny always applies. Existing agents retain their saved policy until changed. Other agents remain unchanged. Discovery and workspace listing remain protected system functions. Compound operations honor the strictest effective rule of their dependencies (shown in Access). Common shell interpreters must use command.shell; arbitrary executables and project scripts are not an OS sandbox. Client-side confirmation is independent. DevBridge is not an operating-system sandbox. Commands can run with your OS privileges and access files outside the selected folders. Only connect trusted agents to trusted projects. Tunnel providers and AI clients can process the data they receive. Redaction is best effort. Tool detail capture is off by default for new workspaces; opt in to bounded session-only capture. Existing explicit capture preferences are preserved. Saved static token credentials are represented by digests and survive gateway disconnect. OAuth credentials for completed authorizations also survive restart at the same verified HTTPS URL. Pending approvals and authorization codes are never persisted. Rotate or revoke a leaked credential immediately. Developer intelligence and project collaborationThe nine core MCP tools remain unchanged; authorized agents may additionally discover
Troubleshooting
Report reproducible problems in Issues. Do not include tokens, private URLs or confidential logs. Open sourceDevBridge is licensed under the MIT License. Contributions are welcome! See the website, Contributing, architecture, security and changelog. Third-party dependency and icon attribution is in Third-party notices. Advanced local workflowThe right-hand status bar starts/stops DevBridge, and its adjacent Quick Actions menu provides direct access to agent setup, permissions, settings, activity and existing local service authorization. Optional approved startup is disabled by default and only reuses a previously successful, unchanged selection and stable exposure. Client-specific token configuration exporters support Gemini CLI, VS Code, Cursor and Claude Code. Keep exported credentials private. Discover Human-readable agent activityAgents can now include a short top-level label (up to 80 characters) in any of the nine tool calls, e.g. "Inspect gateway startup logic" or "Verify regression tests". Activity, Home, agent cards, approvals, jobs and the status-bar tooltip display the task purpose beside the actual operation. Labels are untrusted session metadata, not authorization. Legacy clients work without them and receive generated fallback labels. Optional output-log label recording is disabled by default. The latest operation options are documented in Developer tools. Documentation |