MCPHerramientas MCP/Conexiones/list_connected_accounts

list_connected_accounts

Readconnections:read

List the agency's connected publisher/social accounts (Google, Facebook, Instagram, LinkedIn, X, Pinterest, etc.) — the OAuth credentials connected for listings + posting. Agency-scoped: no clientId required (pass one to narrow). Each account shows platform, displayName, and a computed connectionStatus (CONNECTED / DISCONNECTED / RENEW / MISSING / SUSPENDED), credential validity, fetch state, and fetched-listing count. For a `channel: "local"` (location-bound) account, correlate it to a location via `clientLocationId` (the native ClientLocation.id) — NOT `synupLocationId`, which is legacy-only and null on every fresh, natively-created account; a caller matching on it will silently miss native locations. `channel: "brand"` accounts are client-shared and have no location to correlate to. Use it to find an account to act on, or to spot broken accounts (connectionStatus != CONNECTED). Filter by platform / credentialsValid / fetchStatus. Cursor-paginated.

Parámetros
clientIdstringopcional
Optional — restrict to accounts scoped to this client
platform"google" | "facebook" | "instagram" | "linkedin" | "x" | "pinterest" | "apple" | "bluesky" | "mastodon"opcional
Platform filter
credentialsValidbooleanopcional
Only valid (true) or invalid (false) credentials
fetchStatus"idle" | "fetching" | "disconnecting"opcional
idle | fetching | disconnecting
cursorstringopcional
Pagination cursor from a prior nextCursor
limitnumberopcional
Page size (1–100, default 20)
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_connected_accounts",
    "arguments": {}
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.