---
title: "Create Custom Mcp"
method: POST
path: "/api/custom-mcp"
---

# Create Custom Mcp

`POST /api/custom-mcp`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/custom-mcp`
- Auth: none declared

Create a new custom MCP server for the team.

## Request body

- CustomMCPRequest: Request body for creating a custom MCP server.
  - `name` string, required: Display name for the MCP server
  - `server_url` string, required: Streamable HTTP endpoint URL for the MCP server
  - `auth_header_name` string: Header name for authentication
  - `auth_header_value` string, required: Pre-shared secret or API key for authentication
  - `description` string, nullable: Description of what this MCP server does

## Response `200`

Successful Response

- CustomMCPResponse: Response model for a custom MCP server.
  - `id` string, required
  - `name` string, required
  - `server_url` string, required
  - `auth_header_name` string, required
  - `description` string, nullable, required
  - `is_enabled` boolean, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
