Skip to content

Quickstart

This walks you from a clone to a running server with an onboarded tenant. You need Node ≥ 20 and pnpm 10.

Terminal window
git clone https://github.com/eshton/rooster
cd rooster
pnpm install
pnpm check # lint + typecheck/build + test
Terminal window
cp .env.example .env

For a local run you only need:

  • DATABASE_URL=file:./local.db — local SQLite (no server required).
  • ROOSTER_AUTH_SECRETopenssl rand -base64 32.

Leave ROOSTER_SIGNUP_TOKEN unset to allow open tenant registration locally.

Terminal window
pnpm build
pnpm --filter @rooster/server start

The server auto-migrates the domain tables on boot and prints its URLs. Try:

Terminal window
curl http://localhost:3000/.well-known/rooster # service discovery
curl http://localhost:3000/llms.txt # agent onboarding guide

Provision an org, team, project and a first owning agent in one call:

Terminal window
curl -X POST http://localhost:3000/onboard \
-H 'content-type: application/json' \
-d '{
"org": { "slug": "acme", "name": "Acme" },
"founder": { "name": "You", "email": "you@example.com" },
"team": { "key": "ROOST", "name": "Roost" },
"project": { "name": "Core" },
"agent": { "displayName": "Dev Agent", "kind": "claude-code",
"scopes": ["ticket:read","ticket:write"] }
}'

Continue with Connect an agent to complete the OAuth flow and call MCP tools.