Enable the AIC Remote MCP Server feature
Use the environment features API to enable the AIC Remote MCP Server feature for each of your Advanced Identity Cloud tenant environments. The environment features API lets you check availability of the feature, enable the feature, or disable the feature.
Check feature availability
To check whether the feature is available to install in your tenant, send a GET request to the /environment/feature endpoint.
In each environment you want to check:
-
Get an access token with
fr:idc:feature:*scope. -
Run the following command:
$ curl \ --request GET 'https://<tenant-env-fqdn>/environment/feature' \(1) --header 'Authorization: Bearer <access-token>'(2)Show request guidance
1 Replace <tenant-env-fqdn> with the FQDN of your tenant environment. 2 Replace <access-token> with your service account access token. -
Check the response and find the
remote-mcpfeature in the list of features:-
If the feature is available for installation:
{ "result": [ ... { "_id": "remote-mcp", "availableVersions": [ "v1" ], "status": "uninstalled" }, ... ] } -
If the feature is already installed:
{ "result": [ ... { "_id": "remote-mcp", "availableVersions": [ "v1" ], "installedVersion": "v1", "status": "installed" }, ... ] }
-
Enable the feature
To enable the AIC Remote MCP Server in your tenant, send a POST request to the /environment/feature/remote-mcp endpoint with an action of install.
In each environment where you want to enable the feature:
-
Get an access token with
fr:idc:feature:*scope. -
Run the following command:
$ curl \ --request POST 'https://<tenant-env-fqdn>/environment/feature/remote-mcp?_action=install' \(1) --header 'Authorization: Bearer <access-token>'(2)Show request guidance
1 Replace <tenant-env-fqdn> with the FQDN of your tenant environment. 2 Replace <access-token> with your service account access token. -
Check the response:
-
If the feature installation is successful:
{ "message": "feature installed", "status": 200, "success": true } -
If the feature is in the process of being installed:
{ "code": 409, "message": "operation not allowed at this time" } -
If the feature is already installed:
{ "code": 409, "message": "feature is already installed" }
-
Disable the feature
To disable the AIC Remote MCP Server in your tenant, send a POST request to the /environment/feature/remote-mcp endpoint with an action of uninstall.
In each environment where you want to disable the feature:
-
Get an access token with
fr:idc:feature:*scope. -
Run the following command:
$ curl \ --request POST 'https://<tenant-env-fqdn>/environment/feature/remote-mcp?_action=uninstall' \(1) --header 'Authorization: Bearer <access-token>'(2)Show request guidance
1 Replace <tenant-env-fqdn> with the FQDN of your tenant environment. 2 Replace <access-token> with your service account access token. -
Check the response:
-
If the feature uninstallation is successful:
{ "message": "feature uninstalled", "status": 200, "success": true } -
If the feature is in the process of being uninstalled:
{ "code": 409, "message": "operation not allowed at this time" } -
If the feature is already uninstalled:
{ "code": 409, "message": "feature is already uninstalled" }
-