Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoLocal HTTP port.49390
MCP_SECRETNoURL path secret (/mcp/<secret>). Persisted by default in ~/.config/opencode-remote-mcp/secret.
MCP_TUNNELNoTunnel mode: auto, opentunnel, cloudflare, or none. Auto-prefers opentunnel and falls back to cloudflare.auto
OPENCODE_URLNoLocal OpenCode server URL.http://127.0.0.1:49374
MCP_READ_ONLYNoDisable opencode_dispatch and opencode_interrupt.false
OPENCODE_MODELNoDefault model for new sessions. Defaults to the OpenCode default.
MCP_BEARER_TOKENNoOptional Authorization: Bearer check.
OPENCODE_PASSWORDNoOpenCode Basic auth password. Defaults to ~/.config/opencode/service.json.
OPENCODE_MCP_ROOTSNoAllowed workspace root (repeatable). Defaults to the current working directory.
OPENTUNNEL_ROUTE_NAMENoOptional OpenTunnel subdomain name.

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