Skip to content

Installation

Before you start

  • OpenCode >=2.4.1 <2.5.0. The plugin is tested on 2.4.1; another release is refused with HOST_UNTESTED.
  • Node.js 24, which OpenCode runs on.
  • A Granola account that can sign in to Granola's MCP server.

Install

opencode plugin add github:we-the-rebel-alliance/granola-plugin#v0.0.2

Install from a release tag. There is no master install: the tag carries the committed dist/index.js and the v0.1.1 contract.

Sign in

One account is the MCP server granola:

opencode mcp auth granola

/connect lists the same server. The plugin never asks for a password or an API key; OpenCode holds the OAuth credential and Granola's server holds the session.

Check it

status reports the plugin and every alias as ready, needs_sign_in or error. It takes no account.

probe names the signed-in credential of one alias and takes an optional account:

{ "account": "default" }

With one account, probe may leave out account. See Accounts for more than one.

Next