---
title: "Create MCP server"
method: POST
path: "/api/v1/mcp-servers"
tags: ["mcp_servers"]
---

# Create MCP server

`POST /api/v1/mcp-servers`

## Request

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

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Request body

- CreateMcpServerRequest
  - `name` string, required
  - `description` string, nullable
  - `transport` string, required
  - `url` string, required
  - `headers` object, nullable
  - `timeout_seconds` integer, nullable
  - `enabled` boolean

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/komos/apis/komos-backend.md) · [All operations](https://skmtc.dev/komos/apis/komos-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/komos/apis/komos-backend/revisions/f10e153fab38?raw)
