Skip to content
Connect an agent

MCP: Accounts

disconnect_account

Disconnect an account. Deletes the stored tokens: the account stops posting until a person reconnects it. Only when the person asks for it, and pass confirm: true. To fix a broken account, use reconnect_account instead.

TL;DR

QuestionAnswer
What does it do?Deletes the stored tokens: the account stops posting until a person reconnects it. Only when the person asks for it, and pass confirm: true. To fix a broken account, use reconnect_account instead.
Does it change anything?Changes or removes something. Ask the person before calling it.
Which endpoint does it call?DELETE /v1/accounts/{id}
Which server?https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key).

Arguments

ArgumentTypeRequiredDescription
accountIdstringyesAn account id (acct_...) from list_accounts. at least 1 character; at most 64 characters; pattern ^acct_[a-z2-7]+$.
confirmtrueyesMust be true: the person asked to disconnect this account.

Example call

json
{  "name": "disconnect_account",  "arguments": {    "accountId": "acct_aaaaaaaaaaaaaaaaaaaaaaaa",    "confirm": true  }}

Things a person might say

  • "Disconnect our old Mastodon account."

Annotations

HintValue
readOnlyHintfalse
destructiveHinttrue
idempotentHinttrue
openWorldHintfalse

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
DELETE /v1/accounts/{id}The same operation over HTTP