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

# Update Mcp Server

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

## Path parameters

- `server_id` string, required

## Request body

- MCPServerUpdate — Patch payload for an MCP server spec. All fields optional — unset = unchanged.
  - `cmd` string[], nullable
  - `description` string, nullable
  - `docker_image_url` string, nullable
  - `env_schema` object[], nullable
  - `is_public` boolean, nullable
  - `json_spec` object, nullable
  - `name` string, nullable
  - `registry_url` string, nullable
  - `remote_url` string, nullable
  - `status` string, nullable — Lifecycle status of the spec (e.g. 'active', 'deprecated').
  - `tags` string[], nullable
  - `version` string, nullable

## Response `200`

Successful Response

- MCPServerResponse
  - `cmd` string[], nullable, required
  - `created_at` string, required
  - `description` string, required
  - `docker_image_url` string, nullable
  - `env_schema` object[], required
  - `id` string, uuid, required
  - `is_public` boolean, required
  - `json_spec` object, nullable
  - `name` string, required
  - `registry_url` string, nullable
  - `remote_url` string, nullable
  - `slug` string, required
  - `status` string, required
  - `tags` string[], required
  - `updated_at` string, required
  - `version` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-08** `8940d7f77282` — 2 breaking
  - the `created_at` response's property type/format changed from `string`/`date-time` to `string`/`` for status `200`
  - the `updated_at` response's property type/format changed from `string`/`date-time` to `string`/`` for status `200`
- **2026-06-18** `dad98bb65260` — 2 breaking, 2 info
  - the response property `docker_image_url` became optional for the status `200`
  - response property `docker_image_url` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - for the `path` request parameter `server_id`, the type/format was generalized from `string`/`uuid` to `string`/``
  - added the required property `slug` to the response with the `200` status
- **2026-04-29** `e1a530c0a2d5` — 1 breaking, 1 warning, 7 info
  - the `name/anyOf[subschema #1]/` request property's minLength was increased from `0` to `1`
  - the `name/anyOf[subschema #1]/` request property's maxLength was set to `255`
  - added the new optional request property `env_schema`
  - added the new optional request property `json_spec`
  - …5 more
- **2026-03-30** `e9c153221160` — 2 breaking, 7 warning, 3 info
  - for the `path` request parameter `server_id`, the type/format was changed from `string`/`` to `string`/`uuid`
  - removed the required property `slug` from the response with the `200` status
  - removed the request property `env_schema`
  - removed the request property `json_spec`
  - …8 more

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/mcp-servers/:server_id/patch.md)

---

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