> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Account & Session

> Sign in, connect your agent, and manage connected apps

## Sign in

```bash theme={null}
agent-cards signup        # Sign up or sign in with an emailed code
agent-cards login         # Same as signup
```

Both email you a one-time code — enter it at the prompt to finish. Driving the CLI for someone else (no terminal)? `agent-cards login --email their@email.com`, then finish with `--code <the emailed code>`. Then:

```bash theme={null}
agent-cards whoami        # Show the currently signed-in email
agent-cards logout        # Log out and clear stored credentials
```

## Link or merge accounts

```bash theme={null}
agent-cards account link                    # prompts for the other account's email or phone
agent-cards account link you@old-email.com  # or pass it directly
```

Sends a one-time code to that email or phone; enter it to finish. If the identifier belongs to another Agentcard account, the two accounts merge into one (the identity-verified account survives, and both identifiers sign in afterwards); otherwise it is simply added to your account. This is the fix when identity verification is rejected because your documents are already verified on another account. See [Linking accounts](/personal/linking-accounts).

## Connect your agent

Configure the AgentCard MCP server in Claude Code in one step:

```bash theme={null}
agent-cards setup-mcp
```

Restart your agent session afterward so the tools load. Full instructions and other clients are in [MCP setup](/personal/mcp/overview).

## Connected apps

See and revoke third-party apps that have connected to your account via OAuth:

```bash theme={null}
agent-cards connections                  # List connected apps (default)
agent-cards connections revoke <clientId>   # Revoke an app's access (-y to skip confirmation)
```

## Update the CLI

```bash theme={null}
agent-cards update
```

The CLI also checks for updates automatically before each command.
