---
title: "Create Mcp Server"
method: POST
path: "/v1/mcp-servers"
tags: ["mcp-servers"]
---

# Create Mcp Server

`POST /v1/mcp-servers`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v1/mcp-servers`
- Auth: HTTP bearer

## Headers

- `mentium-workspace-id` string, nullable

## Request body

- McpServerCreateInput: Create a new external MCP server connection.
  - `name` string, required: Display name
  - `url` string, required: HTTPS endpoint of the MCP server
  - `api_key` string, nullable: Optional API key for authentication. Leave empty for no-auth servers.
  - `description` string, nullable

## Response `201`

Successful Response

- McpServerResponse: An MCP server connection with metadata.
  - `id` string, required
  - `integration_id` string, required
  - `name` string, nullable
  - `url` string, required
  - `description` string, nullable
  - `status` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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