---
title: "Creates a new MCP token associated to an account."
method: POST
path: "/v1/accounts/{accountSid}/mcpTokens"
tags: ["MCP Tokens"]
---

# Creates a new MCP token associated to an account.

`POST /v1/accounts/{accountSid}/mcpTokens`

## Path parameters

- `accountSid` string, required — accountSid

## Request body

- Model15
  - `name` string, required — Name of the MCP token
  - `environmentSid` string, required — Environment SID to scope this token to
  - `bucketSids` string[] — Array of bucket SIDs to scope to (empty = all buckets in environment)

## Response `default`

Successful

- string

---

[API](https://skmtc.net/apitraffic/apis/apitraffic-api-documentation.md) · [All operations](https://skmtc.net/apitraffic/apis/apitraffic-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apitraffic/apitraffic-api-documentation/revisions/b2a22a9b5c98/schema)
