---
title: "Update an MCP server configuration"
method: PATCH
path: "/api/v1/mcp-servers/{id}"
tags: ["mcp-servers"]
---

# Update an MCP server configuration

`PATCH /api/v1/mcp-servers/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateMcpServerDto
  - `name` string
  - `description` string, nullable
  - `transportType` 'http' | 'stdio'
  - `endpoint` string, uri, nullable
  - `command` string, nullable
  - `args` string[], nullable
  - `headers` object, nullable
  - `healthCheckUrl` string, uri, nullable
  - `enabled` boolean

## Response `200`

- McpServerResponseDto
  - `id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `transportType` 'http' | 'stdio', required
  - `endpoint` string, nullable, required
  - `command` string, nullable, required
  - `args` string[], nullable, required
  - `hasHeaders` boolean, required
  - `headerKeys` string[], nullable, required
  - `enabled` boolean, required
  - `healthCheckUrl` string, nullable, required
  - `lastHealthCheck` string, date-time, nullable, required
  - `lastHealthStatus` 'healthy' | 'unhealthy' | 'unknown', nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `groupId` string, nullable, required

## Changes

- **2026-02-04** `e9f8ffc0b4ff` — 2 breaking, 2 info
  - removed the enum value `sse` of the request property `transportType`
  - removed the enum value `websocket` of the request property `transportType`
  - removed the `sse` enum value from the `transportType` response property for the response status `200`
  - removed the `websocket` enum value from the `transportType` response property for the response status `200`
- **2026-02-03** `1c925b8c211d` — 13 breaking, 17 info
  - the `command` request property's minLength was increased from `0` to `1`
  - the `name` request property's minLength was increased from `0` to `1`
  - added 'propertyNames' constraint to the request property `headers`
  - the `endpoint` request property type/format changed from `string`/`` to `string`/`uri`
  - …26 more
- **2026-02-03** `4b54e651bd84` — 1 info
  - added the optional property `groupId` to the response with the `200` status
- **2026-02-02** `0c1badf65004` — 1 info
  - endpoint added
- **2026-02-02** `321c48cce199` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/changes/api/v1/mcp-servers/:id/patch.md)

---

[API](https://skmtc.dev/shipsecai/apis/shipsec-studio-api.md) · [All operations](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shipsecai/shipsec-studio-api/revisions/d70838e27152/schema)
