This page pretends to be someone else's app. It does exactly what ChatGPT, Claude Code or any other MCP client does when it connects to treg — registers itself, sends you to treg to approve, gets a token back, and calls tools with it. Nothing here is privileged: it uses the same public endpoints any client would.
The app tells treg its name and where to send the user back. This is dynamic client registration — no pre-arrangement, no key.
Opens treg in a popup so you can sign in and choose which team this app may act for. treg sends back a one-time code, which the app exchanges for a token. The app never sees your password, and treg never gives it your API keys.
The same five tools any MCP client gets. All of them need the token you just granted — an unauthenticated call is answered with a 401 telling the client where to authorize. call is the only one that spends the team's balance, so it does what treg asks an agent to do — reads the price first and asks before spending.
ready.