Skip to main content
Glama
gemini-local-mcp
by guge0

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
hostNoThe local bind host for the MCP gateway.127.0.0.1
portNoThe local port for the MCP gateway.8765
auth_tokenNoStatic Bearer token for scripts or non-OAuth clients. Can alternatively be provided via MCP_AUTH_TOKEN.
allowed_rootsYesJSON array of allowed local directories or drive roots, e.g. ["D:\\Workspace", "E:\\"]. Windows backslashes must be escaped as double backslashes in JSON.
MCP_AUTH_TOKENNoEnvironment variable override for auth_token.
max_read_charsNoMaximum number of characters returned by fs_read.30000
oauth_passcodeNoLocal browser authorization confirmation passcode. Entered only on the local OAuth authorization page, not in the Gemini settings form. Can alternatively be provided via MCP_OAUTH_PASSCODE.
oauth_client_idNoOAuth 2.1 client ID. Must match the Client ID entered in the Gemini App custom connector.gemini-local-mcp
public_base_urlYesThe public HTTPS base URL of the MCP gateway, e.g. https://<device>.<tailnet>.ts.net.
MCP_OAUTH_PASSCODENoEnvironment variable override for oauth_passcode.
oauth_client_secretNoOAuth 2.1 client secret. Must match the Client Secret entered in the Gemini App custom connector. Can alternatively be provided via MCP_OAUTH_CLIENT_SECRET.
MCP_OAUTH_CLIENT_SECRETNoEnvironment variable override for oauth_client_secret.
default_worker_timeout_secNoDefault timeout in seconds for dispatched worker tasks.600

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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources