Installation¶
Requirements¶
- Ruby 3.2 or later
- Git (for version-controlled persistence)
Install from RubyGems¶
Add to Your Gemfile¶
Then run:
Install from Source¶
git clone https://github.com/MadBomber/trak_flow.git
cd trak_flow
bundle install
bundle exec rake install
Verify Installation¶
You should see:
Initialize a Project¶
Navigate to your project directory and run:
This creates a .trak_flow/ directory with:
tasks.jsonl- Git-tracked task storagetrak_flow.db- SQLite cache (gitignored)config.yml- Project configuration.gitignore- Ignores the database file
Dependencies¶
TrakFlow depends on these gems (installed automatically):
| Gem | Purpose |
|---|---|
thor |
CLI framework |
sequel |
Database toolkit |
sqlite3 |
Local database |
oj |
Fast JSON parsing |
anyway_config |
Configuration management |
pastel |
Terminal colors |
tty-table / tty-spinner |
Terminal formatting |
fast-mcp |
MCP server support |
debug_me |
Debug output |
Optional: MCP HTTP transport¶
The MCP server's HTTP/SSE transport is opt-in — TrakFlow does not bundle a
web server. Add the rackup gem plus any Rack server that supports
rack.hijack (Puma, Falcon, WEBrick, ...) to your Gemfile:
If your application already runs its own Rack server, you don't need any of
this: mount TrakFlow::Mcp::Server.new.rack_app into it instead. The STDIO
transport (the default) needs nothing extra.
Next Steps¶
- Quick Start - Create your first tasks
- Configuration - Customize TrakFlow settings