Skip to content

Object Class MCP Connectors

This document describes the API for retrieving the MCP Connectors associated with an Object Class.

An MCP Connector is a registered external client of the MCP server. Object Classes can be associated with a connector so that they are available for permission configuration for the connector. This endpoint lists the connectors associated with a selected Object Class.

ℹ️ In the scope of this story, associating Object Classes with a connector does not affect user access through MCP. That behaviour is a separate, future story.

The endpoint is nested under an Object Class (nested routers) and uses the standard limit/offset pagination, sorting and filtering mechanisms.

Permissions

EndpointPermission
GET /api/object-classes/{class_id}/mcp-connectors/view permission for the Object Class class_id

The caller must have the view permission for the Object Class class_id, either globally on the object_classes resource or per-object. The list permission alone (without view) is not sufficient.

GET /api/object-classes/class_id/mcp-connectors/

Returns the list of MCP Connectors associated with the Object Class.

Permissions

Requires authentication and object_classes.view permission for the Object Class class_id.

URL parameters

KeyTypeNotes
class_idintObject Class ID

Request example

  • Headers
Request Method: GET
Content-Type: application/json
Authorization: JWT access_token

Response

KeyTypeNotes
limitint
offsetint
total_countintTotal number of MCP Connectors associated with the Object Class.
filtered_countintNumber of associated MCP Connectors with filters applied.
nextURL / nullNext page URL (null if there is no next page)
previousURL / nullPrevious page URL (null if there is no previous page)
resultsArrayDescribed in the next table.

Response results array

KeyTypeNotes
idintMCP Connector ID
namestringMCP Connector name

Results are sorted by id ascending by default.

Response example

  • Status 200 OK
  • Body
json
{
    "limit": 100,
    "offset": 0,
    "filtered_count": 2,
    "total_count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 5,
            "name": "Claude connector"
        },
        {
            "id": 16,
            "name": "Claude - analytics"
        }
    ]
}

Sorting

ParameterExampleNotes
id{build}/api/object-classes/{class_id}/mcp-connectors/?ordering=idAscending
id{build}/api/object-classes/{class_id}/mcp-connectors/?ordering=-idDescending (-)
name{build}/api/object-classes/{class_id}/mcp-connectors/?ordering=nameAscending
name{build}/api/object-classes/{class_id}/mcp-connectors/?ordering=-nameDescending (-)

Filtering

ParameterPredicatesExample
idstandard numeric{build}/api/object-classes/{class_id}/mcp-connectors/?id__gt=10
namestandard string{build}/api/object-classes/{class_id}/mcp-connectors/?name__icontains=foo

Standard numeric predicates for id: =, gt, gte, lt, lte, range (e.g. id, id__gt, id__lt, id__range). Standard string predicates for name: =, iexact, contains, icontains, startswith, istartswith, endswith, iendswith (e.g. name, name__icontains, name__istartswith).

Errors

ErrorResponse codeMessage
Not authenticated401 Unauthorized"detail": "Authentication credentials were not provided."
Caller lacks view permission for the Object Class403 Forbidden"detail": "You do not have permission to perform this action."
class_id does not exist404 Not Found