opencode-agent-mcp
by define9
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_LOG_FILE | No | Optional file path for log output; default is stderr. | |
| OPENCODE_BIN | No | Path to the opencode executable (managed mode only). | opencode |
| OPENCODE_URL | No | When set, the server runs in external host mode and connects to the given opencode serve URL. When unset, managed mode is used and the server spawns opencode serve itself. | |
| MCP_LOG_LEVEL | No | One of debug / info / warn / error. | info |
| OPENCODE_PORT | No | Port for the managed host (managed mode only). | 4096 |
| OPENCODE_HOSTNAME | No | Bind address for the managed host (managed mode only). | 127.0.0.1 |
| OPENCODE_DEFAULT_CWD | No | Initial workspace registered as default. | process CWD |
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
ActivitySlowing
ResponsivenessNo issues