OpenCode MCP
by nones-tools
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENCODE_MCP_URL | No | Use an explicit endpoint instead of discovery. Loopback is the default; a remote host requires HTTPS and OPENCODE_MCP_ALLOW_REMOTE=1. | |
| OPENCODE_MCP_PASSWORD | No | Basic-auth password for user `opencode` when OPENCODE_MCP_URL is set. Pass it through the environment, never a committed config or command argument. | |
| OPENCODE_MCP_ALLOW_EXEC | No | Set to `1`, plus `confirm: true`, to allow explicit shell, command, and PTY operations. | |
| OPENCODE_MCP_TIMEOUT_MS | No | Request timeout from 100 to 120000 ms. Default: 30000. | |
| OPENCODE_MCP_ALLOW_ADMIN | No | Set to `1`, plus `confirm: true`, to allow plugin updates, global configuration, and other unclassified mutations. | |
| OPENCODE_MCP_ALLOWED_DIRS | No | Platform path-delimited list of existing directories that bounds project and session scope. | |
| OPENCODE_MCP_ALLOW_REMOTE | No | Set to `1` to allow a remote HTTPS endpoint. | |
| OPENCODE_MCP_SERVICE_FILE | No | Path to an OpenCode-managed service registration passed to the discovery adapter. | |
| OPENCODE_MCP_ALLOW_DESTRUCTIVE | No | Set to `1`, plus per-call `confirm: true`, to allow deletion, filesystem writes, and rollback/commit operations. |
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
ActivityMaintained
ResponsivenessNo recent community issues