---
title: "How to give Grokbot an identity"
description: "Give Grokbot and Grok CLI an accountable agent identity, dedicated inbox, and delegated terms acceptance through Agent Registrar over MCP."
canonical: "https://agentregistrar.dev/topics/give-grokbot-an-identity"
last-updated: "2026-11-29"
---

# How to give Grokbot an identity

Published: 2026-11-29

> Give Grokbot and Grok CLI an accountable agent identity, dedicated inbox, and delegated terms acceptance through Agent Registrar over MCP.

You can give Grokbot and Grok CLI an accountable identity by connecting them to Agent Registrar's remote MCP server at `https://agentregistrar.dev/mcp` over Streamable HTTP and OAuth 2.1. Once you approve access in your browser, the server binds a dedicated agent sub-identity and `@agents.agentregistrar.dev` inbox under your verified human email address.

## What giving Grokbot an identity lets it do

Both cloud-hosted Grokbot sessions and local Grok CLI runs can use the same brokered identity workflow across supporting APIs and developer tools that support the Agent Identity Protocol. Assigning each Grokbot instance its own sub-identity keeps separate workflows and machines isolated under your single verified human account. Instead of asking you to fill out forms or sharing your personal email inbox, Grokbot handles account setup through five MCP tools:

- **Sign up and accept hash-pinned terms**: calling `identity_signup` retrieves the provider's discovery document, records your delegated acceptance of hash-pinned terms, sends an emailed copy of the accepted terms to you as the human owner, and passes a signed assertion to the service.
- **Record external registrations**: when a signup happens through an adjacent flow, `identity_record_signup` logs the provider metadata against your agent record for a clean audit trail.
- **Poll verification emails and OTP codes**: calling `inbox_read` lets Grokbot read messages sent to its own `@agents.agentregistrar.dev` address, including confirmation links and one-time codes.
- **Refresh day-two sessions**: calling `identity_login` requests a fresh signed login assertion when a supporting provider needs re-entry or token renewal.
- **Inspect and revoke independently**: Grokbot checks its active sub-identity and email binding with `identity_whoami`, while you can turn off that single bot anytime using the per-agent kill switch.

## Connect Grokbot via web connectors

For cloud-hosted Grokbot, configure Agent Registrar as a custom remote connector rather than running a local stdio bridge:

1. Open your connectors dashboard at `grok.com/connectors` (or **Plugins & MCPs / Connect Apps**).
2. Add a new **Remote HTTPS** custom connector named `Agent Registrar` with the server URL `https://agentregistrar.dev/mcp`.
3. Click **Connect** to launch the interactive OAuth 2.1 authorization flow and select or create the Grokbot sub-identity you want to bind.

Cloud connectors require standards-compliant discovery because they connect directly from hosted infrastructure without local config files. Agent Registrar meets that requirement out of the box: `https://agentregistrar.dev/mcp` is publicly reachable over HTTPS, responds to unauthenticated probes with `401` and `resource_metadata`, advertises `/.well-known/oauth-protected-resource` and `/.well-known/oauth-authorization-server`, and supports Dynamic Client Registration (DCR) with PKCE `S256`.

## Connect Grok CLI

On your local machine, register the same remote MCP endpoint in Grok CLI over Streamable HTTP:

```
grok mcp add --transport http agentregistrar https://agentregistrar.dev/mcp
```

That command writes the server entry to `~/.grok/config.toml`:

```
[mcp_servers.agentregistrar]
url = "https://agentregistrar.dev/mcp"
```

Never add a static `Authorization` header to `~/.grok/config.toml`, because setting one bypasses OAuth metadata discovery and breaks token refresh. Leave authentication unset so Grok CLI discovers the protected resource metadata and negotiates tokens directly with Agent Registrar.

### Authorize and verify in the TUI

Open `/mcps` inside the Grok CLI TUI to inspect the registered server. OAuth triggers automatically on first use and opens the OAuth page in your browser, where you pick your Grokbot sub-identity and approve scopes. Grok CLI caches the issued credentials locally for subsequent runs. Once connected, ask Grokbot to call `identity_whoami` to confirm its bound identity, assigned `@agents.agentregistrar.dev` inbox, and verified human binding before calling any provider.

## Limits and next steps

Agent Registrar verifies your human email address rather than running identity-document or background checks, never stores provider API keys, and never sits in the provider's API request path. Brokered signup works automatically with any service supporting the Agent Identity Protocol, and revoking an agent stops future signed assertions and cuts off inbox access without deleting accounts already opened at third-party providers. Review the [trust and limits guide](https://docs.agentregistrar.dev/start/trust-and-limits/) for full boundaries.

[Create an account](https://agentregistrar.dev/login) to give Grokbot its own identity.

## Related topics

- [How do I give my agent an identity?](https://agentregistrar.dev/topics/how-do-i-give-my-agent-an-identity)
- [How AI agents create accounts on websites](https://agentregistrar.dev/topics/ai-agent-create-account)
- [Login with agent: how AI agents sign in safely](https://agentregistrar.dev/topics/login-with-agent)
- [How to give Claude an identity](https://agentregistrar.dev/topics/give-claude-an-identity)
- [How to give OpenClaw an identity](https://agentregistrar.dev/topics/give-openclaw-an-identity)
