Search
Search returns a connector’s MCP resources filtered by kind, state, or text query. Filter on MCP_RESOURCE_STATE_PENDING_REVIEW to find resources awaiting approval, then approve them with Update.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
App identifier (required).
Connector ID (required).
Body
MCPResourceServiceSearchRequest searches MCP resources with filters.
When true, the server populates the computed entitlement_active and grant_count fields on each returned row (an extra batched entitlement lookup per page). Off by default so callers that don't render grant status don't pay for it.
Optional filter by resource kind. An empty list means no filter.
MCP_RESOURCE_KIND_UNSPECIFIED, MCP_RESOURCE_KIND_STATIC, MCP_RESOURCE_KIND_TEMPLATE Page size (max 100).
Page token for pagination.
Optional text query matched against name, title, description, and uri.
Sort order for results. UNSPECIFIED sorts by resource name ascending.
MCP_RESOURCE_SORT_BY_UNSPECIFIED, MCP_RESOURCE_SORT_BY_NAME, MCP_RESOURCE_SORT_BY_URI, MCP_RESOURCE_SORT_BY_STATE, MCP_RESOURCE_SORT_BY_UPDATED_AT Direction for sort_by. UNSPECIFIED means ascending.
SORT_DIRECTION_UNSPECIFIED, SORT_DIRECTION_ASC, SORT_DIRECTION_DESC Optional filter by resource state. An empty list defaults to PENDING_REVIEW, APPROVED, and DISABLED (REMOVED is hidden unless explicitly requested).
MCP_RESOURCE_STATE_UNSPECIFIED, MCP_RESOURCE_STATE_PENDING_REVIEW, MCP_RESOURCE_STATE_APPROVED, MCP_RESOURCE_STATE_DISABLED, MCP_RESOURCE_STATE_REMOVED