QuickStart
Let your agent drive Nightroll
Create a key, connect Claude (or any MCP client), then ask in plain words. Everything an agent does is limited by the key's scopes and recorded in your audit log.
Create an API key
Sign in, open Settings → API keys, and create a key with the scopes your agent needs and an expiry date. It is shown once: copy it into your shell.
export KEY=nr_hub_… export ORG=your-org-slugAdd it to Claude Code
One command registers Nightroll's MCP server with your key:
claude mcp add --transport http hub https://hub.nightroll.app/mcp --header "Authorization: Bearer $KEY"Or connect claude.ai and Claude Desktop
No key needed: in Settings → Connectors, choose Add custom connector and paste this URL. Claude opens Nightroll's consent page, where you pick the organization and what Claude may do, then approve.
https://hub.nightroll.app/mcpAsk
Try these prompts:
- Invite alex@example.com and sam@example.com to our org as members
The same thing over REST
Every MCP tool has a REST twin. Use the same key as a bearer token:
Invite two people
curl -X POST https://hub.nightroll.app/api/orgs/$ORG/invites \ -H "Authorization: Bearer $KEY" \ -H "Content-Type: application/json" \ -d '{"emails":["alex@example.com","sam@example.com"],"role":"member"}'
More about agents
The MCP URL, every tool, OAuth and bringing your own AI key.