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
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
project_id_or_slug required | string | The ID or slug of the project the resource belongs to.… |
version required | string | The version identifier of the release |
file required | string | The multipart-encoded file contents to upload. |
name | string | The name (full path) the file will be referenced as, e.g. the full web URI of… |
dist | string | The name of the distribution to associate the file with. |
header | array | Headers 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:
{
"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:
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 ….