Settings
TL;DR: Invite users, customize event types, add saved locations, generate calendar feed tokens. Organization settings for unit-wide config, user settings for personal preferences.
Organization Settings
| Section | What to Configure | Access |
|---|---|---|
| Details | Name, slug, program type | Settings → Organization |
| Invitations | Invite leaders/parents | Settings → Invitations |
| Users | View/manage who has access | Settings → Users |
| Locations | Saved event locations | Settings → Locations |
| Event Types | Custom event categories | Settings → Event Types |
| Tokens | Calendar feeds and API keys | Settings → Tokens |
Invitations
Invite leaders/parents:
- Settings → Invitations → Send Invitation
- Enter email, select role (Admin or Member)
- Recipient gets signup link
Roles:
- Admin - Full access (manage roster, events, settings)
- Member - View-only (limited, more roles planned)
Locations
Create reusable event locations: Settings → Locations → Add Location
Add name ("Scout Hall"), address, and notes (parking, gate codes). Appears in dropdown when creating events.
Event Types
Customize categories: Settings → Event Types
Defaults: Troop Meeting, Den Meeting, Campout, Day Trip, Service Project, Court of Honor, Fundraiser, Training
Add custom: Pinewood Derby, Blue & Gold Banquet, Popcorn Sales (with icons and colors)
Tokens
Generate calendar feeds: Settings → Tokens → Create Token
Select "Calendar Feed", optionally scope to specific member, copy URL. Share with members to subscribe in Google/Apple/Outlook calendars. Members add the URL to their calendar app to auto-sync events.
Connect Codex to Events
Organization administrators can create an API key for MCP event management:
- Open Settings → Tokens → Create Token.
- Select API Key, give it a recognizable label, and choose an expiration.
- Copy the key and store it securely.
- Configure Codex with the TroopBook MCP endpoint:
export TROOPBOOK_API_KEY="<copied-api-key>"
codex mcp add troopbook \
--url "https://<your-troopbook-host>/mcp" \
--bearer-token-env-var TROOPBOOK_API_KEY
The API key is associated with the administrator who created it. Codex only receives tools allowed by both that administrator's current organization role and the key's scopes. If the administrator is removed or demoted, management tools stop being available.
The event scope vocabulary is intentionally broad and simple:
events:read— list events, event details, locations, groups, and website mediaevents:write— create draft events, update existing events, and upload website mediaevents:delete— reserved for a future deletion operation
New API keys currently receive events:read and events:write. Event creation is idempotent and always starts as a draft. Updates require the event's latest updatedAt value so an external client cannot silently overwrite a newer change. The initial MCP toolset does not expose permanent deletion; cancel an event by updating its status instead.
For migration media, Codex can create a five-minute TroopBook upload destination and send the file bytes directly to it. The temporary upload credential is separate from the MCP API key, and R2 remains an internal storage detail.
User Settings
Account: Name, email, password (Settings → Account)
Notifications: Email preferences, RSVP alerts, training reminders (Settings → Notifications)