Home / Servers / Sentry API / list_organization_repos

List an Organization's Repositories

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

List an Organization's Repositories Return a list of version control repositories for a given organization. [GET /api/0/organizations/{organization_id_or_slug}/repos/]

Name on the gateway: sentry_api__list_organization_repos · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
querystringFilter repositories by name.
statusactive | deletedFilter repositories by status. Defaults to active.
integration_idstringFilter repositories by integration ID.
expandarrayOptional repository fields to expand, such as settings.
cursorstringA pointer to the last object fetched and its sort order; used to retrieve the…
per_pageintegerThe maximum number of repositories to return per page (1–100).

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__list_organization_repos",
  "arguments": {
    "organization_id_or_slug": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list an organization's repositories tool with organization_id_or_slug set to ….

More from Sentry API