---
title: "Update Mcp Server"
method: PATCH
path: "/api/mcp/servers/{server_id}"
tags: ["mcp-client"]
---

# Update Mcp Server

`PATCH /api/mcp/servers/{server_id}`

## 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/{server_id}`
- Auth: none declared

## Path parameters

- `server_id` string, uuid, required

## Cookies

- `session` string, nullable

## Request body

- McpServerUpdate
  - `name` string, nullable
  - `url` string, nullable
  - `auth` McpAuthConfig
    - `type` 'none' | 'bearer' | 'headers' | 'oauth'
    - `token` string, nullable
    - `headers` object, nullable
    - `client_id` string, nullable
    - `client_secret` string, nullable
  - `enabled` boolean, nullable

## Response `200`

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)
