Hutch+OpenCode

Use Hutch from OpenCode.

Self-hosted and MCP-native. Hutch fits right in.

OpenCode runs on whatever model you point it at, with MCP servers as first-class extensions. Adding Hutch gives every agent session the same durable scratchpad, no matter which model you're testing today.

Configure once in opencode.json, authenticate with OAuth, and Hutch shows up alongside your other tools.

Install

Step 1. Configure

Add this to opencode.json (project root or ~/.config/opencode/opencode.json):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "hutch": {
      "type": "remote",
      "url": "https://hutchdb.com/api/mcp"
    }
  }
}

Step 2. Authenticate

Run:

opencode mcp auth hutch

OAuth browser flow. Sign in and approve.

Step 3. Try it

In an OpenCode session:

  • Store this article in my Hutch reading-list collection.
  • Save the bugs we just discussed to a "tickets" collection in Hutch.
  • What collections do I have in Hutch?
  • Find my notes about caching in Hutch.

Get started

Or create an account with email