> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veecle.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenCode

> Connect OpenCode to Chiplab's MCP server and authenticate.

## Prerequisites

* OpenCode installed and available on your `PATH`.

## Connect Chiplab

<Steps>
  <Step title="Register the server in opencode.json">
    ```json opencode.json theme={null}
    {
      "mcp": {
        "chiplab": {
          "type": "remote",
          "url": "https://chiplab.veecle.ai/mcp",
          "enabled": true
        }
      }
    }
    ```
  </Step>

  <Step title="Authenticate with Chiplab">
    ```bash theme={null}
    opencode mcp auth chiplab
    ```
  </Step>
</Steps>

<Note>Start a fresh OpenCode session after authenticating.</Note>

<Tip>Add to `AGENTS.md`: "After making firmware changes, test them on Chiplab before reporting back."</Tip>

## Revoking access

[API Keys](/platform/api-keys) page → Connected agents → Revoke.
