Skip to content
HavernorLeer en españolSign in

MCP guide · OpenCode

Connect OpenCode to your whole business.

Add Havernor's address to OpenCode's config, then sign in with one command. OpenCode can then read the plan, the numbers, the pipeline, the files and the meetings, and propose work that your people approve.

Free plan, no card needed. Your company gets its own private workspace.

Prefer to talk first?

Quick answer

How do I connect OpenCode to Havernor?

Add Havernor's address to ~/.config/opencode/opencode.json as a remote MCP server, then run opencode mcp auth havernor. Havernor's sign-in page opens in your browser, where you pick the company and the permissions; no key goes into any file. OpenCode can then read your plan, numbers, pipeline, files and meetings, and propose work that a person approves in Havernor.

Set up

Connect OpenCode in three steps

OpenCode's own command, with your Havernor address. Settings, Harnesses in Havernor shows the same lines for your account.

  1. Add Havernor to OpenCode's config

    OpenCode has no one-line add, so merge this into ~/.config/opencode/opencode.json. It holds only the address, no key.

    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "havernor": {
          "type": "remote",
          "url": "https://app.havernor.com/mcp",
          "enabled": true
        }
      }
    }
  2. Sign in

    Run this command. Havernor's sign-in page opens in your browser: pick the company and what OpenCode may do.

    $ opencode mcp auth havernor
    Copy this into your terminal as it is. It holds Havernor's address and no key.
  3. Check it worked

    This lists OpenCode's MCP servers; havernor should be there.

    $ opencode mcp list

What it can do

What OpenCode can read and propose

The same tools as HaverAgent, shared over MCP, without an approve button.

  • Today and the numbers

    Today's priorities and your key metrics with their history, each answer with its source and date.

  • The plan and the CRM

    Search the plan and the CRM, and list the deals in your pipeline.

  • Meetings and files

    Meeting summaries, decisions and action items, and, with the file permission, the files in Havernor.

  • Propose work

    Tasks, follow-ups and other actions arrive in Havernor's Inbox as proposals, marked as coming from your assistant.

Approval model

Your assistant proposes. A person decides.

OpenCode gets exactly the permissions you pick on Havernor's consent screen, and nothing it does skips your people.

  • No approve tool

    Proposals wait for a person, or for a standing rule a person created. Payments and bulk sends have no tool at all.

  • Permissions you choose

    Grant reading, proposing or file reading for one company, and revoke the connection any time in Settings.

  • On the record

    Every tool call is recorded under the assistant's name, on behalf of the person who connected it.

Human approval

FAQ

About OpenCode and Havernor

Why doesn't OpenCode have a one-line command?

OpenCode's own add command is a guided wizard, so the reliable way is to merge the remote server into ~/.config/opencode/opencode.json and then sign in with opencode mcp auth havernor.

Can I keep the config in my project instead?

Yes. OpenCode also reads an opencode.json in the project folder; the same lines work there, and they still hold no key.

Does using Havernor from my assistant cost credits?

No. Reading Havernor through MCP uses no agent credits. On the Free plan, MCP access is read only.

How do I disconnect it?

Revoke the connection in Havernor's Settings at any time. The assistant loses access at once, and you can connect it again with the same command.

Havernor

Give OpenCode the context it is missing.

Start free and connect it in a minute, or book a free call and we'll set it up with you.

Free plan, no card needed. Your company gets its own private workspace.

Prefer to talk first?

The call is free: we look at how your business runs today and which plan fits it.