Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENCODE_BASE_URLNoOpenCode server URLhttp://127.0.0.1:4096
OPENCODE_AUTO_SERVENoAuto-start an in-process OpenCode server if none is reachabletrue
OPENCODE_DEFAULT_MODELNoDefault model ID when not specified per-tool
OPENCODE_SERVER_PASSWORDNoHTTP basic auth password (enables auth when set)
OPENCODE_SERVER_USERNAMENoHTTP basic auth usernameopencode
OPENCODE_DEFAULT_PROVIDERNoDefault provider ID when not specified per-tool

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

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/AlaeddineMessadi/opencode-mcp'

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