XTxiaoting14332/gemini-agent-mcp
Let Gemini reach local machines behind NAT via remote MCP
What it solves
Without it, Gemini Web or CLI clients cannot inspect local workspaces, edit files, track diffs, or run shell commands. A lightweight gateway plus a Go client binary bridge the two sides.
- Remote MCP to local machines
- Read, edit and diff files
- Run shell commands
Works with
- cli
Install
npx wrangler secret put ADMIN_PASSWORD npx wrangler secret put CLIENT_TOKEN npx wrangler secret put SESSION_SECRET npx wrangler deploy Copy-ready config
{
"mcpServers": {
"workstation": {
"httpUrl": "https://your-gateway.example.com/mcp/<deviceId>",
"headers": {
"Authorization": "Bearer <DEVICE_GATEWAY_TOKEN>",
"X-Gateway-Token": "<DEVICE_GATEWAY_TOKEN>"
}
}
}
} Security flags
- Needs API key: Not stated
- Runs locally: Yes
- Network access: Yes
- Needs root: Yes
Maintenance
| Last commit | 2026-12-05(0d) |
|---|---|
| Stars | 42 |
| Open issues | 0 |
| License | GPL-3.0 |
| Archived | No |
| Data fetched | 2026-12-05 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
A remote MCP (Model Context Protocol) agent harness that lets Gemini Web or CLI clients inspect workspaces, read and edit files, track diffs, and execute shell commands on local machines behind NAT via a lightweight gateway and Go client binary.