Skip to main content
Add the following to your ~/.config/opencode/opencode.jsonc:
{
  "mcp": {
    "kernel": {
      "type": "remote",
      "url": "https://mcp.onkernel.com/mcp"
    }
  }
}
Then authenticate using the OpenCode CLI:
# Authenticate with Kernel
opencode mcp auth kernel

# If you need to re-authenticate, first logout then auth again
opencode mcp logout kernel
opencode mcp auth kernel