Home / Servers / Sentry API / get_project_release_file

Retrieve a Project Release's File

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

Retrieve a Project Release's File Return metadata for an individual file within a release. Does not return the file contents unless download is set. [GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/{file_id}/]

Name on the gateway: sentry_api__get_project_release_file · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
project_id_or_slug requiredstringThe ID or slug of the project the resource belongs to.…
version requiredstringThe version identifier of the release
file_id requiredstringThe ID of the release file.
downloadstringIf set, download the file contents instead of returning metadata.

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__get_project_release_file",
  "arguments": {
    "organization_id_or_slug": "…",
    "project_id_or_slug": "…",
    "version": "…",
    "file_id": "…"
  }
}

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 retrieve a project release's file tool with organization_id_or_slug set to ….

More from Sentry API