Skip to content
Development
Command

/build

- `build upload` supports **Android APK/AAB** and **iOS XCArchive/IPA**. An XCArchive is a directory; an IPA is converted to an XCArchive layout for upload. **Sentry SaaS only.** - `--dsym` attaches debug symbols to a **single IPA** upload. Repeat the flag for multiple inputs:

From plugin
toolkit
97342 skills1 agent42 commands2 MCP
> /plugin marketplace add getsentry/toolkit
> /plugin install sentry-mcp@sentry-mcp

Command definition

build.md

Important Notes

  • `build upload` supports **Android APK/AAB** and **iOS XCArchive/IPA**. An

XCArchive is a directory; an IPA is converted to an XCArchive layout for upload. **Sentry SaaS only.**

  • `--dsym` attaches debug symbols to a **single IPA** upload. Repeat the flag

for multiple inputs: each may be a `.dSYM` bundle, a directory of bundles, or a ZIP of either. Symlinks, unsafe ZIP paths, checksum mismatches, empty bundles, and duplicate bundle names are rejected. IPA and dSYM contents are streamed from disk.

  • The **macOS arm64 standalone binary** expands iOS `.car` asset catalogs with

CoreUI on macOS 13, 14, 15, and 26. It adds the legacy `ParsedAssets/` manifest and decoded images for per-asset size analysis and image optimization insights. Other runtimes, or failed extractions, upload the original catalogs unchanged. XCArchive symlinks and Unix file permissions are preserved.

  • Multiple paths may be uploaded at once; the command exits non-zero if any

build fails to upload.

  • Git metadata (commit, branch, PR number, repo) is **auto-collected in CI**

(GitHub Actions env vars + the local git repo). Use `--no-git-metadata` to disable it, `--force-git-metadata` to collect outside CI, or the explicit `--head-sha` / `--base-sha` / `--head-ref` / `--base-ref` / `--pr-number` / `--vcs-provider` / `--head-repo-name` / `--base-repo-name` flags to override.

  • `build download` fetches a mobile build artifact (APK or IPA) previously

uploaded to Sentry's preprod system for size analysis. **Sentry SaaS only.**

  • The build must be installable. Builds that are still processing — or that have

no downloadable artifact — cannot be downloaded.

  • Without `--output`, the artifact is saved as

`preprod_artifact_<build-id>.<ext>` in the current directory.

  • The organization is resolved from `--org`, `SENTRY_ORG`, config defaults, or a

detected DSN.

Read more
@getsentry
Ships withtoolkit

This repository contains the Sentry CLI, the Sentry MCP server, and shared packages. For the CLI, see the CLI guide and the published documentation at . The documentation index covers both products and shared contributor guidance.

9731 skill1 agent2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
973
Star history of getsentry/sentry-mcp on GitHub, a chart by star-history.com

Other commands on toolkit.

alert

alert

Command

Triggers take `alertThreshold`, an optional `label` (`critical` or `warning`), `resolveThreshold`, and `thresholdType` (`0`…

@getsentry@getsentryInstall Command
api

api

Command

Endpoints are relative to `/api/0/` — the prefix is added automatically. Absolute HTTP(S) Sentry URLs also work; their origin is…

@getsentry@getsentryInstall Command
attribute

attribute

Command

Attributes are the typed key-value data attached to spans, logs, and metric samples. Their keys can be passed to other commands…

@getsentry@getsentryInstall Command
auth

auth

Command

Bare `sentry auth` logs in when you're logged out and shows status when you're already authenticated. `sentry auth login` always…

@getsentry@getsentryInstall Command
cli

cli

Command

`sentry cli upgrade nightly` and `sentry cli upgrade stable` switch channels. After switching, bare `sentry cli upgrade` will…

@getsentry@getsentryInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command