https://agent.parse.gl/mcp) and REST (https://agent.parse.gl/v1/tools/<tool>). Pick the lightest credential that fits your caller: no credentials for public lookups, OAuth for interactive assistants, workspace or brand-bound keys for scripts and CI, or an unclaimed workspace when an agent starts before a person signs in.
For an agent reading raw machine facts, the same contract lives at /auth.md.
Authentication methods
OAuth sign-in and scopes
MCP clients discover Parse’s OAuth authorization server fromhttps://agent.parse.gl/.well-known/oauth-protected-resource/mcp. Calling get_brief (or any tool outside the public view) while logged out returns HTTP 401 with an OAuth challenge so the client opens Parse’s sign-in and workspace consent screen.
A call exceeding the granted scope returns
unauthorized. Reconnect Parse in the client’s connector settings and allow changes. OAuth sessions also unlock interactive MCP Apps views when the client declares support.
Workspace keys and brand-bound keys
Workspace members create keys on Agents. A key (parse_mcp_…) is shown once and sent as a bearer token on MCP or REST requests:
- Access levels and admin actions: Each key is created with either full access or read-only access. A read-only key reaches only read tools and cannot write or spend credits. Admin-gated actions such as tracking the workspace’s own brand (
trackwithown) check the creating member’s current admin role on each call. Revoking a key on Agents stops it within a minute. - Brand-bound keys: Bind a key to a single brand on Agents so an agency assistant or client automation can read, log work, and edit only that brand’s facts, background, locations, service area, and monthly allowance. Workspace-level settings (brief, webhooks, workspace budget) stay out of reach, and
get_accountbreaks down spend by brand. See Agencies and local businesses. - Audit and hygiene: Never paste a key into chat or commit it to git. Pass keys via
PARSE_API_KEYor secret storage. Every tool call is recorded with its key label inget_account(view: "receipt"). A mistyped or revoked key returnsunauthorizedrather than falling back to the public view.
Headless unclaimed workspaces
When an autonomous agent needs to start work with no human available to sign in, it can mint a temporary unclaimed workspace with no credentials, stage work, and hand off a claim link when a person is ready. 1. Mint an unclaimed workspace (up to 10 per IP/day, idle workspaces expire after 14 days):parse_uws_… key as a secret immediately: whoever holds it can initiate a claim. An unclaimed workspace reads Parse’s public view, keeps the log_work calls it is sent (list_work returns them) and buys nothing; kept calls are filed into the work record when a person claims it. With no call for 14 days it is deleted. Or use the CLI: npx parse-gl start.
2. Start a claim when a person provides their email:
{ claimUrl, code, codeExpiresAt, key } (or run npx parse-gl claim --email you@example.com). Save the returned parse_mcp_… key as a secret right away; it is shown only in that response and activates once claimed.
- Hand the person both
claimUrland the 6-digitcode(valid for 24 hours, invalidated after 5 wrong attempts). Parse never emails the code. - On the claim page, the signed-in person enters the code and chooses whether the agent stays connected with full access, read-only access, or disconnected.
- A person claims it on Parse’s claim page, signed in or signed up free with the address the agent named, by typing the code the agent showed them. The workspace key the claim start returned then works in their workspace with the access they choose, and the parse_uws_ key stops. Their workspace reads the 90-day Parse Index free, runs their brand’s first check (its 20 buyer questions on ChatGPT and Google AI Mode), and checks it free every week on a panel of 8 questions. Add prepaid credits from $20 for live checks, editor contacts, and daily tracking.
parse_uws_… key until it stops. When either the temporary key or the pending post-claim key is refused with unauthorized, read keyState:
Related
- Get started: step-by-step client setup and sign-in screens.
- CLI & CI gate:
login,logout,start,claim, andwhoamicommands. - Rates and limits: workspace admin, member, and assistant permissions.
- /auth.md: machine-readable auth protocol summary.