Skip to main content
Glama
OpenCode V2 MCP Bridge
by ddarkwing

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_BINNoPath to the Node.js binary used by `run.sh`.
OPENCODE_BINNoPath to the OpenCode binary used by `run.sh`.
OPENCODE_BASE_URLNoURL of the OpenCode service. By default determined via `opencode service status`.
OPENCODE_FORCE_MODELNoAlways use this model, ignoring the model argument and agent configuration.
OPENCODE_FALLBACK_MODELNoModel to retry with once if an attempt fails with outcome "failed".
OPENCODE_SERVER_PASSWORDNoPassword for the OpenCode service. By default read from `service.json`.
OPENCODE_SERVER_USERNAMENoBasic-auth username for the OpenCode service. Defaults to `opencode`.opencode
OPENCODE_DEFAULT_DIRECTORYNoDefault project directory.

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