MCP Gateway
ApiMcp servers

Delete an MCP server

Delete an MCP server by ID. For generated servers, also cleans up in-memory deployment and temporary files.

DELETE
/api/v1/servers/{server_id}

Path Parameters

server_id*string
Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://loading/api/v1/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}