
GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT
Remote MCP bastion with OAuth 2.1 for Gemini, Claude.ai, and ChatGPT: sandboxed code work and one gated write exit.
- GitHub stars
- 1
- tools
- 10
- auth
- Secret needed
- transport
- HTTP
- env vars
- 6
- last updated
- Nov 21, 2026
What it does
- Reads code and infra with
workspace_manage,code_explore,github_inspect, andinfra_inspect, covering repo sync, ripgrep and ast-grep search, PR diffs, failed Actions logs, and Cloudflare zones, DNS, workers, and KV - Edits and runs code with
code_patchandworkspace_exec, using atomic multi-file patches with checkpoints inside a per-workspace bwrap jail that has no network by default - Delegates background work via
dispatch_runnerand tracks it withjob_status;publish_changesis the only path for external writes such as PRs, reviews, and Cloudflare deploys - Requires OAuth 2.1 sign-in through Google or GitHub and runs as a self-hosted Streamable HTTP server, with Docker images on GHCR
- Designed for mobile or browser-based code review, fixes, and PR workflows where a single approval prompt should cover external writes
Tools
10 toolsPublic tool metadata for what this MCP can expose to an agent.
workspace_manageManages workspace actions including list, sync_github, init_cf_ops, list_checkpoints, rollback, and persistent workspace memory operations (memory_list, memory_upsert, memory_delete).
Manages workspace actions including list, sync_github, init_cf_ops, list_checkpoints, rollback, and persistent workspace memory operations (memory_list, memory_upsert, memory_delete).
No parameter schema in public metadata yet.
code_exploreExplores code via pack (repomix), search (ripgrep), ast (ast-grep), read_lines, read_artifact, and git_diff actions.
Explores code via pack (repomix), search (ripgrep), ast (ast-grep), read_lines, read_artifact, and git_diff actions.
No parameter schema in public metadata yet.
code_patchApplies atomic multi-file patches, create_or_overwrite, and delete_file operations with auto-checkpoint and L0/L1/L2 validation.
Applies atomic multi-file patches, create_or_overwrite, and delete_file operations with auto-checkpoint and L0/L1/L2 validation.
No parameter schema in public metadata yet.
workspace_execRuns a sandboxed shell inside a per-workspace bwrap jail, with optional network access and background job promotion.
Runs a sandboxed shell inside a per-workspace bwrap jail, with optional network access and background job promotion.
No parameter schema in public metadata yet.
dispatch_runnerDispatches background codex, agent, or shell tasks through a pluggable agent driver, with optional workspace memory injection and thread resume.
Dispatches background codex, agent, or shell tasks through a pluggable agent driver, with optional workspace memory injection and thread resume.
No parameter schema in public metadata yet.
job_statusPolls job status, streamed events, token usage, git status, final report, or cancels a job.
Polls job status, streamed events, token usage, git status, final report, or cancels a job.
No parameter schema in public metadata yet.
github_inspectReads PR diffs and files, issue threads, and failed Actions logs in a read-only manner.
Reads PR diffs and files, issue threads, and failed Actions logs in a read-only manner.
No parameter schema in public metadata yet.
infra_inspectPerforms read-only Cloudflare inspection of zones, DNS records, workers, pages, KV namespaces, D1 databases, WAF rules, and worker tail logs.
Performs read-only Cloudflare inspection of zones, DNS records, workers, pages, KV namespaces, D1 databases, WAF rules, and worker tail logs.
No parameter schema in public metadata yet.
stage_mutation_planCaptures pre-change live state to build a rollback payload and diff, issuing a 15-minute plan_id without performing writes.
Captures pre-change live state to build a rollback payload and diff, issuing a 15-minute plan_id without performing writes.
No parameter schema in public metadata yet.
publish_changesThe single external write exit for creating GitHub PRs, reviews, comments, Cloudflare deploys, executing staged plans, and rollbacks.
The single external write exit for creating GitHub PRs, reviews, comments, Cloudflare deploys, executing staged plans, and rollbacks.
No parameter schema in public metadata yet.
Configuration
PUBLIC_DOMAIN*Public HTTPS origin of your gateway (e.g. https://mcp.yourdomain.com)
ADMIN_PASSWORD_HASHsecretOperator password hash in scrypt:<saltHex>:<keyHex> format
OAUTH_SIGNING_SECRET*secretRandom secret (>= 32 chars) used to sign OAuth tokens and admin sessions
DEFAULT_AGENT_DRIVERDefault autonomous coding agent driver (codex | claude_code | gemini_cli | opencode)
GOOGLE_OAUTH_CLIENT_IDOptional Google OAuth Client ID for upstream operator SSO on /admin/login and /oauth/authorize
GITHUB_OAUTH_CLIENT_IDOptional GitHub OAuth Client ID for upstream operator SSO on /admin/login and /oauth/authorize
Readme
GeminiBastionMCP — Self-Hosted OAuth 2.1 Remote MCP Server for Web Gemini, Claude.ai & ChatGPT
GeminiBastionMCP (gemini-bastion-mcp)
Built for Web Gemini (gemini.google.com) Connected Apps, Claude.ai Custom Connectors & ChatGPT MCP Connectors — NOT Gemini-Only.
Details
- Repository
- github.com/kaiserunix/gemini-bastion-mcp
- Categories
- Developer Tools, DevOps & Cloud
- Package
ghcr.io/kaiserunix/gemini-bastion-mcp:0.3.0-lite- Transport
- HTTP
- Auth
- Required
- Registry
- MCP registry, active
Similar to GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT
More Developer Tools
Codex Mcp Toolx51xxx24 starsBridges AI assistants to Codex CLI for file analysis, code review, and sandboxed edits.
Geminijamubc2.3K starsGives Claude access to Google Gemini's analysis and sandboxed code execution via the Gemini CLI.
LLM Sandboxvndee1.1K starsRun LLM-generated code in isolated sandboxes, with Docker, Podman, Bubblewrap, and NsJail backends.
GitLab MCP Serverzereight2.1K starsRead and write access to GitLab projects, merge requests, issues, pipelines, and branches.
Claude Codesteipete1.3K starsRuns Claude Code CLI as a one-shot subagent for delegating coding prompts from another MCP client.
GitHubgithub34.7K starsConnects AI assistants to GitHub repositories, issues, pull requests, Actions workflows, and security alerts.