Advanced
What you can build today
Garnet keeps a Space as plain local files, and the desktop app lets your own tools reach it in four ways.
| Surface | What it is | Page |
|---|---|---|
| Garnet Connect | Four MCP tools (search, list, read, notebook_append) that let an AI client you already use read the notes you grant and write to a notebook of its own. A local REST API answers the same calls for scripts. | Garnet Connect |
| Command line tool | garnet, the command line client for Garnet Connect. It runs the same tools from a terminal, and garnet mcp is the MCP server your AI client starts. | CLI reference |
| Space file format | Markdown files with YAML front matter, Collection records in JSON Lines, attachments in one folder, and a .garnet/ control folder. Any tool can read it, and many edits are safe outside the app. | Space file format |
| Custom stylesheets | One .css file from the Space's .garnet/styles/ folder, applied on top of your theme, written against a stable catalog of garnet-* classes and --garnet-* variables. | Custom stylesheets |
| Themes | One CSS file that restyles the whole app in light mode, dark mode or both. Download one and add it with Add CSS file…. | Themes |
Garnet Connect and the command line tool run only in the Garnet app for Mac, Windows and Linux. The phone and tablet apps have no Connect.
What is not available yet
- There is no plugin API. Garnet runs no third-party code inside the app: there is no extension, plugin or scripting interface, and no plugin directory. Stylesheets and themes are CSS only.
- There is no cloud API. Garnet Connect answers only on your own computer, while the Garnet app is running. Nothing on Garnet's servers can read your notes for you.
- Connect cannot change your notes. The one write it offers adds a dated section to the connection's own notebook, and only while the connection allows notebook writes.
Ground rules for anything you build
- A grant limits only what Garnet gives. A tool that can run commands or read files can read your whole Space folder. Use a separate Space for it, or keep it in a sandbox.
- What an AI reads goes to its provider, under its terms. Garnet sends nothing to any AI provider itself.
- Only the documented contracts are stable. The MCP tools, the
garnet --jsonoutput, thegarnet-*hooks and the--garnet-*variables listed on these pages are versioned public contracts. Anything else in the app can change without notice.
Also available as Markdown for coding agents.