---
title: buy_addon
product: vercel
url: /docs/agent-resources/vercel-mcp/tools/billing/buy_addon
canonical_url: "https://vercel.com/docs/agent-resources/vercel-mcp/tools/billing/buy_addon"
last_updated: 2018-10-20
type: reference
prerequisites:
  - /docs/agent-resources/vercel-mcp/tools/billing
  - /docs/agent-resources/vercel-mcp/tools
related:
  - /docs/drains
summary: Use buy_addon with Vercel MCP.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# buy_addon

Purchase a Vercel add-on for a team, by integer quantity. Currently only the `siem` add-on ([SIEM log drains](/docs/drains)) is available, and the team must be on the Flex plan.

Vercel's API doesn't return a price for add-ons, so the quote includes a `priceNote` and a link to the team's billing settings where you can review the unit price before confirming.

| Parameter        | Type    | Required | Default | Description                                                                                                                                                                                     |
| ---------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `productAlias`   | string  | Yes      | -       | The add-on to purchase. Only `siem` is available today                                                                                                                                          |
| `quantity`       | number  | Yes      | -       | Number of units to purchase                                                                                                                                                                     |
| `teamId`         | string  | Yes      | -       | The team ID to purchase the add-on for. Alternatively the team slug can be used. Team IDs start with 'team\_' and can be found by reading `.vercel/project.json` (orgId) or using `list_teams`. |
| `confirm`        | boolean | Yes      | -       | Set `true` to execute the charge                                                                                                                                                                |
| `idempotencyKey` | string  | Yes      | -       | The `idempotencyKey` returned by `get_purchase_quote`                                                                                                                                           |

**Sample prompt:** "Buy 2 units of the SIEM add-on for my team"


---

[View full sitemap](/docs/sitemap)
