NightrollBeta

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.

  1. 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-slug
  2. Add 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"
  3. 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/mcp
  4. Ask

    Try these prompts:

    • Invite alex@example.com and sam@example.com to our org as members
  5. 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.

AI & MCP