Security & Testing
heyidentity.dev
Manages tenant configuration, including users, clients, custom claims, settings, and endpoints.
ENDPOINT 1
https://api.heyidentity.dev/agent/mcp
MCP server metadata
- Name
- heyidentity
- Version
- 1.0
HeyIdentity is a hosted fake OpenID Connect / OAuth 2.0 identity provider for development and tests. These tools create and configure a test tenant (an IdP) for the user's application. - Read the catalog (the get_catalog tool) before configuring a tenant to match an application: it describes the profiles, URL shapes, token shape options and standard claims. - When the user wants to keep a tenant, call POST /agent/v1/tenant/claim-code (MCP request_claim_code) and show them the code and claim_page_url. Codes work for 15 minutes, replace earlier codes and must never be stored. Unclaimed tenants are deleted when they expire. - Save the agent token to .heyidentity/tenant.json and add .heyidentity/ to .gitignore. The agent token is the operator's secret: never commit it or put it in a URL. - Never ask the user for their email address and never send one to the Agent API: the user claims the tenant themselves by entering a claim code at the claim page. - Use only fictional test people in users and claims, with email-shaped values on reserved test domains (for example alice@example.com, bob@example.org). Never use real people's names, emails or identifiers, even when modelling a real organisation. - Pass an idempotency_key when creating a tenant: a random secret of 32 to 128 characters from A-Z a-z 0-9 - _ (for example crypto.randomUUID(), uuidgen or openssl rand -hex 16), generated once per intended tenant and kept secret like the agent token. Retry only with the same key and body, and only if you never received the response. Never retry creation in a loop. - Prefer a separate client per environment (for example web-local, web-staging) within one configuration. Create another configuration (POST /agent/v1/configurations, with a name unique in the tenant) only for a different profile or a separate set of users. Only the user deletes configurations, in the editor after signing in with email. Only the user deletes tenants, in the editor after claiming and signing in with email; agents never delete either. The user can rename a configuration in the editor after signing in with email; keep its id, not its name, to find it again. - Prefer creating through REST: POST /agent/v1/tenants with an Idempotency-Key, writing the response to a git-ignored file without printing the token. Print only tenant_route_id, configuration_id and endpoints. - Every MCP tool except create_tenant and get_catalog requires Authorization: Bearer <agent token> in the client's per-server HTTP header, never an agent_token argument. Ask the user to configure it from .heyidentity/agent-token and restart the session. Until then use REST with the token from that file. Clients without per-server header support use the REST API for authenticated operations. - Access token audience (aud). Two fields share the name access_token_audience: the client's access_token_audience (POST/PUT .../clients) and token_shape.access_token_audience (PUT .../settings). Generic: a valid resource parameter (RFC 8707) gives aud = that resource; it must equal the resource of a client's exposed scope or a client's access_token_audience that is an absolute URI, otherwise the request gets invalid_target. Without resource, scope api://weather-mcp/read gives aud = api://weather-mcp (everything before the last / of the requested resource-qualified scope); a request with no resource-qualified scope gives aud = the requesting client's access_token_audience, otherwise its client ID; with token_shape.access_token_audience = client_id, access tokens carry client_id = the requesting client and no aud (a resource is still validated, but not sent as aud). Microsoft and AzureAdB2C ignore resource: scope api://{X}/… with a client X in the configuration gives aud = X; otherwise aud = the requested resource, else the requesting client's access_token_audience, else its client ID; token_shape does not apply to these profiles. A client's exposed_scopes are advertised in discovery scopes_supported; their resources, and absolute-URI client access_token_audience values, are the resource values a Generic configuration accepts. ID tokens always have aud = the client ID. - A configuration always keeps at least one user, so add your own users before removing demo-user. Removing the last user answers 400 invalid_item "At least one user is required." - Generated claims (PUT .../claims/standard, catalog profiles[].standard_claims). Generic: auth_time, jti, iat and azp are toggles, off in a new configuration. Microsoft: auth_time, jti, iat and appid are toggles, off in a new configuration; azp is always present in access tokens. AzureAdB2C: auth_time, jti and iat are toggles, off in a new configuration; azp is always present in user access tokens. iat is always present whatever its toggle. PUT .../claims/standard replaces the whole list: read the current list with GET /agent/v1/configurations/{configuration_id}, add the claim and send the full list. name and picture come from the user's display name and icon; they are in ID tokens and userinfo, never in access tokens. A claim reaches access tokens through a custom claim, or a user claim, whose target includes the access token. - Configure one item per call, then call validate_configuration.
Known tools 20
create_configurationCreates another configuration in the tenant from the starter content (a demo user and a demo client), with a name unique in the tenant and a profile.
Inferred read-onlyget_configurationReturns one configuration of the tenant as items: clients, users, custom and standard claims, settings and endpoints.
Inferred read-onlyget_catalogDescribes the profiles (claims, URL shapes, protocol behaviors), token shape options, standard claims, limits, the current terms version and the rules agents must follow.
Inferred read-onlycreate_tenantCreates an unverified HeyIdentity test tenant with a working demo client and test user, accepting the current Terms of Use on behalf of the operator running the agent.
Inferred read-onlyedit_userEdits a user; fields left out keep their value, and claims, when given, replace the user's claims.
Inferred read-onlyedit_custom_claimEdits a custom claim's value or target; fields left out keep their value.
Inferred read-onlyset_standard_claimsSets which of the profile's generated standard claims are enabled (see get_configuration's standard_claims.
Inferred read-onlyget_tenantReturns the tenant, its configurations and their endpoints, its limits and status.
Inferred read-onlylist_signing_keysLists a configuration's published key IDs, status, source and expiry.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.heyidentity]
url = "https://api.heyidentity.dev/agent/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"heyidentity": {
"type": "http",
"url": "https://api.heyidentity.dev/agent/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: heyidentity
Remote MCP URL: https://api.heyidentity.dev/agent/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"heyidentity": {
"url": "https://api.heyidentity.dev/agent/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"heyidentity": {
"type": "http",
"url": "https://api.heyidentity.dev/agent/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "heyidentity",
"transport": "streamable-http",
"url": "https://api.heyidentity.dev/agent/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Trust Data Available
BuiltWith Trust API v2 evidence for heyidentity.dev was fetched 2026-11-23T13:49:11.583Z.
heyidentity.dev is assessed as Neutral: No suspicious signals found, but no strong positive signal either
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.