---
title: "Update Mcp Server"
method: PATCH
path: "/v1/mcp-servers/{connection_id}"
tags: ["mcp-servers"]
---

# Update Mcp Server

`PATCH /v1/mcp-servers/{connection_id}`

## 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/{connection_id}`
- Auth: HTTP bearer

## Path parameters

- `connection_id` string, required

## Headers

- `mentium-workspace-id` string, nullable

## Request body

- McpServerUpdateInput: Update an existing MCP server connection.
  - `name` string, nullable
  - `url` string, nullable
  - `api_key` string, nullable
  - `description` string, nullable

## Response `200`

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)
