MCPHerramientas MCP/Conexiones/create_connect_link

create_connect_link

Writeconnections:write

Make a one-hour, single-use link for a PERSON to connect — or reconnect — a client's social account in their own browser. You never handle credentials: send the link to the account owner; they sign in to OS, consent with the network, and (for Facebook/Instagram) pick the account. Networks: facebook, instagram, linkedin, x, pinterest, youtube (brand-level; for Google/Apple listings use the location connect-url routes; Bluesky/Mastodon need a handle/instance the link can't carry). To reconnect a specific broken account pass reconnectConnectionId (Facebook, YouTube; from list_connected_accounts). Returns { id, url, status: "pending", expiresAt } — poll get_connect_link_status; cancel_connect_link withdraws it.

Parámetros
clientIdstringobligatorio
The client the account will be connected for Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
platformstringobligatorio
One of: facebook, instagram, linkedin, x, pinterest, youtube
reconnectConnectionIdstringopcional
Reconnect this existing account instead of adding another (Facebook, YouTube)
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_connect_link",
    "arguments": {
      "clientId": "string",
      "platform": "string"
    }
  }
}
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.