Skip to main content
Glama
mvagnon

opencode-mcp

by mvagnon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENCODE_BINNoopencode binary (absolute path recommended)opencode
OPENCODE_AGENTNoopencode agent forced on every run (e.g. explore)
OPENCODE_REPOS_DIRNoWhere checkouts live~/codelab/repositories
ASK_CODEBASE_TIMEOUTNoHard timeout for the opencode run, in seconds600
OPENCODE_MANIFEST_DIRNoDirectory of .opencode_mcp_manifest.json~
OPENCODE_REPO_TTL_DAYSNoRe-fetch a repo after this many days3

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

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