---
title: "Remove a dynamically provisioned MCP server"
method: DELETE
path: "/api/mcp/provisioner/{serverId}"
tags: ["MCP Provisioner"]
---

# Remove a dynamically provisioned MCP server

`DELETE /api/mcp/provisioner/{serverId}`

## Request

- Base URL: `/api/plugins/consensys-asko11y-app/resources` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/plugins/consensys-asko11y-app/resources/api/mcp/provisioner/{serverId}`
- Auth: one of:
  - API key in cookie `grafana_session`
  - HTTP bearer

Admin-only. Detaches the server from the MCP proxy and deletes its persisted record and OAuth configuration.

## Path parameters

- `serverId` string, required

## Response `204`

Server removed

## Other responses

- `403`: Caller is not a Grafana Admin

## Changes

- **2026-08-25** `336f05fb2b50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/changes/api/mcp/provisioner/:serverId/delete.md)

---

[API](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) - [All operations](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/revisions/ee3ccd0f186d?raw)
