Repository navigation
Getting Started
For attendees: three ways to try re:Invent Compass, what you need, and how live sign-in works.
re:Invent Compass scans the code you work on, on your machine (and, if you allow it, your GitHub repositories, read-only), learns your AWS services and the rest of your stack, and finds the AWS re:Invent sessions that match, with a reason for each. It then checks every booking against a guardrail and puts unofficial boarding passes on your phone, so you get into every reserved session on time. It is an independent community project and is not affiliated with AWS (see the Disclaimer).
There are three ways in, from no install at all to the full setup:
| Way in | Requires | Touches your real schedule |
|---|---|---|
| Demo: Phone | A browser | No |
| Demo: Terminal | Node.js 24 | No |
| Kiro Power or MCP server | Node.js 24, and Kiro or another MCP client | Reads it; changes it only if you turn writes on |
Open reinvent-compass.vegas/demo on any phone or computer. There is nothing to install and no sign-in.
The demo runs entirely in your browser (site/src/lib/demo, page in site/src/app/pages/demo):
- It uses a small snapshot of 17 real re:Invent 2026 sessions, read once from the AWS Events API and copied into the site. The snapshot holds only the session code, title, start, end, venue and room. Your week, seats and reservations are simulated, and nothing touches a real schedule.
- Choose Start with a sample week, or add sessions one by one. Each addition runs the same guardrail code as the MCP server, so you see real verdicts: a clash that blocks, a tight connection, a lost meal break. Your week also shows each connection and suggests layovers for meals and rest.
- When a session clashes with one that has a repeat, the demo offers a step-by-step safe swap.
- Show sample pass draws a pass for a reserved session, with FLIGHT NAME above TERMINAL and GATE.
-
Download sample calendar gives you an
.icsfile of your demo week with "Boarding closes" and "Leave now" alarms.
npx --yes reinvent-compass@0.1.3 demoThis runs the whole Compass flow on made-up data, through the real tools and the real server, in ten steps (packages/mcp-server/src/demo/run-demo.ts):
- Sign in and load the catalog
- Scan the sample repo
- Plan the week
- A clash is blocked
- A safe swap
- Reserve the session that clashed
- Issue Boarding Passes
- Hand the passes to your phone (the QR code prints in the terminal)
- Cancel a session
- Void the pass
The demo forces simulated mode: a synthetic catalog of 120 made-up sessions, a signed-in attendee, a pinned clock and an in-process pass service. No browser opens, no sign-in happens and nothing is sent anywhere. The phone link it makes never resolves. If a step fails, the demo says which one and exits with code 1.
Useful options:
-
demo --repo <folder>scans a folder of yours instead of the sample repo. Compass copies the folder to a temporary workspace first (skipping.git,node_modules, links and files over 1 MB, up to 2,000 files), so your folder is never changed. - To run the whole server on made-up data in your own client, set
COMPASS_MODE=simulatedin its environment. Every result then starts withSIMULATED MODE: no real data.
The Kiro Power is the power folder: plugin.json and a matching POWER.md, mcp.json, three skills (plan-my-week, first-timer-guide and install-hooks) and a hook template. Its mcp.json starts one server, compass, with npx --yes reinvent-compass@0.1.3.
- In Kiro, open Settings and set Kiro Agent: Configure MCP to Enabled. Kiro starts no MCP server until you do.
- Open the Powers panel and choose Add Custom Power.
- Choose Import power from GitHub and give it the folder URL of the Power:
https://github.com/henniefrancis/aws-re_invent-compass/tree/main/power.
Use the folder URL, not the repository URL: the Power lives in power/, and Kiro reports "Nothing to install from the repository root" for the repository URL. If you import the folder from a local clone instead, Kiro names the server power-power-compass.
To update the Power to a new version, see Updating the Power: importing it again is not enough.
Then open your own project in Kiro and say: "Plan my re:Invent." The plan-my-week skill tells the agent the order of the tools and that every write needs your approval. To add the optional Kiro hooks, ask for them: the install-hooks skill shows the template and writes .kiro/hooks/reinvent-compass.json only after you say yes.
Any desktop MCP client that runs stdio servers can start Compass with npx --yes reinvent-compass@0.1.3. Hooks are Kiro-only, but the guardrail runs inside the server in every client.
Kiro without the Power. Add the server to .kiro/settings/mcp.json (this workspace) or ~/.kiro/settings/mcp.json (all workspaces):
{
"mcpServers": {
"compass": {
"command": "npx",
"args": ["--yes", "reinvent-compass@0.1.3"],
"autoApprove": ["refresh_catalog", "find_sessions"]
}
}
}Only those two read tools may be auto-approved. Never auto-approve a write tool (see MCP tools).
Claude Desktop. Open Settings, then Developer, then Edit Config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), add the block below, then quit and restart Claude Desktop:
{
"mcpServers": {
"compass": {
"command": "npx",
"args": ["--yes", "reinvent-compass@0.1.3"]
}
}
}VS Code. Create .vscode/mcp.json in the workspace, or run MCP: Open User Configuration. VS Code uses a servers object:
{
"servers": {
"compass": {
"type": "stdio",
"command": "npx",
"args": ["--yes", "reinvent-compass@0.1.3"]
}
}
}Kiro CLI. The Kiro CLI reads the same mcpServers JSON as the IDE, so use the Kiro snippet above. It also has kiro-cli mcp subcommands; run kiro-cli mcp --help for the options of your version.
Every snippet names the exact package version. Keep the pin: npx can otherwise pick up a different copy of the package.
The command line itself is small:
reinvent-compass start the Compass server on stdio
reinvent-compass demo [--repo <dir>] run the simulated demo (no network)
reinvent-compass hook <name> run a Kiro hook: pre-write-guardrail or post-write-sync
reinvent-compass --version print the version
reinvent-compass --help print the usage
-
Node.js 24 or later.
npxcomes with it. The package declares"node": ">=24". - For live mode: an AWS Builder ID registered for re:Invent 2026. Simulated mode and both demos need no account.
- For passes on a phone: Apple Wallet on iPhone, or Google Wallet on Android. iPad has no Wallet app, so it uses the calendar file (see Board).
- Optional: a GitHub account, to scan your repositories through the read-only Compass GitHub App.
- On Linux: the Secret Service (for example GNOME Keyring) to keep your sign-in between sessions. Without it, Compass holds your tokens in memory only and you sign in again each session.
Without COMPASS_MODE=simulated, Compass works on your real re:Invent schedule. Ask your assistant to run sign_in:
sequenceDiagram
participant You
participant Compass as Compass MCP server
participant Browser
participant AWS as oauth.awsevents.com
You->>Compass: sign_in
Compass->>Compass: bind 127.0.0.1, first free port 8484 to 8489
Compass->>Browser: open the Builder ID sign-in page (PKCE)
Browser->>AWS: you sign in
AWS->>Browser: redirect to localhost callback
Browser->>Compass: one request with the code
Compass->>AWS: exchange code + verifier for tokens
Compass->>Compass: store tokens in the OS keychain, close the port
- It is OAuth 2.0 with PKCE: a fresh verifier, challenge and state for every attempt.
- The redirect comes back to a one-request server on
127.0.0.1(and::1where the machine has IPv6), on the first free port from 8484 to 8489. It accepts onlyGET /callbackwith the right Host header and a matching state, answers once, and closes. It gives up after five minutes (packages/core/src/auth/loopback-server.ts). - Your access, refresh and ID tokens go into your operating system keychain. If the keychain is missing or fails, Compass holds them in memory only.
- If no browser opens, Compass prints the sign-in address on stderr; open it by hand. Make sure one of the ports 8484 to 8489 is free.
Then run refresh_catalog, and plan. Compass is read-only by default: it reads your real schedule, and the booking tools say what they would do. sign_out revokes your sign-in and clears the stored tokens.
re:Invent Compass is an independent community project and is not affiliated with, endorsed by, or sponsored by Amazon Web Services. Boarding passes are unofficial: your re:Invent badge is your ticket. Licensed under Apache-2.0. Disclaimer · Repository · Project board
Get started
User guide
Architecture
- Overview
- Kiro Power
- MCP server
- Pass service
- Showcase site
- Flows
- AWS architecture
- Security
- Data and privacy
- Quality
Key decisions
- Index
- Product and scope
- Architecture
- Infrastructure
- Passes and wallets
- Security and privacy
- Delivery and tooling
Developer guide
Operations
Runbooks
How it was built
Reference
Links