Home / Servers / Sentry API / upload_project_release_file

Upload a New Project Release File

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

Upload a New Project Release File Upload a new file for the given release. Files must be uploaded using the multipart/form-data content type, against the region-specific domain (e.g. us.sentry.io or de.sentry.io). [POST /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/]

Name on the gateway: sentry_api__upload_project_release_file · may change things.

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 requiredstringThe multipart-encoded file contents to upload.
namestringThe name (full path) the file will be referenced as, e.g. the full web URI of…
diststringThe name of the distribution to associate the file with.
headerarrayHeaders to attach to the file, each formatted as a "key:value" string (for…

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

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 upload a new project release file tool with organization_id_or_slug set to ….

More from Sentry API