Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPEN_DELEGATE_ODE_MODELSNoCSV list of model identifiers that should always use open-delegate (force routing)
OPEN_DELEGATE_DENY_MODELSNoCSV list of denied model identifiers
OPEN_DELEGATE_ALLOW_MODELSNoCSV list of allowed model identifiers
OPEN_DELEGATE_OPENCODE_BINNoFull path to the opencode CLI binary if not on PATH
OPEN_DELEGATE_DEFAULT_MODELNoDefault model identifier for opencode sessions (e.g., opencode/deepseek-v4-flash-free)
OPEN_DELEGATE_ODE_MODELS_FILENoPath to a JSON array or CSV file listing models for force routing
OPEN_DELEGATE_OPENCODE_CONFIG_CONTENTNoFull OpenCode configuration blob (advanced usage)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ode_delegateA

Starts a new OpenCode agent session to work on prompt (or promptPath) in the background and returns a sessionId - typically with status "running" once the underlying opencode server is warm, or "starting" if it just had to cold-spawn (never blocks past a few seconds either way, unless waitMs is set). Pass sessionId to resume a finished session with a follow-up prompt. Follow up with ode_await (block until done or timeout; timeoutMs: 0 = single check).

Model policy (cost-first):

  • default (when model omitted): opencode/deepseek-v4-flash-free

  • ODE_MODELS force-routing catalog: opencode/deepseek-v4-flash-free, opencode/nemotron-3-ultra-free, opencode/mimo-v2.5-free, opencode/laguna-s-2.1-free, … (13 total)

  • allow list: openrouter/, opencode/ (default)

ode_awaitA

Blocks (up to a clamped timeout) until the session started by ode_delegate finishes, then returns its final status (plus a capped answer when text is available). While still running, may include currentActivity (e.g. tool:bash … or thinking). Pass timeoutMs: 0 for a single non-blocking status check. Returns status:"running"/"starting" if the timeout elapses first — call again to keep waiting.

ode_transcriptA

Fetches the conversation so far for a session started by ode_delegate, without waiting for it to finish.

ode_cancelA

Aborts an in-progress session started by ode_delegate. A no-op (still returns ok) if it already finished.

ode_diagnosticsA

Read-only snapshot of the open-delegate MCP bridge itself (not a specific session): its own pid/version/log paths, every live opencode runtime with its own pid/url/log path, recent internal events, and session counts by status. Use this to diagnose host-side "Connection stopped" / "Timed out waiting for connection" errors, or to find which opencode process/log backs a given runtimeKey.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Verbalize-public/open-delegate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server