Install the CLI
- macOS (Homebrew)
- Anywhere
- Claude Desktop
Initialise your repo
From the root of the repository you want tiny-brain to manage:init bootstraps the repo end to end:
- Preflight — runs the system doctor first; critical problems abort,
warnings abort unless you pass
--ignore-system-doctor. - Repo analysis — for code repos, detects your tech stack, package
manager, and test patterns into
.tiny-brain/analysis.json. Prose repos (--type prose) skip this. - Git hooks — installs the commit-msg and post-commit hooks that enforce the TDD pipeline.
- Agent context — writes the project context your AI tool reads.
init is idempotent: re-running it on an initialised repo reports “Already
initialised” and writes nothing. Useful flags:
Connect your MCP client
If you installed via Homebrew or the script, register the MCP server with your platform:command: npx,
args: [tiny-brain, mcp]. mcp install knows Claude Code, Claude Desktop
(via the MCPB bundle), Codex CLI, Gemini CLI, and ChatGPT Connectors; Cursor
and any other MCP-aware editor can be pointed at the same npx server
config manually.
Uninstall
tiny-brain is markdown and config in your repo plus~/.tiny-brain/ — remove
the plugin (tiny-brain mcp uninstall) and delete those, and your repo is
exactly as it was.
Next: the quickstart takes you from an
initialised repo to your first live loop.