---
title: "Update"
method: PATCH
path: "/mcp-server/instance/{instanceId}"
tags: ["mcp-server"]
---

# Update

`PATCH /mcp-server/instance/{instanceId}`

Updates the settings of a specific server connection instance.
Currently supports updating the read-only status of the connection.

## Path parameters

- `instanceId` string, uuid, required — The ID of the connection integration instance to update.

## Request body

- UpdateServerInstanceRequest
  - `isReadOnly` boolean, nullable — Whether the MCP server connection is read-only. When true, write operations will be restricted.

## Response `200`

Successful Response

- UpdateServerInstanceResponse
  - `instanceId` string, required — The unique identifier of the updated connection integration instance.
  - `isReadOnly` boolean, required — The current read-only status of the connection.
  - `message` string, required — A message indicating the result of the update operation.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/klavis-ai/apis/klavis-ai-https-www-klavis-ai.md) · [All operations](https://skmtc.net/klavis-ai/apis/klavis-ai-https-www-klavis-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/klavis-ai/klavis-ai-https-www-klavis-ai/versions/1f05ced7280f/schema)
