---
title: "Add Mcp Server"
method: POST
path: "/api/products/{product_id}/mcp-servers"
tags: ["products"]
---

# Add Mcp Server

`POST /api/products/{product_id}/mcp-servers`

## Request

- Base URL: `https://api.usecrow.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usecrow.ai/api/products/{product_id}/mcp-servers`
- Auth: none declared. Required headers: `authorization`
- TypeScript: <https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/docs/api/products/:product_id/mcp-servers/post.ts> (a function with typed inputs; its response is checked against the schema)

Add an MCP server to product

Validates connection and discovers available tools before saving.
Can use a preset ID or custom configuration.

## Path parameters

- `product_id` string, required

## Headers

- `authorization` string, required

## Request body

- McpServerRequest
  - `name` string, required
  - `url` string, required
  - `transport` string
  - `headers` object, nullable
  - `header_mappings` McpServerHeaderMapping[], nullable
    - `header` string, required
    - `source` string, required
  - `preset` boolean
  - `oauth_provider` string, nullable
  - `enabled` boolean
  - `disabled_tools` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) - [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) - [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/b2950af46532?raw)
