Skip to content
Connect an agent

MCP: Accounts

get_connect_session

Check a connect session. Whether the person finished connecting: pending, connected (with accountIds), failed (with the platform's reason) or expired. Poll it every few seconds after giving them the link; do not start a new session while one is pending.

TL;DR

QuestionAnswer
What does it do?Whether the person finished connecting: pending, connected (with accountIds), failed (with the platform's reason) or expired. Poll it every few seconds after giving them the link; do not start a new session while one is pending.
Does it change anything?Reads only.
Which endpoint does it call?GET /v1/connect-sessions/{id}
Which server?https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key).

Arguments

ArgumentTypeRequiredDescription
sessionIdstringyesThe id connect_account or reconnect_account returned, such as cs_... at least 1 character; at most 64 characters; pattern ^cs_[a-z2-7]+$.

Example call

json
{  "name": "get_connect_session",  "arguments": {    "sessionId": "cs_aaaaaaaaaaaaaaaaaaaaaaaa"  }}

Things a person might say

  • "Did the LinkedIn connection go through?"

Annotations

HintValue
readOnlyHinttrue
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
GET /v1/connect-sessions/{id}The same operation over HTTP