Grok
Add mandate0 to Grok as a custom connector, with no keys.
Grok connects to remote MCP servers through custom connectors. There is no package to install: Grok needs the platform MCP URL, and sign-in runs in your browser.
grok.com
- Open Settings → Connect Apps in Grok and choose Add a custom connector.
- Name it
mandate0and set the server URL to the platform MCP URL. - Leave Headers empty. mandate0 needs no API key here.
- Choose Add MCP. A window opens on the mandate0 consent screen. Sign in and approve.
Grok registers itself with mandate0, so there is no client id or secret to paste. New connections use sandbox mode until you choose live on the consent screen.
On Grok Business and Enterprise, a team admin adds the connector in the xAI console first; members then connect it from their own settings.
Identity tier
Grok calls mandate0 from its own servers, so it cannot use the local install-key bridge. Tier 2 is the most it can reach, and only when it signs in with a client ID metadata document. A self-registered connection is tier 4: it can shop in sandbox at stores that accept any agent, and live purchases need tier 2. See Know Your Agent.
Grok Build (CLI)
grok mcp add --transport http mandate0 <platform MCP URL>Grok Build opens the browser sign-in on first use. Do not pass a --header with a key.
Verify
Ask Grok what you can spend with mandate0. It should call m0_get_purchase_authority
and answer with your stores and limits. Then try a sandbox purchase inside a small limit.
Check the sign-in from your side
make mcp-oauth-check walks the same steps a connector does against the live platform:
the 401 challenge, both metadata documents, dynamic registration with an https callback,
and the authorize page. It exits 1 and names the step that broke.