Connect OpenCode
Link OpenCode to Rig's local MCP hub.
Steps
- Open Connections in Rig and start the MCP hub.
- Choose OpenCode and click Link.
- Restart OpenCode, then run
/mcp.
Config path
User scope: ~/.config/opencode/opencode.json. Project scope: opencode.json.
Note
OpenCode uses a remote entry under mcp (not mcpServers).