heyidentity avatar

HeyIdentity

dev.heyidentity/heyidentity

Create and manage a fake Entra ID or OIDC test tenant with users, clients, and claims.

CCM score
69 of 100
tools
20
auth
Secret needed
transport
HTTP
last updated
Nov 22, 2026
Open website

Own this MCP server? Claim it

What it does

  • Creates and edits tenants with create_tenant, create_configuration, and edit_settings, and reads them with get_tenant and get_configuration
  • Manages test users and clients with add_user, edit_user, remove_user, add_client, and edit_client, plus custom claims through add_custom_claim and edit_custom_claim
  • Checks setup with validate_configuration and inspects keys with list_signing_keys; rotate_signing_key needs a Pro or Enterprise plan
  • Designed for CI pipelines, authorization development, and demos where test sign-in should not need a real directory account

Install

$ npx -y add-mcp https://api.heyidentity.dev/agent/mcp --name heyidentity --header 'Authorization: Bearer ${API_TOKEN}'

Adds the server to every agent config it finds in this project. add-mcp asks for each value it needs.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http heyidentity https://api.heyidentity.dev/agent/mcp --header 'Authorization: YOUR_AUTHORIZATION'

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 20 tools

Verified live against the running server on Nov 23, 2026.

remove_custom_claimRemoves a custom claim.2 params

Removes a custom claim.

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
name*string
The name of the claim to remove.
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. Prefer a separate client per environment in one configuration; create a configuration for a different profile or a separate set...2 params

Creates 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. Prefer a separate client per environment in one configuration; create a configuration for a different profile or a separate set...

Parameters* required
name*string
The configuration's name, at most 200 characters and unique in the tenant ignoring case, e.g. staging.
profilestring
Optional profile: Generic (default), Microsoft (Entra ID), or AzureAdB2C (one synthetic sign-in policy).
remove_userRemoves a user (at least one must remain).2 params

Removes a user (at least one must remain).

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
key*string
The key of the user to remove.
edit_settingsEdits the settings; fields left out keep their value. settings: { profile?, b2c_policy_claim? (tfp or acr), validate_client_secrets?, token_lifetime_minutes?, token_shape?: { scope_claim_name?, scope_claim_format?, roles_claim_name?, roles_nested_key?, access_token_audience? } }.2 params

Edits the settings; fields left out keep their value. settings: { profile?, b2c_policy_claim? (tfp or acr), validate_client_secrets?, token_lifetime_minutes?, token_shape?: { scope_claim_name?, scope_claim_format?, roles_claim_name?, roles_nested_key?, access_token_audience? } }.

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
settings*object
The settings to change. The configuration's settings. Fields left out keep their value.
get_configurationReturns one configuration of the tenant as items: clients, users, custom and standard claims, settings and endpoints.1 params

Returns one configuration of the tenant as items: clients, users, custom and standard claims, settings and endpoints.

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
request_claim_codeIssues a single-use claim code for an unclaimed tenant. It works for 15 minutes and replaces any earlier code. Show the code and claim_page_url to the user; never store the code.

Issues a single-use claim code for an unclaimed tenant. It works for 15 minutes and replaces any earlier code. Show the code and claim_page_url to the user; never store the code.

No parameters. Call it with no arguments.

get_catalogDescribes the profiles (claims, URL shapes, protocol behaviors), token shape options, standard claims, limits, the current terms version and the rules agents must follow. Read it before configuring a tenant.

Describes the profiles (claims, URL shapes, protocol behaviors), token shape options, standard claims, limits, the current terms version and the rules agents must follow. Read it before configuring a tenant.

No parameters. Call it with no arguments.

remove_clientRemoves a client.2 params

Removes a client.

Parameters* required
client_id*string
The id of the client to remove.
configuration_id*string
The configuration id (from create_tenant or get_tenant).
create_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. Returns endpoints, an agent token, the fixed claim page URL, the expiry time and next_steps.4 params

Creates 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. Returns endpoints, an agent token, the fixed claim page URL, the expiry time and next_steps.

Parameters* required
accepted_terms_version*string
The current Terms of Use version (see get_catalog), accepted on behalf of the operator running the agent.
display_namestring
Optional display name of the tenant.
idempotency_keystring
Strongly recommended: a random secret of 32 to 128 characters from A-Z a-z 0-9 - _ (for example crypto.randomUUID()), generated once per intended tenant and kept secret like the agent token. Retryi...
profilestring
Optional profile: Generic (default), Microsoft (Entra ID), or AzureAdB2C (one synthetic sign-in policy).
edit_userEdits a user; fields left out keep their value, and claims, when given, replace the user's claims.3 params

Edits a user; fields left out keep their value, and claims, when given, replace the user's claims.

Parameters* required
changes*object
The fields to change. A fictional test user. On edit, fields left out keep their value; claims, when given, replaces the user's claims.
configuration_id*string
The configuration id (from create_tenant or get_tenant).
key*string
The key of the user to edit.
add_clientAdds a client. client: { client_id, client_secret?, allow_all_return_urls?, redirect_uris?, allowed_scopes?, exposed_scopes?, access_token_audience? }.2 params

Adds a client. client: { client_id, client_secret?, allow_all_return_urls?, redirect_uris?, allowed_scopes?, exposed_scopes?, access_token_audience? }.

Parameters* required
client*object
The client, as in the Agent API. A client (an app that signs in, or an API). On edit, fields left out keep their value.
configuration_id*string
The configuration id (from create_tenant or get_tenant).
edit_clientEdits a client; fields left out keep their value. changes: { client_secret?, allow_all_return_urls?, redirect_uris?, allowed_scopes?, exposed_scopes?, access_token_audience? }.3 params

Edits a client; fields left out keep their value. changes: { client_secret?, allow_all_return_urls?, redirect_uris?, allowed_scopes?, exposed_scopes?, access_token_audience? }.

Parameters* required
changes*object
The fields to change. A client (an app that signs in, or an API). On edit, fields left out keep their value.
client_id*string
The id of the client to edit.
configuration_id*string
The configuration id (from create_tenant or get_tenant).
validate_configurationReports problems (e.g. a client without a redirect URI) and warnings (e.g. a scope no client requests) without changing anything.1 params

Reports problems (e.g. a client without a redirect URI) and warnings (e.g. a scope no client requests) without changing anything.

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
add_custom_claimAdds a custom claim emitted for every user. claim: { name, value, target?: both|id_token|access_token }.2 params

Adds a custom claim emitted for every user. claim: { name, value, target?: both|id_token|access_token }.

Parameters* required
claim*object
The custom claim. A custom claim emitted for every user.
configuration_id*string
The configuration id (from create_tenant or get_tenant).
edit_custom_claimEdits a custom claim's value or target; fields left out keep their value. changes: { value?, target? }.3 params

Edits a custom claim's value or target; fields left out keep their value. changes: { value?, target? }.

Parameters* required
changes*object
The fields to change. A custom claim emitted for every user.
configuration_id*string
The configuration id (from create_tenant or get_tenant).
name*string
The name of the claim to edit.
set_standard_claimsSets which of the profile's generated standard claims are enabled (see get_configuration's standard_claims.available).2 params

Sets which of the profile's generated standard claims are enabled (see get_configuration's standard_claims.available).

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
enabled*array
The standard claims to enable, e.g. ["auth_time", "jti"]. Required. PUT .../claims/standard replaces the whole list: send the current list (GET /agent/v1/configurations/{configuration_id}) plus the...
get_tenantReturns the tenant, its configurations and their endpoints, its limits and status.

Returns the tenant, its configurations and their endpoints, its limits and status.

No parameters. Call it with no arguments.

rotate_signing_keyGenerates a new RSA signing key for this configuration. overlap=true keeps the previous key published for the configured window; false removes every earlier key immediately. Needs Pro or Enterprise (or Vetted assurance); rate limited per configuration. Returns the current kid...2 params

Generates a new RSA signing key for this configuration. overlap=true keeps the previous key published for the configured window; false removes every earlier key immediately. Needs Pro or Enterprise (or Vetted assurance); rate limited per configuration. Returns the current kid...

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
overlap*boolean
true keeps the previous key for the overlap window; false drops all earlier keys immediately.
list_signing_keysLists a configuration's published key IDs, status, source and expiry. Available on every plan; returns no key material.1 params

Lists a configuration's published key IDs, status, source and expiry. Available on every plan; returns no key material.

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
add_userAdds a fictional test user. user: { key, display_name?, sub?, icon?, access_token_sub?, claims?: { name: string|number|boolean|string[] }, claim_targets?: { name: both|id_token|access_token }, sign_in_outcome?: normal|access_denied|temporarily_unavailable|interaction_required|...2 params

Adds a fictional test user. user: { key, display_name?, sub?, icon?, access_token_sub?, claims?: { name: string|number|boolean|string[] }, claim_targets?: { name: both|id_token|access_token }, sign_in_outcome?: normal|access_denied|temporarily_unavailable|interaction_required|...

Parameters* required
configuration_id*string
The configuration id (from create_tenant or get_tenant).
user*object
The user, as in the Agent API. A fictional test user. On edit, fields left out keep their value; claims, when given, replaces the user's claims.

Details

Website
heyidentity.dev
Categories
Developer Tools, Testing & QA, Security
Transport
HTTP
Auth
Required
Registry
MCP registry, active
Tools verified
Nov 23, 2026

Similar to HeyIdentity

More Developer Tools