opencode MCP server
by rajib884
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENCODE_MCP_BIN | No | Path to the opencode executable. | auto-detect |
| OPENCODE_MCP_MODEL | No | Default model id. | opencode/deepseek-v4-flash-free |
| OPENCODE_MCP_STATE | No | Where sessions.json lives. | ~/.local/state/opencode-mcp / %LOCALAPPDATA%\opencode-mcp |
| OPENCODE_MCP_TIMEOUT | No | Default per-call timeout (s). | 180 |
| OPENCODE_MCP_MAX_TEXT | No | Truncate the worker's answer beyond this many chars. | 40000 |
| OPENCODE_MCP_ALLOWED_DIRS | No | If set, write-mode dir must live under one of these roots. |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityStale
ResponsivenessNo issues