---
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

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/versions/e3650e48373b/schema)
