---
title: "Update Server Handler"
method: PUT
path: "/api/mcp/servers/{name}"
tags: ["runtime_mutations", "mcp"]
---

# Update Server Handler

`PUT /api/mcp/servers/{name}`

Update an existing MCP server.

## Path parameters

- `name` string, required

## Request body

- UpdateServerRequest — Request to update an MCP server.
  - `config` MCPServerConfig, required — MCP server configuration matching Cursor schema.
    - `command` string, nullable
    - `args` string[]
    - `env` object
    - `url` string, nullable
    - `headers` object
    - `oauth` MCPOAuthClientConfig — An OAuth client Qualia was given, rather than one it registered itself. RFC 7591 dynamic client registration is how a remote MCP server normally gets a client identity here: the SDK registers one at connect time and stores what comes back. Some authorization servers do not offer it at all — GitHub's remote MCP server, Slack's, and Microsoft Entra, which requires the customer to register their own app — and against those the handshake fails during registration, before a browser ever opens. Naming a client that is already registered is the way through (QUA-3219).
      - `client_id` string, required
      - `client_secret` string, nullable
      - `redirect_uri` string, nullable
    - `enabled` boolean
    - `tool_call_timeout_seconds` number
    - `startup_timeout_seconds` number
    - `tool_permissions` object
  - `new_name` string, nullable

## Response `200`

Successful Response

- MCPServerResponse — Response containing server information.
  - `name` string, required
  - `status` string, required
  - `error_message` string, nullable
  - `tool_count` integer
  - `enabled` boolean
  - `managed` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-13** `9130e4640e24` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/mcp/servers/:name/put.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/d61e2ec5a271?raw)
