gemini-mcp-bridge-server
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.
gemini-mcp-bridge-server
The local MCP server for Gemini MCP Bridge, the Chrome extension that lets Gemini on the web (gemini.google.com) use the tools of your computer.
The extension runs in Chrome and cannot touch your computer by itself. This server is the part that can: it runs commands, reads and writes files, and passes calls through to the other MCP servers you list. The extension reaches it at http://127.0.0.1:7341/mcp.
npx gemini-mcp-bridge-serverNode.js 20 or later. The first start creates the config file with a random token, then prints what to enter in the extension's options:
gemini-mcp-bridge-server 0.1.0
URL: http://127.0.0.1:7341/mcp
Token: 3q2-...
Config: /home/you/.config/gemini-mcp-bridge-server/config.json (new)
Tools: run_command, read_file, write_file, list_directoryLeave the window open while you use Gemini. Every call shows up there.
Start it when you log in
Install it once, then let your system start it:
npm install -g gemini-mcp-bridge-server
gemini-mcp-bridge-server install-serviceIt starts at once and at every login: a LaunchAgent on macOS (log: ~/Library/Logs/gemini-mcp-bridge-server.log), a systemd user service on Linux (log: journalctl --user -u gemini-mcp-bridge-server), a hidden script in the Startup folder on Windows (log: %LOCALAPPDATA%\gemini-mcp-bridge-server\server.log). No administrator rights are needed. --port, --no-shell and --no-files given here are saved in the config.
gemini-mcp-bridge-server tokenshows the URL and the token again (the service does not write the token into its log).gemini-mcp-bridge-server uninstall-servicestops it and removes it.The service runs the Node.js that installed it: after removing that Node.js version (with nvm, say), run
install-serviceagain.
Related MCP server: AKIMCP
Tools
Tool | What it does |
| Runs a command in your shell ( |
| Reads a text file, whole or some of its lines. |
| Writes a text file, or adds to its end. Missing folders are created. |
| Lists a folder. |
Paths may be absolute, start with ~, or be relative to your home folder. The server also tells Gemini, in its MCP instructions, your operating system, your home folder and your shell, so that Gemini writes paths and commands that work.
Options
gemini-mcp-bridge-server [--port <n>] [--config <file>] [--no-shell] [--no-files] [--new-token]
gemini-mcp-bridge-server token | install-service | uninstall-serviceThe config file is ~/.config/gemini-mcp-bridge-server/config.json (on Windows %APPDATA%\gemini-mcp-bridge-server\config.json). Only your user can read it.
{
"port": 7341,
"token": "…",
"tools": { "shell": true, "files": true },
"mcpServers": {
"playwright": { "command": "npx", "args": ["@playwright/mcp@latest"] },
"other": { "url": "http://127.0.0.1:9000/mcp", "headers": { "Authorization": "Bearer …" } }
}
}mcpServers has the shape other MCP clients use, so an existing list can be copied in: stdio servers (command, args, env, cwd) and Streamable HTTP servers (url, headers). Their tools appear with the server's name in front, as playwright__browser_navigate. "disabled": true leaves one out.
Safety
The server listens on
127.0.0.1only. Any web page in your browser can send requests to127.0.0.1, so the server refuses a request unless all three hold:It carries the token:
Authorization: Bearer <token>.It has no
Origin, or achrome-extension://one. Web pages always send their ownOrigin.Its
Hostis127.0.0.1orlocalhost, which defeats DNS rebinding.
Whoever has the token can run commands as you. Keep it like a password.
--new-tokenreplaces it.The extension asks before each call by default. What Gemini writes can come from a web page or a document it read ("prompt injection"): keep
run_commandandwrite_fileon Ask in the extension unless you watch closely.--no-shelland--no-filesturn the tools off on this side.
Development
npm install
npm run check # types, lint, tests (including a stdio MCP server passed through)
npm start # build and run dist/cli.jsLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Use a person's computer after they approve it there: files, Terminal, browser, local MCP.
Use a person's computer after they approve it there: files, Terminal, browser, local MCP.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 OAuth-gated MCP tools that let web-based AI chats and other clients read and edit files, run whitelisted shell commands, search, use Git, SQLite, browser automation, DevTools, background tasks, localhost services, clipboard, notifications, and ports on a user's own machine. It runs locally with folder scoping and a strict command whitelist, so remote clients gain a large operating surface without unrestricted shell access.-
- FlicenseNot gradedqualityAmaintenanceExposes an OAuth-gated MCP endpoint with a governed suite of 38 tools that let web-based AI chat clients work directly on your local machine — reading and editing files, running whitelisted shell commands, searching, using Git and SQLite, automating browsers, driving DevTools, managing background tasks and ports, and reaching localhost services, clipboard, and notifications. A strict command whitelist and folder-scoped access keep that remote operating surface safe by default.-
- FlicenseNot gradedqualityAmaintenanceConnects web-based AI chat clients such as Claude, ChatGPT, and Grok to a local machine through a single OAuth-gated MCP endpoint so they can browse, read, write, and edit files, run whitelisted shell commands, search content, use Git, query SQLite, drive browsers and DevTools, and manage background tasks, ports, and clipboard. It also exposes localhost and LAN services via a protected HTTP client, letting remote or mobile clients debug and operate local projects without granting unrestricted shell access.-
- AlicenseNot gradedqualityAmaintenanceConnects web AI chats and local clients to your own machine through one OAuth-gated MCP endpoint, exposing 38 governed tools for files, shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost services, clipboard, notifications, ports, and Postman control. It lets assistants build and edit projects, inspect databases and local APIs, drive browser workflows, and manage long-running jobs without handing every client unrestricted shell access.MIT