Skip to main content

MCP user tutorial

Use IQM Model Context Protocol (MCP) to interact with the User Management API.

Overview​

This page provides instructions on using IQM MCP to perform operations related to user management, such as logging in and out, resetting or updating passwords, and updating user details such as profile information and status.

Before you begin​

To access User Management API tools using IQM MCP, the following are required:

  1. An account on the IQM platform
    • See Before you begin to create an account and request a Client ID and Client Secret

More resources​

User profile management​

PromptResponse exampleNotes
Show me my profile details
Let's update my profileMCP prompts the user for details to update their profile.

User app access​

PromptResponse exampleNotes
Show me a list of users
Show me user details for uowId 344281
Show me app access for uowId 344281
Revoke app ID 17 access for user 8407You can find userId in the user details response.
Add app ID 17 access for user 8407

Tools index​

In the tables below you can find the complete set of user management tools available in the MCP, categorized by function.

Each tool includes a brief description and a link to the corresponding API documentation for more details on its functionality and usage.

Use this index as a reference to explore the various user management capabilities of the MCP and how they relate to the User Management API endpoints.

Users​

Tool nameDescriptionDocumentation
getUserOWIdGet the logged in user's owId
getAccessibleOrganizationsGet organizations accessible to the current user
getUsersListGet a paginated list of usersGet list of users
getUsersBasicListGet a basic paginated list of usersBasic user list
sendUserInvitationsSend an invitation to a new userSend user invitation
resendUserInvitationsResend an invitation to a userResend user invitation
updateUserStatusUpdate a user's active or inactive statusUpdate user status

Profile​

Tool nameDescriptionDocumentation
getProfileGet the current user's profile detailsGet user profile details
updateProfileDetailsUpdate the current user's profile informationUpdate user profile

App access​

Tool nameDescriptionDocumentation
getAllowedApplicationsGet a list of applications the user is permitted to accessAllowed applications list
getUserApplicationsAccessGet the user's application access listUser app access list
addApplicationAccessToUserAdd application access for a userAdd app access for user
revokeApplicationAccessToUserRevoke application access for a userRevoke app access for user
getRemainingApplicationsGet the remaining applications available to assign to a userRemaining applications

Password and MFA​

Tool nameDescriptionDocumentation
sendResetPasswordEmailSend a password reset emailReset password email
resetPasswordReset a user's passwordReset user password
updateMfaFlagEnable MFA for one or more usersEnable MFA
disableMfaForUsersDisable MFA for one or more usersDisable MFA

Validation​

Tool nameDescriptionDocumentation
validateInvitationValidate a user invitation linkValidate user invite
validateResetPasswordInvitationValidate a password reset linkValidate password reset hash
validateUserEmailValidate a user's email addressValidate user email
validateWorkspaceForUserValidate a workspace domain for a userValidate Workspace domain
validateCurrentPasswordValidate the current user's passwordValidate user password
Have a question?
Was this page helpful?