Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENCODE_ADVISOR_TIMEOUT_MSNoTimeout in milliseconds for the advisor request (default 120000).
OPENCODE_ADVISOR_ALLOWED_ROOTSYesSemicolon-separated list of allowed root directories for the advisor to access.
OPENCODE_ADVISOR_MAX_DIFF_CHARSNoMaximum number of characters in the diff sent to the advisor (default 60000).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ask_opencode_advisorC

Ask the local read-only OpenCode codex-advisor agent to review current git changes.

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

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