GetGroupMCPTools
Get the MCP tools a group has been given access to.
Only an Administrator can call this route. It cannot be run as another user, who is never an Administrator. The MCP module must be enabled.
This is the access held by the group itself, as set on its Other Access page in the application and changed by Update Group MCP Tools. Every member of the group who has an API key has it, on top of the tools each has been given directly. An archived group gives its members nothing, and cannot be read here.
Each tool is returned as it appears in Get Available MCP Tools, sorted by name, ignoring case, so the two lists can be compared.
Headers
GET /api/ss/group/:id/mcp-tools HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/jsonRequest
Path Parameters
id - string | required
ID of the user. Must be a 24-character hexadecimal id.
Example
Request
Response
Access and failures
Errors are returned in error, with a count of 0 and an empty list:
Unauthorized- the caller is not an Administrator.Group Not FoundorError Finding Group- the group could not be found. An archived group is not found.Error Finding MCP Tools- the group's MCP tools could not be read.
Last updated