list_project_repositories

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

added 2026-10-03

List the GitHub repositories connected to a project (any member or a viewer of a public project may read them): id (what disconnect_repository takes), full name, private, link, default branch, state (active, or inaccessible when the repository left the GitHub installation, turned private or was deleted: then only editors see its name and it shows no link) and when it was connected. Pull requests, branches and commits that name an issue key show in the code section of get_issue_details. Read-only: connecting a repository is a browser redirect to GitHub and is done in the web app (project Settings > Repositories). When the GitHub integration is not configured on this server the answer is a not-found error (feature_disabled). 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 repositories per page (1–100, default 50)
  • projectstringrequired
    Project key, e.g. ITR

Returns

One of these shapes, depending on the arguments:

Shape 1

  • countintegerrequired
  • limitintegerrequired
  • repositoriesarray of object | nullrequired

Shape 2

    Optional fields, when present

    • cursorstringoptional
    • notestringoptional
    • pageintegeroptional
    • pagesintegeroptional
    • totalintegeroptional
    • totalApproximatebooleanoptional
    • 2026-10-03 — New read tool: the GitHub repositories connected to a project ({id, fullName, private, htmlUrl, defaultBranch, state, connectedAt}); an inaccessible one shows its state only. Connecting is web-only (project Settings > Repositories); disconnect_repository removes one.
    • 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.