Configuration¶
The options and their defaults, generated from capabilities.options.
| Option | Type | Default | Description |
|---|---|---|---|
access | all | ask-changes | read-only | "all" | How much the plugin's methods may do. |
accounts | object | — | One profile per account alias. The MCP server holds each alias's sign-in, so a profile has no fields of its own. |
exportDirectory | string | "~/Granola" | Folder for Markdown exports. Absolute, or starting with ~/. |
allowUntestedHost | boolean | false | Start outside the tested OpenCode range. |
Configure two accounts¶
{
"access": "ask-changes",
"accounts": { "work": {}, "personal": {} },
"exportDirectory": "/home/ana/Granola",
"allowUntestedHost": false
}
accessis the ceiling.allruns every method,ask-changesasks before a non-read andread-onlyrefuses one.accountsis one profile per alias, in the order status lists them. A profile has no fields: the MCP server holds the sign-in.exportDirectoryis whereexport_markdownwrites. It may be absolute or start with~/; the default is~/Granola.allowUntestedHoststarts the plugin outside>=2.4.1 <2.5.0. Leave itfalse: the plugin refuses an untested host withHOST_UNTESTEDand a next step.
One account¶
With no accounts option there is exactly one default account, served by the MCP server granola:
Methods that take an account may leave it out when the plugin has one account.