---
title: "Uninstall MCP server for an agent"
method: DELETE
path: "/api/mcp-servers/{id}/install/{agentId}"
tags: ["MCP Servers"]
---

# Uninstall MCP server for an agent

`DELETE /api/mcp-servers/{id}/install/{agentId}`

## Path parameters

- `id` string, required
- `agentId` string, required

## Response `200`

MCP server uninstalled

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
