---
title: "Update MCP status"
method: POST
path: "/api/mcp/public/{id}/status"
tags: ["mcp"]
---

# Update MCP status

`POST /api/mcp/public/{id}/status`

Update the status of an MCP

## Path parameters

- `id` string, required

## Request body

- ControllerUpdatePublicMCPStatusRequest
  - `status` 1 | 2

## Response `200`

OK

- MiddlewareAPIResponse
  - `data` unknown
  - `message` string
  - `success` boolean

## Changes

- **2025-05-26** `fb33182ee5b6` — 1 info
  - endpoint added
- **2025-05-23** `544096a3f194` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/mcp/public/:id/status/post.md)

---

[API](https://skmtc.dev/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/revisions/696faf563b42/schema)
