Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

MCP

whoami

See the account on this MCP connection: email, plan, and how many calls are left this minute. Use it right after setup to confirm the token.

Group
Account
Inputs
None
Access
Read-only

When to use it

  • Right after setup, to check the connection.
  • To see how many calls are left this minute.

Inputs

No inputs.

Example prompts

Name the server, so the agent doesn't answer from memory:

Prompts
use shadcnio to tell me who I'm connected as

Call and response

Asked “Is my MCP connection working?”, the agent sends this call. The response is a sample: yours has your account.

Call
whoami()
Response
{
  "email": "you@example.com",
  "plan": "Pro",
  "rateLimit": { "limit": 600, "remaining": 598, "window": "1 minute" }
}

Call it by hand

Your MCP client sends this for you. To try the tool without one, post the call yourself; the server answers in server-sent events, the result on the data: line.

Terminal
Sign in to get your config
Sign in with a Pro account, and this holds your MCP URL, ready to paste.

What your agent reads

The server's description of whoami, one of the Account tools. Your agent reads it to decide when to call the tool:

tools/listwhoami.description
The account behind this connection: email, plan, calls left this minute.

FAQ

What if whoami says the connection failed?

A 401 means the URL's token is missing or wrong: copy your URL again from your dashboard. A 403 means the account has no Pro.