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

# Create Custom Mcp

`POST /api/custom-mcp`

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.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/1af581120ec0/schema)
