Install guide · Cursor
Install GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "kaiserunix-gemini-bastion-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/kaiserunix/gemini-bastion-mcp:0.3.0-lite" ], "env": { "PUBLIC_DOMAIN": "", "ADMIN_PASSWORD_HASH": "YOUR_ADMIN_PASSWORD_HASH", "OAUTH_SIGNING_SECRET": "YOUR_OAUTH_SIGNING_SECRET", "DEFAULT_AGENT_DRIVER": "", "GOOGLE_OAUTH_CLIENT_ID": "", "GITHUB_OAUTH_CLIENT_ID": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |