Prerequisites
- OpenCode installed and available on your
PATH.
Connect Chiplab
Register the server in opencode.json
Add the following to your project’s If
opencode.json file under the mcp key:opencode.json
opencode.json already has an mcp section, add the "chiplab" entry alongside your existing servers. The "enabled": true field ensures OpenCode loads the server at startup.Authenticate with Chiplab
Run the following command in your terminal to open the browser-based OAuth flow:A browser window opens automatically. Sign in with your Chiplab account and approve access. Once you confirm, the terminal session is authorized and credentials are stored locally for future sessions.
Start a fresh OpenCode session after authenticating and the Chiplab tools are ready to use.
.png?fit=max&auto=format&n=-J2bCR9UMv7Nrva6&q=85&s=ec408c83c2e28e17471934023bcb3f33)
.png?fit=max&auto=format&n=-J2bCR9UMv7Nrva6&q=85&s=95df654da976a9287567ab89e32f7843)