Prepare a user-owned key
In MCP → + Generate token, grantintegration:read for discovery and integration:map for the first link. The key’s active owner must currently hold integration.read and integration.manage, respectively, with no required password change. A service key can read when granted integration:read, but cannot link. Add organization:read if your assistant will use list_organizations to find the existing client ID.
REST uses the separate dot-separated scopes integration.read and integration.manage; see the REST linking guide.
1. Choose the source and exact records
First find the connection ID withlist_evidence_sources, then call list_source_client_mappings for that exact integration_id:
id (the mapping UUID), remoteId, display-only remoteName, organizationId (null when unassigned) and revision. You can filter by exact remote_id or organization_id. Pages are ordered by remote name and mapping UUID, with limit 1–50 and offset 0–10,000. The revision is short-lived and bound to the calling key, source and exact mapping state. It is not a credential, and it cannot be reused by another key.
Find the intended existing Organization UUID using list_organizations or the Clients page. Confirm the remote ID as well as the displayed name; similar names can refer to different vendor records. A client in another MSP workspace is never a valid target.
2. First-link once
Save one new canonical UUID for this exact intention, then calllink_source_client with the discovered mapping ID, chosen client ID and current revision:
id, integrationId, mappingId, organizationId, remoteId, outcome: linked and replayed: false. If the response times out, repeat the same key and identical arguments. A committed link returns the same receipt with replayed: true, even if that source or client was later deleted. Reusing a key for a different payload is refused. Do not make a fresh key to blindly retry an uncertain link.
Only an unassigned record can be linked this way. The server refuses a stale or expired revision, a running source collection, a changed source or remote identity, an archived client, or a record already assigned to another client. Read fresh mappings and resolve the reason before trying a new intention. This tool cannot unlink or reassign a record; use the signed-in mapping controls and your normal review process for those changes.
3. Collect and assess separately
If you intend to collect evidence, follow Refresh evidence with MCP. Itsrequest_source_refresh operation covers all clients mapped to that connection, not just the client you linked. completed means that exact collection finished; inspect new facts and run or read a separate assessment before reporting control status. Missing or stale evidence never counts as passing.