---
title: "Update MCP server"
method: PATCH
path: "/api/v1/orgs/{org}/mcp-servers/{ref}"
tags: ["MCP servers"]
---

# Update MCP server

`PATCH /api/v1/orgs/{org}/mcp-servers/{ref}`

## Request

- Base URL: `https://agents.withgauge.com`
- URL: `https://agents.withgauge.com/api/v1/orgs/{org}/mcp-servers/{ref}`
- Auth: HTTP bearer

Update MCP server for an organization. The organization can be addressed by slug or public ID.

## Path parameters

- `org` string, required
- `ref` string, required

## Request body

- object

## Response `200`

Successful response

- object

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `409`: Request conflict
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/withgauge/apis/gauge-api.md) - [All operations](https://skmtc.dev/withgauge/apis/gauge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withgauge/apis/gauge-api/revisions/e987a07ca222?raw)
