Accounts
reconnect_account
Reconnect an account. For an account that is needs_reconnect, disconnected, or near its reconnectBy. Returns a session with an authorizationUrl for the person to open; they must sign in as the same platform user, or it fails with wrong_account. Then call get_connect_session until it is not pending.
TL;DR
| Question | Answer |
|---|---|
| What does it do? | For an account that is needs_reconnect, disconnected, or near its reconnectBy. Returns a session with an authorizationUrl for the person to open; they must sign in as the same platform user, or it fails with wrong_account. Then call get_connect_session until it is not pending. |
| Does it change anything? | Changes something. |
| Which endpoint does it call? | POST /v1/accounts/{id}/reconnect |
| Which server? | https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key). |
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
accountId | string | yes | An account id (acct_...) from list_accounts. at least 1 character; at most 64 characters; pattern ^acct_[a-z2-7]+$. |
redirectUrl | string | no | Where to send the person afterwards. Omit it for Flung's own page. at most 2048 characters. |
Example call
json
{ "name": "reconnect_account", "arguments": { "accountId": "acct_aaaaaaaaaaaaaaaaaaaaaaaa" }}Things a person might say
- "My Instagram stopped posting, fix it."
- "Reconnect the accounts that are about to expire."
Annotations
| Hint | Value |
|---|---|
readOnlyHint | false |
destructiveHint | false |
idempotentHint | false |
openWorldHint | true |
See also
| Doc | Why |
|---|---|
| MCP tools | Every tool |
| Connect an AI agent | Install the server in your client |
POST /v1/accounts/{id}/reconnect | The same operation over HTTP |