Gemini Local MCP
by a820936422
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OWNER_EMAIL | Yes | Default account when GEMINI_ALLOWED_ACCOUNTS is not configured, e.g. alice@example.org. | |
| PUBLIC_ORIGIN | Yes | Public HTTPS origin, e.g. https://gateway.example.org. The MCP endpoint is this origin plus /mcp. | |
| MCP_SERVER_NAME | No | Service name announced in the MCP handshake; defaults to local-files. | local-files |
| GOOGLE_CLIENT_ID | Yes | Google Web application client ID used by the gateway to verify Google identity. | |
| GEMINI_MCP_SOURCE | No | Development checkout path recorded by setup, used by the runtime gateway to protect private files and dependencies in the source directory. | |
| GEMINI_ACCESS_MODE | No | Access mode: restricted (default) or unrestricted. | restricted |
| GEMINI_PI_ACCOUNTS | No | Email list authorized for Pi calls; default empty. | [] |
| GEMINI_RESPONSE_KIB | No | Maximum single tool response size in KiB; default 256, range 4-8192. | 256 |
| GEMINI_FILE_COMMANDS | No | 1 enables run_file_command; default disabled. | 0 |
| GEMINI_MCP_CLIENT_ID | No | Optional client ID for Gemini manual client registration; must be set together with GEMINI_MCP_CLIENT_SECRET. | |
| GOOGLE_CLIENT_SECRET | Yes | Google Web application client secret used by the gateway to verify Google identity. | |
| GEMINI_FOLDER_ALIASES | No | JSON object mapping shared directory absolute paths to fixed aliases. | {} |
| GEMINI_SCRIPT_ACCOUNTS | No | Email list authorized for offline scripts; default empty. | [] |
| GEMINI_ALLOWED_ACCOUNTS | No | Email whitelist for accounts; falls back to OWNER_EMAIL when unset. | |
| GEMINI_SHARED_DIRECTORY | No | Absolute path of the first shared directory; initially no directory is shared. | |
| GEMINI_EXTRA_DIRECTORIES | No | JSON string array of absolute paths for additional shared directories. | [] |
| GEMINI_MCP_CLIENT_SECRET | No | Optional client secret for Gemini manual client registration; must be set together with GEMINI_MCP_CLIENT_ID. | |
| GEMINI_PROJECT_WORKSPACES | No | JSON string array of absolute paths for project workspaces; must also be writable; default empty. | [] |
| GEMINI_HOST_BROWSE_ACCOUNTS | No | Email list authorized for host read-only browsing; default empty. | [] |
| GEMINI_WRITABLE_DIRECTORIES | No | JSON string array of absolute paths for writable directories; default empty. | [] |
| GEMINI_UNRESTRICTED_READ_ONLY | No | Only applies in unrestricted mode; 1 for read-only, 0 (default) allows read/write. | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues