delinea-mcp

v3.1.0
delinea-mcp Checked 16 hours ago Published 8 hours ago

MCP server for the Delinea Secret Server and Platform APIs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch Fetch Secret Server Record

Retrieve the full record for an identifier returned by ``search``. Parameters ---------- identifier: Value from the ``id`` field of a search result, in ``"<type>/<id>"`` format. Returns ------- dict Object with ``id``, ``title``, ``text``, ``url`` and ``metadata`` fields as required by the MCP specification.

ParameterTypeDescription
id *string

run_report Run SQL Report

Run a read-only SQL report on Secret Server and return its rows. ``list_example_reports`` returns the Secret Server database tables, columns, special fields and tested example queries that *sql_query* is written against. The query runs through the Secret Server REST API reports endpoints (``POST /api/v1/reports``, ``POST /api/v1/reports/execute``, then ``DELETE /api/v1/reports/{id}``; see https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/index.htm), as a temporary report that is deleted after it runs. Secret Server only executes ``SELECT`` statements and applies the co…

ParameterTypeDescription
sql_query *string
max_rowsinteger
report_name

list_example_reports List Report Examples and Schema

Return the reference for writing ``run_report`` SQL. Includes tested example queries, the Secret Server database tables and columns they use, special fields, and the rules Secret Server enforces on custom report SQL (a single read-only SELECT). Read this before composing a ``run_report`` query.

get_secret Get Secret (Passwords Masked)

Retrieve a secret's fields, with password-type values masked. Values of fields that the secret template marks as passwords are replaced with ``********`` and listed under ``maskedFields``. Use ``summary=True`` for metadata only (name, folder, template, approval and checkout requirements). To put a credential to work without exposing it, use ``get_secret_environment_variable``. Showing a masked value needs ``reveal_secret_field``, which is only available when the server has plaintext reveal enabled. Parameters ---------- id: Numeric secret identifier. summary: When ``True`` return onl…

ParameterTypeDescription
id *integer
summaryboolean

get_folder Get Folder

Return folder metadata for the given folder ID. Parameters ---------- id: Identifier of the folder to fetch. all_children: When ``True`` include ``childFolders`` with the full descendant tree, which can be large. To page through direct children only, use ``search_folders(query="", parent_folder_id=id)``. Returns ------- dict Folder metadata including children or an ``error`` message.

ParameterTypeDescription
id *integer
all_childrenboolean

get_roles Get Roles

List Secret Server roles, or get one role by ID. Calls ``GET /api/v1/roles``, which has no name filter, paged by *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` show whether more remain. With *role_id*, calls ``GET /api/v1/roles/{id}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
include_inactiveboolean
role_id
skipinteger
takeinteger

create_role Create Role

Create a Secret Server role. Calls ``POST /api/v1/roles``; *data* needs ``name`` and ``enabled``. Returns ``{"result": ..., "verification": ...}``, where verification is a follow-up GET of the role. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
data *object

update_role Update Role

Rename, enable or disable a Secret Server role. Calls ``PATCH /api/v1/roles/{id}``, changing only the fields given; ``enabled=False`` disables the role for every member. Returns ``{"result": ..., "verification": ...}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
role_id *integer
enabled
name

get_user_roles Get User Roles

List the roles assigned to a Secret Server user. Calls ``GET /api/v1/users/{id}/roles``. Paged: *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` in the response show whether more remain. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
user_id *integer
skipinteger
takeinteger

add_user_roles Add Roles to User

Assign roles to a Secret Server user. Calls ``POST /api/v1/users/{id}/roles`` with ``{"roleIds": [...]}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
role_ids *array
user_id *integer

remove_user_roles Remove Roles from User

Remove roles from a Secret Server user. Calls ``DELETE /api/v1/users/{id}/roles`` with ``{"roleIds": [...]}``. Secret Server refuses any role removal it calculates would lock the signed-in account out of role administration (``API_RoleAdministrationNoLockout``). It counts only rights granted through Secret Server roles, so an account that is an administrator through the Delinea Platform can add roles but not remove them. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
role_ids *array
user_id *integer

get_groups Get Groups

List Secret Server groups whose name contains *query*, or get one group by ID. Calls ``GET /api/v1/groups`` paged by *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` show whether more remain. With *group_id*, calls ``GET /api/v1/groups/{id}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_id
querystring
skipinteger
takeinteger

create_group Create Group

Create a Secret Server group. Calls ``POST /api/v1/groups``. *data* needs ``name`` and ``enabled``; optional keys include ``adGuid``, ``domainId``, ``hasGroupOwners``, ``isPlatform``, ``ownerGroupIds``, ``ownerGroupNames``, ``ownerUserIds``, ``ownerUserNames``, ``synchronized`` and ``synchronizeNow``. Returns ``{"result": ..., "verification": ...}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
data *object

delete_group Delete Group

Delete (deactivate) a Secret Server group. Calls ``DELETE /api/v1/groups/{id}``, then reads the group back as verification. Secret Server keeps the group with ``enabled: false`` rather than removing it. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_id *integer

get_user_groups Get User Groups

List the groups a Secret Server user belongs to. Calls ``GET /api/v1/users/{id}/groups``. Paged: *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` in the response show whether more remain. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
user_id *integer
skipinteger
takeinteger

add_user_to_groups Add User to Groups

Add a Secret Server user to groups. Calls ``POST /api/v1/users/{id}/groups`` with ``{"groupIds": [...]}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_ids *array
user_id *integer

remove_user_from_groups Remove User from Groups

Remove a Secret Server user from groups. Calls ``DELETE /api/v1/users/{id}/groups?groupIds=...``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_ids *array
user_id *integer

get_group_roles Get Group Roles

List the roles assigned to a Secret Server group. Calls ``GET /api/v1/groups/{id}/roles``. Paged: *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` in the response show whether more remain. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_id *integer
skipinteger
takeinteger

add_group_roles Add Roles to Group

Assign roles to a Secret Server group. Calls ``POST /api/v1/groups/{id}/roles`` with ``{"roleIds": [...]}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_id *integer
role_ids *array

remove_group_roles Remove Roles from Group

Remove roles from a Secret Server group. Calls ``DELETE /api/v1/groups/{id}/roles`` with ``{"roleIds": [...]}``. Secret Server refuses any role removal it calculates would lock the signed-in account out of role administration (``API_RoleAdministrationNoLockout``). It counts only rights granted through Secret Server roles, so an account that is an administrator through the Delinea Platform can add roles but not remove them. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
group_id *integer
role_ids *array

create_folder Create Folder

Create a Secret Server folder. Calls ``POST /api/v1/folders``; *data* needs ``folderName``, ``parentFolderId`` (``-1`` for the root) and ``folderTypeId`` (``1``); ``inheritPermissions`` and ``inheritSecretPolicy`` are optional booleans. Returns ``{"result": ..., "verification": ...}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
data *object

update_folder Update Folder

Update a Secret Server folder, replacing it with *data*. Calls ``PUT /api/v1/folders/{id}``. *data* is the full folder as ``get_folder`` returns it with the changes applied; it can rename or move the folder and change its permission and policy inheritance. Returns ``{"result": ..., "verification": ...}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
data *object
folder_id *integer

delete_folder Delete Folder

Delete a Secret Server folder. Calls ``DELETE /api/v1/folders/{id}``, then reads the folder back as verification. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
folder_id *integer

health_check Secret Server Health Check

Check that the configured Secret Server is reachable and healthy. Calls ``GET /api/v1/healthcheck``; returns Secret Server's service information, with ``{"status": "Healthy"}`` when it is operational.

search_secrets Search Secrets

Search secrets by name. Calls ``GET /api/v2/secrets?filter.searchText=<query>``, or with *lookup* ``GET /api/v1/secrets/lookup``, which returns only each secret's ID and name. Field values are not returned. Parameters ---------- query: Search text. lookup: If ``True``, return only IDs and names (``/api/v1/secrets/lookup``). take: Page size (default 50, capped at 500). skip: Number of records to skip, for paging with ``take``. Returns ------- dict The Secret Server search response (``records``, paging fields).

ParameterTypeDescription
query *string
lookupboolean
skipinteger
takeinteger

search_folders Search Folders

Search or look up folders. Parameters ---------- query: Text to search for in folder names. lookup: If ``True``, query the ``/lookup`` endpoint for metadata only. take: Page size (default 50, capped at 500). skip: Number of records to skip, for paging with ``take``. parent_folder_id: Only return direct children of this folder; ``-1`` returns the top-level folders. Returns ------- dict JSON payload from the search call.

ParameterTypeDescription
query *string
lookupboolean
parent_folder_id
skipinteger
takeinteger

get_secret_environment_variable Export Secret to Environment Variables

Load a secret's username and password into shell environment variables. The credential is used without its value appearing in the conversation. When the server runs locally (stdio), it reads the secret itself and writes a private, self-deleting file of shell assignments, returning only the file's path; nothing else needs to be installed. Over HTTP transports it returns a script instead, which calls the Secret Server REST API with the server's short-lived access token (bash needs curl and jq; powershell needs nothing extra). A secret can require a comment or approval before use (``requiresCom…

ParameterTypeDescription
environment *string
secret_id *integer
comment

check_secret_template Get Secret Template

Get a secret template by ID: its fields and their settings. Calls ``GET /api/v1/secret-templates/{id}``. Each field in ``fields`` has its ``secretTemplateFieldId``, slug (``fieldSlugName``), ``isPassword`` and ``isRequired``; these are the IDs and slugs the secret create and update tools take.

ParameterTypeDescription
template_id *integer

check_secret_template_field Check Secret Template Field

Check if a field exists in the given secret template. Parameters ---------- template_id: Identifier of the secret template. field_id: Numeric field ID, field name or slug; names and slugs match regardless of case. Returns ------- dict ``{"exists": bool, "field": {...}}`` when found or a message when not present.

ParameterTypeDescription
field_id *string
template_id *integer

handle_access_request Approve or Deny Access Request

Approve or deny a pending secret access request. Parameters ---------- request_id: Identifier of the access request to modify. status: Either ``"Approved"`` or ``"Denied"``. response_comment: Comment explaining the decision. start_date, expiration_date: Optional ISO date strings for the access window when approving. ``get_pending_access_requests`` returns the requested window for each request. Returns ------- dict ``{"result": ... , "verification": ...}`` where ``result`` contains the API response from the update call and ``verification`` contains the requ…

ParameterTypeDescription
request_id *integer
response_comment *string
status *string
expiration_date
start_date

get_pending_access_requests List Pending Access Requests

Retrieve pending secret access requests for the current user. Paged: *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` in the response show whether more remain. Returns ------- dict Raw API response containing pending requests or an ``error`` key on failure.

ParameterTypeDescription
skipinteger
takeinteger

get_inbox_messages List Inbox Messages

List the signed-in account's Secret Server inbox messages. Filters by read status and pages by *take* (capped at 500) and *skip*. Parameters ---------- read_status_filter: Optional filter value of ``"Read"`` or ``"Unread"``. take, skip: Paging parameters controlling the number of messages returned and the starting offset. Returns ------- dict Raw JSON response from the ``/v1/inbox/messages`` endpoint.

ParameterTypeDescription
read_status_filter
skipinteger
takeinteger

mark_inbox_messages_read Mark Inbox Messages Read

Mark one or more inbox messages as read or unread. Parameters ---------- message_ids: List of message identifiers to update. read: ``True`` to mark the messages as read or ``False`` to mark them as unread. Returns ------- dict ``{"result": ..., "verification": ...}`` where ``result`` contains the outcome of the update and ``verification`` is the inbox listing after the change. Secret Server reports success for IDs that don't exist, so check the listing to confirm.

ParameterTypeDescription
message_ids *array
readboolean

get_secret_template_field Get Secret Template Field

Retrieve details for a secret template field. Parameters ---------- field_id: Numeric identifier of the field to fetch. Returns ------- dict JSON object describing the field or an ``error`` key on failure.

ParameterTypeDescription
field_id *integer

create_secret_with_generated_password Create Secret with Generated Password

Create a new secret with a server-generated password. The password is generated by the Delinea API using the template field's password requirements and is **never returned** to the caller. The model receives only the secret's ID and safe metadata. ``check_secret_template(template_id)`` lists the template's fields: their ``secretTemplateFieldId`` values, which field is the password (``isPassword=True``, its ID is *password_field_id*) and which are required (``isRequired=True``, they must be in *items*). Parameters ---------- name: Display name for the new secret. secret_template_id:…

ParameterTypeDescription
items *
name *string
password_field_id *integer
secret_template_id *integer
folder_id
site_idinteger

set_secret_field_environment_variable Set Secret Field from Local Value

Store a value from the user's machine in a secret field, unseen by the model. For values Delinea can't generate (e.g. AWS API keys, external tokens). The value is written with ``PUT /v1/secrets/{id}/fields/{slug}`` and never enters the conversation. When the server runs locally (stdio): * ``file:`` sources are read and uploaded by the server directly; the file's contents are stored as-is (a trailing newline is dropped). * ``env:`` and ``stdin`` sources return a one-line ``command`` that runs this package's own Python to read the value (hidden prompt for ``stdin``) and upload it. Nothi…

ParameterTypeDescription
environment *string
field_slug *string
secret_id *integer
comment
sourcestring

update_secret_generated_password Rotate Secret Password

Rotate a password field on an existing secret with a server-generated value. The new password is generated using the template field's password rules and written directly to the vault via ``PUT /v1/secrets/{id}/fields/{slug}``. The model **never** sees the old or new password value. A secret can require a comment or approval before use (``requiresComment`` / ``requiresApproval`` in ``get_secret(id, summary=True)``). For such a secret this tool returns an error unless *comment* is given. Access requests are listed by ``get_pending_access_requests`` and answered by ``handle_access_request``.…

ParameterTypeDescription
field_slug *string
password_field_id *integer
secret_id *integer
comment

update_secret_fields Update Secret Fields

Edit non-sensitive fields on an existing secret. Runs these requests: 1. ``GET /v1/secrets/{id}/summary`` to check approval / comment requirements. 2. ``GET /v1/secrets/{id}`` (template lookup) to identify which slugs are password fields. 3. ``PUT /v1/secrets/{id}/fields/{slug}`` per entry in *field_updates*. 4. ``GET /v1/secrets/{id}/summary`` for verification. By default, slugs whose template field has ``isPassword=True`` are refused, so password values don't pass through the conversation. ``set_secret_field_environment_variable`` stores those from the user's machine without the val…

ParameterTypeDescription
field_updates *
secret_id *integer
allow_password_fieldsboolean
comment

bulk_user_response Bulk User Incident Response

Apply an opinionated sequence of bulk user operations. .. warning:: This tool can lock out, disable, or strip 2FA from many users in a single call. It is intended for incident response (e.g. compromised accounts), bulk offboarding, or break-glass restoration. Nothing runs without ``confirm=True`` and a non-empty audit ``comment``; with ``confirm=False`` it returns a preview of the steps and target users. Composes calls to ``POST /v1/bulk-user-operations/*`` endpoints in the sequence prescribed by *scenario*. Scenarios --------- ``"compromise"`` Force-logout →…

ParameterTypeDescription
comment *string
scenario *string
user_ids *
confirmboolean

search_secretserver_local_users Search Secret Server Local Users

Search local Secret Server users (legacy SS-only deployments). Calls ``GET /v1/users?filter.searchText=<query>``, paged: *take* (default 50, capped at 500) and *skip*; ``total`` and ``hasNext`` in the response show whether more remain. In Platform-integrated tenants the Platform identity directory is the authoritative user store; ``search_users`` searches it. Parameters ---------- query: Text to search for in usernames or display names. Returns ------- dict Raw search results as returned by the API.

ParameterTypeDescription
query *string
skipinteger
takeinteger

get_secretserver_local_user Get Secret Server Local User

Get one local Secret Server user by ID (legacy SS-only deployments). Calls ``GET /api/v1/users/{id}``. In Platform-integrated tenants the Platform directory holds users, and ``get_platform_user`` reads it. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
user_id *integer

list_secretserver_user_sessions List Own Secret Server Sessions

List the signed-in account's own Secret Server sessions. The endpoint returns only the current user's sessions, not other users'. Calls ``GET /api/v1/users/sessions`` paged by *skip* and *take* (capped at 500); ``total`` and ``hasNext`` in the response show whether more remain. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
skipinteger
takeinteger

create_secretserver_local_user Create Secret Server Local User

Create a local Secret Server user. Calls ``POST /api/v1/users``. Passwords in *data* are masked in errors and logs. In Platform tenants these records mirror Platform users and changes here don't reach the Platform. Returns ``{"result": ..., "verification": ...}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
data *object

update_secretserver_local_user Update Secret Server Local User

Update a local Secret Server user, replacing it with *data*. Calls ``PUT /api/v1/users/{id}``. *data* is the full user as ``get_secretserver_local_user`` returns it with the changes applied; it can disable or lock the user or replace the password. Passwords are masked in errors and logs. Returns ``{"result": ..., "verification": ...}``. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
data *object
user_id *integer

delete_secretserver_local_user Delete Secret Server Local User

Delete (deactivate) a local Secret Server user. Calls ``DELETE /api/v1/users/{id}``, then reads the user back as verification. Secret Server keeps the user with ``enabled: false`` rather than removing it, and refuses to delete a user that is already disabled. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
user_id *integer

reset_secretserver_local_user_password Reset Secret Server Local User Password

Set a new password for a local Secret Server user. Calls ``POST /api/v1/users/{id}/password-reset``; the password is masked in errors and logs. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
password *string
user_id *integer

reset_secretserver_local_user_two_factor Reset Secret Server Local User Two-Factor

Clear a local Secret Server user's two-factor enrollment. Calls ``POST /api/v1/users/{id}/reset-two-factor``. *two_factor_type* is ``"Oath"`` (authenticator app) or ``"Fido"`` (security key); the user enrolls again at next sign-in. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
user_id *integer
two_factor_typestring

lock_out_secretserver_local_user Lock Out Secret Server Local User

Lock a local Secret Server user out until an administrator unlocks them. Calls ``POST /api/v1/users/{id}/lock-out``. *reason_type* is ``"SuspiciousActivity"``, ``"LoginAttemptsExceeded"`` or ``"Other"``; *reason* is recorded as the description. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

ParameterTypeDescription
user_id *integer
reasonstring
reason_typestring

search_users Search Platform Users

Search the Platform identity directory for users. Calls ``POST /identity/api/Report/RunReport`` with the ``user_searchbyname`` canned report. Returns the raw report payload, one page at a time: *page* starts at 1 and *page_size* is capped at 500. The report gives no overall total; a full page means more may remain. Secret Server deployments without the Platform keep users in Secret Server; ``search_secretserver_local_users`` searches those. Parameters ---------- query: Text to search for in usernames. Returns ------- dict JSON response from the platform user search report or `…

ParameterTypeDescription
query *string
pageinteger
page_sizeinteger

get_platform_user Get Platform User

Get one Delinea Platform user's attributes by user UUID. Calls ``POST /identity/api/UserMgmt/GetUserAttributes``; find the UUID with ``search_users``. API reference: https://developer.delinea.com/reference/post_usermgmt-getuserattributes

ParameterTypeDescription
user_id *string

create_platform_user Create Platform User

Create a Delinea Platform cloud user. Calls ``POST /identity/api/CDirectoryService/CreateUser``; *data* needs ``Name`` (the login name, e.g. ``alice@tenant``) and usually ``Mail``, ``DisplayName`` and ``Password``. Passwords are masked in errors and logs. Returns ``{"result": ..., "verification": ...}``. API reference: https://developer.delinea.com/reference/post_cdirectoryservice-createuser

ParameterTypeDescription
data *

update_platform_user Update Platform User

Update a Delinea Platform cloud user. Calls ``POST /identity/api/CDirectoryService/ChangeUser`` with only the fields in *data*; it can replace the password or disable the user. Passwords are masked in errors and logs. Returns ``{"result": ..., "verification": ...}``. API reference: https://developer.delinea.com/reference/post_cdirectoryservice-changeuser

ParameterTypeDescription
data *
user_id *string

delete_platform_user Delete Platform User

Delete a Delinea Platform user by UUID. Calls ``POST /identity/api/UserMgmt/RemoveUsers``. Cloud directory users are deleted; users from other directories are only removed from the Platform. Returns ``{"result": ..., "verification": ...}``, where verification looks the user up by ID afterwards. API reference: https://developer.delinea.com/reference/post_usermgmt-removeusers

ParameterTypeDescription
user_id *string

get_platform_roles Get Platform Roles

List Delinea Platform roles, or get one role (with its permissions) by name. Calls ``GET /permission/api/roles`` (roles whose name contains *query*; all roles when empty), one page at a time: *page* starts at 1 and *page_size* is capped at 500, and ``pager.total`` in the response is the number of matching roles. With *role_name*, calls ``GET /permission/api/roles/{name}`` instead. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
pageinteger
page_sizeinteger
querystring
role_name

create_platform_role Create Platform Role

Create a Delinea Platform role. Calls ``POST /permission/api/roles``; fails if the role exists. A new role has no permissions and grants nothing until it is given some in the Platform. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
role_name *string
descriptionstring
enabledboolean

update_platform_role Update Platform Role

Update a Delinea Platform role's description and enabled state. Calls ``PUT /permission/api/roles/{name}``, which replaces both; ``enabled=False`` disables the role for every member. Built-in roles can't be changed. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
description *string
enabled *boolean
role_name *string

delete_platform_role Delete Platform Role

Delete a Delinea Platform role. Calls ``DELETE /permission/api/roles/{name}``, which also succeeds when no such role exists; users and groups lose the role's permissions. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
role_name *string

get_platform_role_members Get Platform Role Members

List the users and groups assigned to a Delinea Platform role. Calls ``GET /permission/api/roles/{name}/members`` one page at a time: *page* starts at 1 and *page_size* is capped at 500, and ``pager.total`` in the response is the number of members. Members are keyed by user or group ID. A membership just added or removed can take a few seconds to show here. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
role_name *string
pageinteger
page_sizeinteger

add_platform_role_members Add Platform Role Members

Assign a Delinea Platform role to users or groups, granting its permissions. *subject_ids* are Platform user or group IDs (find users with ``search_users``). For each, calls ``PATCH /permission/api/role-memberships/{id}/add-role``, or ``POST /permission/api/role-memberships`` when the subject has no role assignments yet. Returns one result per subject. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
role_name *string
subject_ids *array

remove_platform_role_members Remove Platform Role Members

Remove a Delinea Platform role from users or groups. For each of *subject_ids* (Platform user or group IDs), calls ``PATCH /permission/api/role-memberships/{id}/remove-role``. Returns one result per subject. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

ParameterTypeDescription
role_name *string
subject_ids *array

platform_reports Browse and Run Platform Reports

Browse and run Delinea Platform reports (Insights > Reports), read-only. The Platform report library (Fall 2026 release) covers every Platform service: Secret Server (e.g. "Top 10 Viewers of Secrets"), Identity (MFA login events, failed logins, last / missing logins, password resets), Permissions (members of a role, users with a permission), Inventory, Entitlement and Identity Lifecycle. Report *names* are the identifiers. Typical flow: ``list`` -> ``describe`` -> ``run``. Endpoint coverage (Platform report service, ``/report/api/...``): * ``"list"`` -> ``GET /report/report-definitions``…

ParameterTypeDescription
actionstring
filters
pageinteger
page_sizeinteger
query
report
service
snapshot_id