Skip to main content

Tools of the LumoAuth MCP server

The LumoAuth MCP server offers 97 tools. A connection is offered a tool only when two things hold:

  • The person who connected it chose the access that the tool needs: read access to the area for a tool that reads, read-and-change access for a tool that changes.
  • That person holds a permission for the tool in the organization portal at the time of the request.

The Kind column says what a tool does:

  • Read: returns data and changes nothing.
  • Change: adds something new, such as a user or a role assignment.
  • Change, asks first: changes or removes something that exists. MCP clients ask you before they run such a tool.

Every tool acts on the organization that the connection was made for. No tool takes an organization as an argument. List tools return one page at a time: pass page and limit to move through the results.

Every connection​

ToolKindWhat it doesArguments
whoamiReadShows which LumoAuth organization this connection is for, the signed-in administrator, and what the connection is allowed to read and to change. Call it first when you are unsure which organization you are working in.—

Users​

Scopes: manage:users:read to read, manage:users:write to change.

ToolKindWhat it doesArguments
list_usersReadLists the users of the organization, newest first, one page at a time. Each entry has the user id, email, name, status and roles. Use search to find a user by email or name.search, blocked, active, emailVerified, mfaEnabled, role, group, page, limit
get_userReadReturns one user in full: profile, status, sign-in details, roles and groups.userId (required)
list_user_rolesReadLists the roles that are assigned to one user.userId (required)
list_user_groupsReadLists the groups that one user is a member of.userId (required)
list_user_permissionsReadLists the permissions that one user effectively holds, and where each one comes from (a role, a group, or a direct grant).userId (required)
list_customer_organizationsReadLists the customer organizations that exist inside this organization (each one is a company whose people sign in to your app), one page at a time.search, isActive, page, limit
get_customer_organizationReadReturns one customer organization in full.organizationId (required)
create_userChangeCreates a user in the organization. No password is set here: call send_password_reset afterwards, and the user chooses a password from the email. Roles and groups can be given by id.email (required), name, givenName, familyName, username, phoneNumber, isActive, roles, groups
update_userChange, asks firstChanges the profile of a user. Only the fields you send are changed. The email address and the password cannot be changed here.userId (required), name, givenName, familyName, phoneNumber, locale, zoneinfo, isActive
delete_userChange, asks firstDeletes a user from the organization. This cannot be undone. To stop a user from signing in without deleting the account, use block_user.userId (required)
block_userChange, asks firstBlocks a user: the user can no longer sign in and existing sessions end. Undo with unblock_user.userId (required)
unblock_userChange, asks firstLets a blocked user sign in again.userId (required)
add_user_roleChangeAssigns a role to a user. You can assign only roles whose permissions you hold yourself.userId (required), roleId (required)
remove_user_roleChange, asks firstRemoves a role from a user.userId (required), roleId (required)
add_user_to_groupChangeAdds a user to a group. The user receives the roles of the group.userId (required), groupId (required)
remove_user_from_groupChange, asks firstRemoves a user from a group.userId (required), groupId (required)
send_password_resetChangeSends the user an email with a link to choose a new password. Use it after create_user, or when a user cannot sign in.userId (required)

Groups​

Scopes: manage:groups:read to read, manage:groups:write to change.

ToolKindWhat it doesArguments
list_groupsReadLists the groups of the organization, one page at a time.search, page, limit
get_groupReadReturns one group in full.groupId (required)
list_group_membersReadLists the users who are members of one group.groupId (required), page, limit
list_group_rolesReadLists the roles that every member of one group receives.groupId (required)
create_groupChangeCreates a group. Members of a group receive the roles of the group.name (required), slug, description, roles
update_groupChange, asks firstChanges the name or description of a group. Only the fields you send are changed.groupId (required), name, description
delete_groupChange, asks firstDeletes a group. Its members stay, and lose the roles that came from the group. This cannot be undone.groupId (required)
add_group_membersChangeAdds one or more users to a group.groupId (required), userIds (required)
remove_group_memberChange, asks firstRemoves one user from a group.groupId (required), userId (required)
add_group_roleChangeAssigns a role to a group, so every member receives it. You can assign only roles whose permissions you hold yourself.groupId (required), roleId (required)
remove_group_roleChange, asks firstRemoves a role from a group.groupId (required), roleId (required)

Roles​

Scopes: manage:roles:read to read, manage:roles:write to change.

ToolKindWhat it doesArguments
list_rolesReadLists the roles of the organization, one page at a time.search, isSystem, page, limit
get_roleReadReturns one role in full.roleId (required)
list_role_permissionsReadLists the permissions that one role grants.roleId (required)
list_role_usersReadLists the users who hold one role.roleId (required), page, limit
create_roleChangeCreates a role. Give it permissions here or with add_role_permissions; either way that needs the roles.assign-permissions permission, and you can grant only permissions that you hold yourself.name (required), slug, description, permissions
update_roleChange, asks firstChanges the name or description of a role. Only the fields you send are changed.roleId (required), name, description
delete_roleChange, asks firstDeletes a role. Everyone who held it loses its permissions. This cannot be undone.roleId (required)
add_role_permissionsChangeAdds permissions to a role. You can grant only permissions that you hold yourself. An unknown id or a permission that you do not hold refuses the whole call, and nothing is added.roleId (required), permissionIds (required)
remove_role_permissionChange, asks firstRemoves one permission from a role.roleId (required), permissionId (required)

Permissions and scopes​

Scopes: manage:permissions:read to read, manage:permissions:write to change.

ToolKindWhat it doesArguments
list_permissionsReadLists the permissions that exist in the organization, one page at a time.search, resource, page, limit
list_scopesReadLists the OAuth scopes that applications of the organization can be allowed to request.—
create_permissionChangeCreates a custom permission that roles can grant, for example "invoices.approve".name (required), slug (required), resource, action, description
delete_permissionChange, asks firstDeletes a custom permission. Roles that granted it no longer do. This cannot be undone.permissionId (required)

Applications​

Scopes: manage:clients:read to read, manage:clients:write to change.

ToolKindWhat it doesArguments
list_applicationsReadLists the applications (OAuth and OpenID Connect clients) of the organization, one page at a time. Client secrets are never returned.search, isPublic, page, limit
get_applicationReadReturns one application in full: redirect URIs, grant types, allowed scopes, token settings. The client secret is never returned.clientId (required)
create_applicationChangeRegisters an application (an OAuth and OpenID Connect client). A confidential application gets a client secret, which is returned once in this result: store it at once. Single-page and native apps should be public (isConfidential false) and use PKCE; they get no secret.name (required), redirectUris, isConfidential, grantTypes, scopes, requiresPkce
update_applicationChange, asks firstChanges an application. Only the fields you send are changed; a list you send replaces the stored list.clientId (required), name, redirectUris, isConfidential, grantTypes, scopes, requiresPkce
delete_applicationChange, asks firstDeletes an application. Its users can no longer sign in through it and its tokens stop working. This cannot be undone.clientId (required)
disable_applicationChange, asks firstDisables an application: nobody can sign in through it and its tokens are revoked. Undo with enable_application (revoked tokens stay revoked).clientId (required)
enable_applicationChange, asks firstEnables a disabled application again.clientId (required)
rotate_application_secretChange, asks firstReplaces the client secret of an application. The old secret stops working at once and the new one is returned once in this result: every deployment of the application must be given the new secret.clientId (required)

AI agents and MCP servers​

Scopes: manage:agents:read to read, manage:agents:write to change.

ToolKindWhat it doesArguments
list_agentsReadLists the AI agents registered in the organization, one page at a time. Credentials are never returned.search, status, identityType, page, limit
get_agentReadReturns one AI agent in full: identity type, capabilities, budget and status. Credentials are never returned.agentId (required)
list_mcp_serversReadLists the MCP servers that the organization protects with LumoAuth, one page at a time.search, page, limit
get_mcp_serverReadReturns one protected MCP server in full: resource URI, scopes, allowed clients and security settings.serverId (required)
list_mcp_tool_grantsReadLists the agents that may call tools of one MCP server through the per-tool check: for each agent, whether it may call every tool (all_tools) and which tools it was granted one by one.serverId (required), agent_id
create_agentChangeRegisters an AI agent. Prefer an identity type without a shared secret: "workload" for an agent that runs in a cloud or CI system (send workloadIdentityProvider with workloadIdentity or workloadIdentityConfig), or "private_key_jwt" with the public keys of the agent (jwks inline, or jwksUri). For "api_key" and "client_secret" the credential is returned once in this result. Capabilities name what the agent may do as <resource>:<action>, for example "invoices:read"; you can grant only capabilities that you hold yourself.name (required), description, identityType, capabilities, budgetPolicy, jwks, jwksUri, canActOnBehalfOfUsers, workloadIdentityProvider, workloadIdentity, workloadIdentityConfig, apiKeyExpiresInDays
update_agentChange, asks firstChanges an AI agent. Only the fields you send are changed; capabilities you send replace the stored list. Narrowing capabilities, or removing a public key, revokes the tokens that the agent holds. Switching canActOnBehalfOfUsers on needs you to hold every capability of the agent.agentId (required), name, description, capabilities, budgetPolicy, jwks, jwksUri, canActOnBehalfOfUsers, ownerId
delete_agentChange, asks firstDeletes an AI agent and its credentials. This cannot be undone. To stop an agent without deleting it, use deactivate_agent.agentId (required)
deactivate_agentChange, asks firstStops an AI agent: it can no longer authenticate and the tokens that it holds are revoked. Undo with activate_agent.agentId (required)
activate_agentChange, asks firstLets a deactivated AI agent authenticate again. An agent whose owner was deleted, blocked or switched off (needsNewOwner in get_agent) needs a new owner first: set ownerId with update_agent.agentId (required)
rotate_agent_credentialsChange, asks firstReplaces the API key or client secret of an AI agent. The old credential stops working at once and the new one is returned once in this result.agentId (required), apiKeyExpiresInDays
create_mcp_serverChangeRegisters an MCP server that the organization runs, so LumoAuth issues access tokens for it. The resource URI is the address clients connect to; tokens are bound to it.name (required), resource_uri (required), description, endpoint_url, transport, scopes_supported, basic_scopes, allowed_client_ids, token_lifetime, require_pkce, require_resource_param, require_dpop
delete_mcp_serverChange, asks firstRemoves the registration of an MCP server and the agents' grants on its tools. LumoAuth stops issuing tokens for it. This cannot be undone.serverId (required)
set_mcp_tool_grantsChange, asks firstSets which tools of one MCP server an agent may call: the tools you send REPLACE the agent's grants on that server ([] removes them). all_tools true allows every tool of the server, including tools it adds later; prefer naming the tools. Granting needs the Fine-grained authorization feature of the plan. The agent asks before each call with POST /agents/me/mcp/authorize.serverId (required), agentId (required), tools, all_tools
remove_mcp_tool_grantsChange, asks firstRemoves every grant of an agent on one MCP server: the agent may no longer call any of its tools.serverId (required), agentId (required)

Webhooks​

Scopes: manage:webhooks:read to read, manage:webhooks:write to change.

ToolKindWhat it doesArguments
list_webhooksReadLists the webhooks of the organization, one page at a time. Signing secrets are never returned.isActive, event, page, limit
get_webhookReadReturns one webhook in full: URL, subscribed events and status. The signing secret is never returned.webhookId (required)
list_webhook_deliveriesReadLists the recent deliveries of one webhook with their result. Use it to find out why a webhook fails.webhookId (required), status, limit
create_webhookChangeCreates a webhook: LumoAuth sends the chosen events to the URL. The signing secret is returned once in this result; the receiver needs it to verify deliveries. See the event types with list_audit_event_types or the webhook documentation.url (required), events (required), isActive
update_webhookChange, asks firstChanges a webhook. Only the fields you send are changed; events you send replace the stored list. A new URL needs rotateSecret true: the stored signing secret is never used for a new address, and the new secret is returned once in this result.webhookId (required), url, events, isActive, rotateSecret
delete_webhookChange, asks firstDeletes a webhook and its delivery history. This cannot be undone. To pause deliveries, use disable_webhook.webhookId (required)
disable_webhookChange, asks firstPauses a webhook: no events are sent until enable_webhook.webhookId (required)
enable_webhookChange, asks firstResumes a paused webhook.webhookId (required)

Social sign-in providers​

Scopes: manage:social:read.

ToolKindWhat it doesArguments
list_social_providersReadLists the social sign-in providers that the organization has configured. Client secrets are never returned.enabled, provider, page, limit
get_social_providerReadReturns one social sign-in provider in full. The client secret is never returned.providerId (required)

Organization settings​

Scopes: manage:settings:read.

ToolKindWhat it doesArguments
get_organizationReadReturns the organization itself: name, address (slug), status and plan.—
get_settingsReadReturns the settings of the organization: general, sign-in, security, email, branding and SCIM. Secrets are never returned.—
get_mfa_policyReadReturns the multi-factor authentication policy of the organization: who must use a second factor and which methods are allowed.—

Sessions and tokens​

Scopes: manage:sessions:read to read, manage:sessions:write to change.

ToolKindWhat it doesArguments
list_sessionsReadLists the active sign-in sessions of the organization, one page at a time.userId, page, limit
list_user_sessionsReadLists the active sign-in sessions of one user.userId (required)
list_tokensReadLists the access and refresh tokens that the organization has issued, one page at a time. Token values are never returned.revoked, clientId, userId, page, limit
get_session_statsReadReturns counts of active sessions and tokens of the organization.—
revoke_sessionChange, asks firstEnds one sign-in session: that browser or device is signed out.sessionId (required)
revoke_user_sessionsChange, asks firstSigns a user out everywhere. Use it when an account may be compromised.userId (required)
revoke_user_tokensChange, asks firstRevokes every access and refresh token issued for a user, in every application. The applications must ask the user to sign in again.userId (required)

Audit logs​

Scopes: manage:audit:read.

ToolKindWhat it doesArguments
list_audit_logsReadLists audit log entries of the organization, newest first, one page at a time. Filter by event type, actor, target, result or time range to find who did what and when.eventType, actorId, targetType, targetId, severity, status, ipAddress, search, from, to, page, limit
get_audit_logReadReturns one audit log entry in full, with its metadata.logId (required)
get_audit_log_statsReadReturns counts of audit log entries by event type and result for a time range.from, to
list_audit_event_typesReadLists the event types that occur in the audit log of the organization. Use them as eventType in list_audit_logs.—

Analytics​

Scopes: manage:analytics:read.

ToolKindWhat it doesArguments
get_dashboard_analyticsReadReturns the headline numbers of the organization: users, applications, sign-ins and their recent trend.—
get_login_analyticsReadReturns sign-in counts per day (successful and failed) for the last days.days

Access policies​

Scopes: manage:abac:read to read, manage:abac:write to change.

ToolKindWhat it doesArguments
list_abac_policiesReadLists the attribute-based access control (ABAC) policies of the organization, one page at a time.page, limit
get_abac_policyReadReturns one attribute-based access control (ABAC) policy in full, with its conditions.id (required)
list_abac_attributesReadLists the attribute definitions that access policies of the organization can use, one page at a time.page, limit
create_abac_policyChangeCreates an attribute-based access control (ABAC) policy: for a resource type and an action, allow or deny when the conditions hold. Read an existing policy with get_abac_policy to see the shape of conditions; attribute names come from list_abac_attributes.name (required), resourceType (required), action (required), effect (required), conditions (required), description, priority
update_abac_policyChange, asks firstChanges an access policy. Only the fields you send are changed; conditions you send replace the stored conditions.id (required), name, resourceType, action, effect, conditions, description, priority
delete_abac_policyChange, asks firstDeletes an access policy. Decisions that depended on it change at once. This cannot be undone.id (required)