IntegrationsAgents
OpenCode
Connect OpenCode to SecureAuth AI Gateway
Open-source AI coding assistant in the terminal.
Setup
- Add the MCP server — Add the following to
opencode.jsonin your project (or~/.config/opencode/opencode.jsonfor global):
{
"mcp": {
"secureauth": {
"type": "remote",
"url": "https://your-gateway-url/gateway/mcp"
}
}
}- Authenticate
opencode mcp auth secureauth- Start OpenCode
opencodeThe agent is auto-registered on first connect.