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
| Question | Answer |
|---|---|
| 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
| Argument | Type | Required | Description |
|---|---|---|---|
sessionId | string | yes | The 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
| Hint | Value |
|---|---|
readOnlyHint | true |
destructiveHint | false |
idempotentHint | true |
openWorldHint | false |
See also
| Doc | Why |
|---|---|
| MCP tools | Every tool |
| Connect an AI agent | Install the server in your client |
GET /v1/connect-sessions/{id} | The same operation over HTTP |