opencode-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENCODE_BASE_URL | No | OpenCode server URL | http://127.0.0.1:4096 |
| OPENCODE_AUTO_SERVE | No | Auto-start an in-process OpenCode server if none is reachable | true |
| OPENCODE_DEFAULT_MODEL | No | Default model ID when not specified per-tool | |
| OPENCODE_SERVER_PASSWORD | No | HTTP basic auth password (enables auth when set) | |
| OPENCODE_SERVER_USERNAME | No | HTTP basic auth username | opencode |
| OPENCODE_DEFAULT_PROVIDER | No | Default provider ID when not specified per-tool |
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 | |
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/AlaeddineMessadi/opencode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server