> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/working-with-your-hosted-patchworks-mcp-server-deployment/deleting-your-patchworks-mcp-server-deployment.md).

# Deleting your Patchworks MCP server deployment

## Introduction

If necessary, you can delete any version of a hosted Patchworks MCP server, irrespective of status (`draft`, `deployed`, or `inactive`). To do this, follow the steps detailed here.

## Need to know

* To delete a `deployed` version, you must [undeploy](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/working-with-your-hosted-patchworks-mcp-server-deployment/undeploying-your-patchworks-mcp-server.md) it first.
* A deleted MCP server version cannot be restored.

## The steps

{% stepper %}
{% step %}
**Access your MCP server deployments**

Select the `settings` option (at the bottom of the navigation menu):

<div align="left"><figure><img src="/files/2CflJsyeX7pwhkBMYz1t" alt=""><figcaption></figcaption></figure></div>

Then select the `MCP servers` option:

<figure><img src="/files/ex9d8TO1FbjQzcLvwHxx" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Deploy the draft**

Click the ellipsis icon for the entry you want to remove. For example:

<figure><img src="/files/HFPYW3wkf0aSbpSxTVJ3" alt=""><figcaption></figcaption></figure>

Then select the `delete` option:

<figure><img src="/files/CgwREJurTu22EvfSrkdg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The delete option isn't shown for a deployed version - in this case, you must [undeploy](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/working-with-your-hosted-patchworks-mcp-server-deployment/undeploying-your-patchworks-mcp-server.md) it first.
{% endhint %}

The selected entry is removed immediately.
{% endstep %}
{% endstepper %}
