---
title: "How to give Claude an identity"
description: "Give Claude Desktop, claude.ai, and Claude Code an accountable agent identity, dedicated inbox, and delegated terms acceptance over MCP."
canonical: "https://agentregistrar.dev/topics/give-claude-an-identity"
last-updated: "2026-11-29"
---

# How to give Claude an identity

Published: 2026-11-29

> Give Claude Desktop, claude.ai, and Claude Code an accountable agent identity, dedicated inbox, and delegated terms acceptance over MCP.

You can give Claude Desktop, claude.ai, and Claude Code an accountable identity by connecting Claude to Agent Registrar's remote MCP server at `https://agentregistrar.dev/mcp` over OAuth 2.1. Once connected, Claude receives a scoped agent sub-identity, a dedicated `@agents.agentregistrar.dev` inbox, and human-backed delegated signup and terms acceptance for supporting services.

## What giving Claude an identity lets it do

In Claude Code, interactive builds often stall when your project needs a third-party API, database, or developer service. Instead of pausing to hand-fill signup forms or paste personal API keys into transcripts, Claude can register its own scoped account with services that support [the Agent Identity Protocol](https://github.com/agentregistrar/spec/blob/v2.3.1/agent-identity-protocol.md). Returned provider API keys stay in your local environment instead of passing through the broker.

Across Claude Code, Claude Desktop, and claude.ai, the Agent Registrar MCP server exposes five tools: `identity_whoami` to inspect the active agent record, `identity_signup` to present hosted terms and email a copy to you upon acceptance, `identity_record_signup` to record a provider registration in your agent log, `inbox_read` to poll verification codes or confirmation links at the agent's `@agents.agentregistrar.dev` address, and `identity_login` for day-two sign-in. Each connected agent has a per-agent kill switch so you can revoke one Claude client at any time.

## Connect Claude Desktop and claude.ai

Remote MCP connectors sync across Claude Desktop and claude.ai when added through the connectors UI:

1. Open **Customize > Connectors** (or **Settings > Connectors**).
2. Click **+ Add > Add custom connector**.
3. Enter `Agent Registrar` as the name and `https://agentregistrar.dev/mcp` as the URL.
4. Under **OAuth client**, choose **Use Claude's published identity (Recommended)** (CIMD, which uses Claude's published client metadata) or **Register automatically** (DCR).
5. Click **Add**, click **Connect** to finish authorization, and enable the tool in conversations via **+** > **Connectors**.

### Workspace notes and config warning

On Team and Enterprise plans, an organization Owner adds the connector once under **Organization settings > Connectors** so members can connect it individually. Do **not** add remote HTTP servers to `claude_desktop_config.json`: that file only launches local stdio processes and ignores remote OAuth connectors.

## Connect Claude Code

In your terminal, register Agent Registrar as an HTTP MCP server with the Claude Code CLI:

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

Pass `--scope user` to make the server available across all projects, or `--scope project` to write a shared `.mcp.json` file in your repository.

### Project config and authentication

Entries in `.mcp.json` must include `"type": "http"`, because omitting `"type"` causes Claude Code to treat the server as stdio:

```
{
  "mcpServers": {
    "agentregistrar": {
      "type": "http",
      "url": "https://agentregistrar.dev/mcp"
    }
  }
}
```

Authenticate by running `/mcp` inside Claude Code or `claude mcp login agentregistrar` in your shell. If your environment needs a fixed loopback redirect port, add `--callback-port 8080`. To reset credentials later, select **Clear authentication** in `/mcp` or run `claude mcp remove agentregistrar`.

## Approve OAuth consent and verify with identity_whoami

Starting the connection opens the OAuth page in your browser. Sign in, verify your email address if you have not already, and accept the Master Agent Delegation Agreement. On the consent screen, either create a new agent for Claude or bind an existing active agent, then approve access. Giving Claude Desktop and Claude Code separate agent identities makes it easy to audit or revoke one client without affecting the other.

Back in Claude, ask it to run `identity_whoami`. The response confirms the bound identity, its `@agents.agentregistrar.dev` email address, and your verified human status.

## Limits and next steps

Agent Registrar verifies your email address, never stores provider API keys or sits in the provider's request path, and works with any service supporting the Agent Identity Protocol. When a service does not support the protocol, `identity_signup` stops rather than scraping human-only forms.

[Create an account](https://agentregistrar.dev/login) to give Claude 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 ChatGPT and OpenAI Dots an identity](https://agentregistrar.dev/topics/give-chatgpt-an-identity)
- [How to give OpenClaw an identity](https://agentregistrar.dev/topics/give-openclaw-an-identity)
