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

# Create Mcp Server

`POST /api/mcp/servers`

## Request

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

## Cookies

- `session` string, nullable

## Request body

- McpServerCreate
  - `name` string, required
  - `url` string, required
  - `auth` McpAuthConfig
    - `type` 'none' | 'bearer' | 'headers' | 'oauth'
    - `token` string, nullable
    - `headers` object, nullable
    - `client_id` string, nullable
    - `client_secret` string, nullable
  - `scope` 'organisation' | 'personal'

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
