Connect OpenCode
Steps
Config path
Note
See also
Link OpenCode to Rig's local MCP hub.
User scope: ~/.config/opencode/opencode.json. Project scope: opencode.json.
OpenCode uses a remote entry under mcp (not mcpServers).
- Open Connections in Rig and start the MCP hub.
- Choose OpenCode and click Link.
- Restart OpenCode, then run /mcp.
- What MCP is in Rig
- MCP tools overview
Connect OpenCode Link OpenCode to Rig local MCP hub. mcp opencode remote headers
Related guides
This article is part of the Rig knowledge base at userig.app/docs. Rig is a local-first Mac app that runs, watches, and restarts development processes with unified logs, ports, and a scoped MCP hub for AI coding agents. Your source code stays on your Mac.