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
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
whoami | Read | Shows 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_users | Read | Lists 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_user | Read | Returns one user in full: profile, status, sign-in details, roles and groups. | userId (required) |
list_user_roles | Read | Lists the roles that are assigned to one user. | userId (required) |
list_user_groups | Read | Lists the groups that one user is a member of. | userId (required) |
list_user_permissions | Read | Lists 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_organizations | Read | Lists 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_organization | Read | Returns one customer organization in full. | organizationId (required) |
create_user | Change | Creates 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_user | Change, asks first | Changes 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_user | Change, asks first | Deletes 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_user | Change, asks first | Blocks a user: the user can no longer sign in and existing sessions end. Undo with unblock_user. | userId (required) |
unblock_user | Change, asks first | Lets a blocked user sign in again. | userId (required) |
add_user_role | Change | Assigns a role to a user. You can assign only roles whose permissions you hold yourself. | userId (required), roleId (required) |
remove_user_role | Change, asks first | Removes a role from a user. | userId (required), roleId (required) |
add_user_to_group | Change | Adds a user to a group. The user receives the roles of the group. | userId (required), groupId (required) |
remove_user_from_group | Change, asks first | Removes a user from a group. | userId (required), groupId (required) |
send_password_reset | Change | Sends 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_groups | Read | Lists the groups of the organization, one page at a time. | search, page, limit |
get_group | Read | Returns one group in full. | groupId (required) |
list_group_members | Read | Lists the users who are members of one group. | groupId (required), page, limit |
list_group_roles | Read | Lists the roles that every member of one group receives. | groupId (required) |
create_group | Change | Creates a group. Members of a group receive the roles of the group. | name (required), slug, description, roles |
update_group | Change, asks first | Changes the name or description of a group. Only the fields you send are changed. | groupId (required), name, description |
delete_group | Change, asks first | Deletes a group. Its members stay, and lose the roles that came from the group. This cannot be undone. | groupId (required) |
add_group_members | Change | Adds one or more users to a group. | groupId (required), userIds (required) |
remove_group_member | Change, asks first | Removes one user from a group. | groupId (required), userId (required) |
add_group_role | Change | Assigns 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_role | Change, asks first | Removes a role from a group. | groupId (required), roleId (required) |
Roles
Scopes: manage:roles:read to read, manage:roles:write to change.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_roles | Read | Lists the roles of the organization, one page at a time. | search, isSystem, page, limit |
get_role | Read | Returns one role in full. | roleId (required) |
list_role_permissions | Read | Lists the permissions that one role grants. | roleId (required) |
list_role_users | Read | Lists the users who hold one role. | roleId (required), page, limit |
create_role | Change | Creates 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_role | Change, asks first | Changes the name or description of a role. Only the fields you send are changed. | roleId (required), name, description |
delete_role | Change, asks first | Deletes a role. Everyone who held it loses its permissions. This cannot be undone. | roleId (required) |
add_role_permissions | Change | Adds 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_permission | Change, asks first | Removes one permission from a role. | roleId (required), permissionId (required) |
Permissions and scopes
Scopes: manage:permissions:read to read, manage:permissions:write to change.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_permissions | Read | Lists the permissions that exist in the organization, one page at a time. | search, resource, page, limit |
list_scopes | Read | Lists the OAuth scopes that applications of the organization can be allowed to request. | — |
create_permission | Change | Creates a custom permission that roles can grant, for example "invoices.approve". | name (required), slug (required), resource, action, description |
delete_permission | Change, asks first | Deletes 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_applications | Read | Lists 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_application | Read | Returns one application in full: redirect URIs, grant types, allowed scopes, token settings. The client secret is never returned. | clientId (required) |
create_application | Change | Registers 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_application | Change, asks first | Changes 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_application | Change, asks first | Deletes an application. Its users can no longer sign in through it and its tokens stop working. This cannot be undone. | clientId (required) |
disable_application | Change, asks first | Disables an application: nobody can sign in through it and its tokens are revoked. Undo with enable_application (revoked tokens stay revoked). | clientId (required) |
enable_application | Change, asks first | Enables a disabled application again. | clientId (required) |
rotate_application_secret | Change, asks first | Replaces 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_agents | Read | Lists the AI agents registered in the organization, one page at a time. Credentials are never returned. | search, status, identityType, page, limit |
get_agent | Read | Returns one AI agent in full: identity type, capabilities, budget and status. Credentials are never returned. | agentId (required) |
list_mcp_servers | Read | Lists the MCP servers that the organization protects with LumoAuth, one page at a time. | search, page, limit |
get_mcp_server | Read | Returns one protected MCP server in full: resource URI, scopes, allowed clients and security settings. | serverId (required) |
list_mcp_tool_grants | Read | Lists 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_agent | Change | Registers 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_agent | Change, asks first | Changes 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_agent | Change, asks first | Deletes an AI agent and its credentials. This cannot be undone. To stop an agent without deleting it, use deactivate_agent. | agentId (required) |
deactivate_agent | Change, asks first | Stops an AI agent: it can no longer authenticate and the tokens that it holds are revoked. Undo with activate_agent. | agentId (required) |
activate_agent | Change, asks first | Lets 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_credentials | Change, asks first | Replaces 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_server | Change | Registers 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_server | Change, asks first | Removes 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_grants | Change, asks first | Sets 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_grants | Change, asks first | Removes 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_webhooks | Read | Lists the webhooks of the organization, one page at a time. Signing secrets are never returned. | isActive, event, page, limit |
get_webhook | Read | Returns one webhook in full: URL, subscribed events and status. The signing secret is never returned. | webhookId (required) |
list_webhook_deliveries | Read | Lists the recent deliveries of one webhook with their result. Use it to find out why a webhook fails. | webhookId (required), status, limit |
create_webhook | Change | Creates 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_webhook | Change, asks first | Changes 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_webhook | Change, asks first | Deletes a webhook and its delivery history. This cannot be undone. To pause deliveries, use disable_webhook. | webhookId (required) |
disable_webhook | Change, asks first | Pauses a webhook: no events are sent until enable_webhook. | webhookId (required) |
enable_webhook | Change, asks first | Resumes a paused webhook. | webhookId (required) |
Social sign-in providers
Scopes: manage:social:read.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_social_providers | Read | Lists the social sign-in providers that the organization has configured. Client secrets are never returned. | enabled, provider, page, limit |
get_social_provider | Read | Returns one social sign-in provider in full. The client secret is never returned. | providerId (required) |
Organization settings
Scopes: manage:settings:read.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
get_organization | Read | Returns the organization itself: name, address (slug), status and plan. | — |
get_settings | Read | Returns the settings of the organization: general, sign-in, security, email, branding and SCIM. Secrets are never returned. | — |
get_mfa_policy | Read | Returns 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_sessions | Read | Lists the active sign-in sessions of the organization, one page at a time. | userId, page, limit |
list_user_sessions | Read | Lists the active sign-in sessions of one user. | userId (required) |
list_tokens | Read | Lists 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_stats | Read | Returns counts of active sessions and tokens of the organization. | — |
revoke_session | Change, asks first | Ends one sign-in session: that browser or device is signed out. | sessionId (required) |
revoke_user_sessions | Change, asks first | Signs a user out everywhere. Use it when an account may be compromised. | userId (required) |
revoke_user_tokens | Change, asks first | Revokes 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_audit_logs | Read | Lists 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_log | Read | Returns one audit log entry in full, with its metadata. | logId (required) |
get_audit_log_stats | Read | Returns counts of audit log entries by event type and result for a time range. | from, to |
list_audit_event_types | Read | Lists 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
get_dashboard_analytics | Read | Returns the headline numbers of the organization: users, applications, sign-ins and their recent trend. | — |
get_login_analytics | Read | Returns 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.
| Tool | Kind | What it does | Arguments |
|---|---|---|---|
list_abac_policies | Read | Lists the attribute-based access control (ABAC) policies of the organization, one page at a time. | page, limit |
get_abac_policy | Read | Returns one attribute-based access control (ABAC) policy in full, with its conditions. | id (required) |
list_abac_attributes | Read | Lists the attribute definitions that access policies of the organization can use, one page at a time. | page, limit |
create_abac_policy | Change | Creates 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_policy | Change, asks first | Changes 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_policy | Change, asks first | Deletes an access policy. Decisions that depended on it change at once. This cannot be undone. | id (required) |