list_connected_accounts

A tool of the Sprintree MCP server. All MCP docs · Back to the tool list

added 2026-10-01

List the Google, GitHub and GitLab accounts that can sign in as you (the "Connected accounts" of Settings > Security): provider, the e-mail address the provider verified, and when it was linked and last used. Read-only: connecting and disconnecting an account is done in the web app. Sprintree keeps no token of these providers, only who they said you are. Needs the separate mcp:account scope (OAuth grant only, off by default; mcp:write does not include it). Answers are compact JSON; pass format="text" for a readable Markdown answer. Results are paged: if the answer has a cursor, call again with it (a missing cursor means the last page) — never assume the first page is everything.

  • cursorstringoptional
    Cursor from `Next page` of an earlier result of this call (omit for the first page); pass it unchanged, with the same other arguments
  • formatenumoptional
    Answer format: "json" (default) is one compact JSON document; "text" is a readable Markdown answer
    jsontext
  • limitintegeroptional
    How many accounts per page (1–200, default 50)

Returns

One of these shapes, depending on the arguments:

Shape 1

  • accountsarray of object | nullrequired
  • countintegerrequired
  • limitintegerrequired

Shape 2

    Optional fields, when present

    • cursorstringoptional
    • notestringoptional
    • pageintegeroptional
    • pagesintegeroptional
    • totalintegeroptional
    • totalApproximatebooleanoptional
    • 2026-10-01 — Lists the Google, GitHub and GitLab accounts linked for sign-in, each with the e-mail address the provider verified. Linking and unlinking are web-only (Settings > Security).
    • 2026-10-02 — Answers are compact JSON by default (one document, no Markdown, nothing said twice); format="text" gives the readable Markdown without the json block. Each account is {provider, email, linkedAt}.
    • 2026-10-02 — Paged: new optional limit and cursor arguments. The answer carries the paging (total, totalApproximate, page, pages, count, limit, cursor; a missing cursor means the last page); format="text" opens with a header (Page N of M · X items · showing a–b) and ends with the next cursor or Last page.
    • 2026-10-03 — Also answers structuredContent (see outputSchema); a failed call adds structuredContent.error. Text unchanged. Details: /docs/mcp, "Structured results and errors".
    • 2026-10-04 — Claude Code 2.1.288+ (clientInfo claude-code): the text of a successful answer is itself up to 512 bytes, else "Result in structuredContent (N bytes)."; structuredContent and errors are unchanged. See /docs/mcp.
    • 2026-10-04 — format="text" now also answers structuredContent {"text": the Markdown} (it was the JSON document), so a client that reads only structuredContent gets the Markdown it asked for.