Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GATEWAY_PORTNoGateway HTTP port.3001
MCP_CLIENT_IDNoOAuth client ID expected by this gateway.opencode-mcp-gateway
OPENCODE_HOSTNoOpenCode API host.localhost
OPENCODE_PORTNoOpenCode API port.9999
MCP_AUTH_TOKENNoBearer token used for authentication. Should be a long random secret.
ENABLE_RAW_BASHNoEnables direct bash/bash_exec command tool.true
PUBLIC_BASE_URLNoOverride externally visible OAuth base URL; set this when using Cloudflare Tunnel or any reverse proxy.
MCP_ALLOWED_CLIENT_IDSNoComma-separated list of additional OAuth client IDs to accept.opencode-mcp-gateway

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/gjabdelnoor/opencode-mcp-gateway-cloudflare-desktop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server