# MCP Tools Reference — Bundle Drop Docs

> Look up Bundle Drop MCP tools for projects, channels, bundles, adoption, rollout history, promotion, rollback, and deletion.

Canonical: https://bundledrop.app/docs/mcp-tools

## Start with the Release Identity

Use this reference to see which Bundle Drop tools your agent can call. In most clients you can describe what you want in chat. The tool names below help when you want to check exactly what the agent read or changed.

Start by resolving the project and channel. Most release tools use the exact `projectId`, `channelId`, and `bundleHash`. Ask the agent to show the matching candidates when a name appears in more than one organization or when a release matches multiple platforms or runtimes.

- `version` is the uploaded app version label.
- `bundleVersion` is the Bundle Drop release sequence.
- `runtimeVersion` is the [compatibility identity](/docs/runtime-version) used with the platform to match a release.

## Discover Projects, Channels, and Bundles

These tools require **Read access** (`mcp:read`) and respect your selected projects and current access.

| Tool | What it reads |
| --- | --- |
| `getConnectionAccess` | The projects, enabled permissions, and any pending access change on the current connection. Takes no arguments. |
| `getProjects` | Approved projects you can still access. Supports exact `projectName`, `projectSlug`, `orgId`, and `orgSlug` filters. |
| `getChannels` | Channels in a project, including managed publishing and production designation. Supports an exact `channelName` filter. |
| `getBundles` | Bundle metadata on one channel. Filter by `platform` (`ios` or `android`) and `runtimeVersion` to narrow the results. |
| `getBundle` | One bundle on an exact channel, including saved rollout and revocation state. |

The project, channel, and bundle lists return 20 results by default and support up to 100 results per page. Pass `nextCursor` as `cursor` with the same filters to continue.

## Read Release and Rollout Reports

These reports also use **Read access**.

| Tool | When to use it |
| --- | --- |
| `getReleaseSummary` | Inspect one release with project and channel context, publishing state, rollout, adoption, revocation, expiry, and SDK rollback reports. |
| `getReleaseAdoption` | Compare configured rollout with observed adoption for one release. Use this when adoption is the focus. |
| `getProjectAnalytics` | Read distinct observed installations and distributions by platform, channel, and runtime. Supports channel, platform, runtime, and app environment filters. |
| `getRollout` | Read the current rollout configuration for one release. For a tracked rollout, it also returns a revision and attempt ID for the next edit. |
| `getRolloutSummary` | Read rollout totals and a small sample of in-progress and completed attempts for a project. |
| `getRolloutHistory` | Browse rollout attempts by channel, platform, runtime, bundle, and status. Includes ended attempts. The page size defaults to 20 and can be increased to 40. |
| `getRollback` | Check whether one bundle is currently revoked for a channel. |

For release snapshots and project analytics, `period` defaults to `30d` and also accepts `24h`, `7d`, or `90d`. The optional `appEnvironment` filter matches your app’s recorded environment. In rollout history, captured measurements keep the population and timestamps recorded for the original attempt. If history is unavailable, the current rollout configuration can still be read separately.

**Configured rollout** is the saved availability percentage. **Observed adoption** is the share of distinct installations last seen during the selected period that are running the bundle, within its channel, platform, runtime, and selected app environment. When the population is zero, the adoption percentage is unavailable. SDK rollback counts are retained reports for that channel and bundle, across app environments, on a 90-day retention policy. In project analytics, an installation can count toward more than one distribution category.

Report tools return structured data and a text version. Compatible MCP Apps hosts can render the Bundle Drop release snapshot, rollout history, and project installations cards when reports are enabled. The cards are read-only. You can also ask the agent to chart the returned data in chat.

## Change a Release

Write tools require **Read access**, the specific permission in **Connected apps**, and current deploy access to the project. A write to an existing production channel or a promotion into one also requires **Production-channel writes** (`mcp:production:write`). The connection’s approved range and enabled permissions determine which actions you can use.

| Tool | Connected apps permission | Effect |
| --- | --- | --- |
| `createChannel` | **Manage channels** (`mcp:channels:write`) | Create a non-production channel. Managed publishing defaults to off. |
| `setManagedPublishing` | **Manage channels** (`mcp:channels:write`) | Enable or disable [managed publishing](/docs/managed-publishing) on an existing channel. |
| `promoteBundle` | **Promote bundles** (`mcp:bundles:write`) | Add an uploaded bundle to another channel in the same project. Use the destination’s `channelId`. |
| `setRollout` | **Manage rollouts** (`mcp:rollouts:write`) | Set a rollout percentage from 0 to 100, with optional [targeting](/docs/targeted-rollout-properties). |
| `pauseRollout`, `resumeRollout` | **Manage rollouts** (`mcp:rollouts:write`) | Pause or resume the saved rollout. Use `setRollout` when changing the percentage. |
| `rollback` | **Rollback bundles** (`mcp:rollback`) | Revoke a bundle on one channel. Devices handle the revocation according to their [update policy](/docs/rollback). |

Review the exact project, channel, and bundle before confirming a change in chat. For rollout changes, enable managed publishing on the channel. If `getRollout` returns `currentAttemptId` and `policyRevision`, pass them together as `expectedAttemptId` and `expectedRevision`. If a write returns an error or the connection drops, read the current state before retrying.

## Preview and Confirm Deletion

Use a preview to see affected channels, shared bundles, retention changes, and rollouts that would end. The preview tools use **Read access** and report the extra scopes the operation requires.

| Tool | What it does |
| --- | --- |
| `previewBundleDeletion` | Preview one exact bundle removal. `remove_from_channel` requires the `channelId`. `delete_everywhere` applies across the project’s channels and omits `channelId`. |
| `previewChannelDeletion` | Preview removal of one channel and the impact on its shared and exclusive bundles. |
| `executeDeletion` | Execute the exact current preview using its `previewToken` after you confirm the explained impact in chat. |
| `getDeletionStatus` | Check the operation using its `operationId`, including queued or partial cleanup. |

Executing a bundle removal requires **Delete bundles** (`mcp:bundles:delete`). Executing channel deletion requires **Delete channels** (`mcp:channels:delete`) and also **Delete bundles** if the channel has bundles that will be permanently deleted. Any affected production channel requires **Production-channel writes**. Grant these permissions in the browser, then confirm each deletion separately in chat.

A shared bundle stays on its other channels when detached from one channel. Removing its last channel membership deletes the bundle. Channel deletion also deletes bundles exclusive to that channel. If a preview expires or its impact changes, ask for a fresh preview and confirm again. Keep the preview's `operationId` so you can check the status if the execution response is lost. A `recovery_required` status needs operator inspection of the existing operation before any further deletion.

## Upload a Local Checkout

For a fresh upload, use the installed [Bundle Drop CLI](/docs/uploading) from the checkout you want to ship. An agent with local terminal access can follow the `uploadLocalCheckout` prompt or `bundledrop://guides/local-upload` resource if its client exposes them. The local CLI builds and uploads under its signed-in account and project role. Connected apps restrictions apply to hosted tools. The MCP connection can inspect the uploaded bundle using its exact project, channel, and hash.

## Related Docs

- [Connect an MCP Client](/docs/mcp-connect)
- [MCP Permissions](/docs/mcp-permissions)
- [MCP Release Workflows](/docs/mcp-release-workflows)
- [MCP Troubleshooting](/docs/mcp-troubleshooting)
