OpenCode MCP Gateway
by gjabdelnoor
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GATEWAY_PORT | No | Gateway HTTP port. | 3001 |
| MCP_CLIENT_ID | No | OAuth client ID expected by this gateway. | opencode-mcp-gateway |
| OPENCODE_HOST | No | OpenCode API host. | localhost |
| OPENCODE_PORT | No | OpenCode API port. | 9999 |
| MCP_AUTH_TOKEN | No | Bearer token used for authentication. Should be a long random secret. | |
| ENABLE_RAW_BASH | No | Enables direct bash/bash_exec command tool. | true |
| PUBLIC_BASE_URL | No | Override externally visible OAuth base URL; set this when using Cloudflare Tunnel or any reverse proxy. | |
| MCP_ALLOWED_CLIENT_IDS | No | Comma-separated list of additional OAuth client IDs to accept. | opencode-mcp-gateway |
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
ActivityInactive
ResponsivenessNo issues