Skip to content
Connect an agent

MCP: Accounts

connect_account

Connect a new account. Starts connecting a new social account and returns a session with an authorizationUrl, the platform's own consent page. A person must open it and approve: give them the link, then call get_connect_session until it is not pending. The link expires in ten minutes. For an account already in list_accounts, use reconnect_account instead. Facebook connects one account per page.

TL;DR

QuestionAnswer
What does it do?Starts connecting a new social account and returns a session with an authorizationUrl, the platform's own consent page. A person must open it and approve: give them the link, then call get_connect_session until it is not pending. The link expires in ten minutes. For an account already in list_accounts, use reconnect_account instead. Facebook connects one account per page.
Does it change anything?Changes something.
Which endpoint does it call?POST /v1/connect/{platform}
Which server?https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key).

Arguments

ArgumentTypeRequiredDescription
platform"x" | "instagram" | "facebook" | "threads" | "linkedin" | "tiktok" | "youtube" | "pinterest" | "bluesky" | "mastodon" | "discord" | "farcaster"yesThe social platform.
redirectUrlstringnoWhere to send the person afterwards. Omit it and Flung shows its own "you can close this tab" page. at most 2048 characters.

Example call

json
{  "name": "connect_account",  "arguments": {    "platform": "linkedin"  }}

Things a person might say

  • "Connect my LinkedIn account to Flung."
  • "Add our company Facebook page."

Annotations

HintValue
readOnlyHintfalse
destructiveHintfalse
idempotentHintfalse
openWorldHinttrue

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
POST /v1/connect/{platform}The same operation over HTTP