---
title: "Create Mcp Storage"
method: POST
path: "/studio/v1/mcp/storage"
---

# Create Mcp Storage

`POST /studio/v1/mcp/storage`

## Request body

- CreateMCPStorageRequest
  - `server_url` string, required
  - `server_label` string, required
  - `workspace_id` string, uuid
  - `authentication_type` 'none' | 'token-api' | 'custom-header' — An enumeration.
  - `auth_header_name` string
  - `auth_value` string
  - `allowed_tools` string[]

## Response `200`

Successful Response

- MCPStorageResponse
  - `id` string, uuid, required — A unique ID for the request (not the message). Repeated identical requests get different IDs. However, for a streaming response, the ID will be the same for all responses in the stream.
  - `server_url` string, required
  - `server_label` string, required
  - `organization_id` string, uuid, required
  - `workspace_id` string, uuid
  - `user_id` string, uuid, required
  - `authentication_type` 'none' | 'token-api' | 'custom-header' — An enumeration.
  - `auth_header_name` string
  - `auth_secret_key` string
  - `allowed_tools` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ai21/apis/ai21-studio-api.md) · [All operations](https://skmtc.net/ai21/apis/ai21-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ai21/ai21-studio-api/versions/4cf5219c90d1/schema)
