get_connect_link

Get a link to connect an account with Wavegrain's MCP server: the get_connect_link tool needs the read permission. Inputs, outputs and an example call.

Get a link to connect an account. Permission: read. Read-only: changes nothing.

A one-click link for the user to connect a social account into a group. They sign in on the network; an agent never handles the account's password or tokens.

Inputs

InputTypeRequiredNotes
groupIdstringyesThe account group the new account joins, from list_accounts. up to 200 characters
network"tiktok" | "instagram" | "threads" | "facebook" | "linkedin" | "pinterest" | "x" | "youtube"noThe network the user wants; the answer says what Wavegrain can post there.

The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.

Returns

FieldTypeNotes
linkstringOpens Wavegrain's connect step on this group; the user picks the network and signs in there.
brandobjectThe group's brand.
groupobjectThe group the account joins.
networkobject | nullWhat Wavegrain can do on the network asked for; null when none was given.
notestringWhat to tell the user.

Example call

Send it to POST https://wavegrain.com/api/mcp with an access key that has the read permission; Authentication shows how to make one.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_connect_link",
    "arguments": {
      "groupId": "<groupId>"
    }
  }
}

The call shows only the required inputs, with placeholder values: put your own in.

Something wrong or missing? Write to support@wavegrain.com.