> 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="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FVhsc79Cf0gPqMJ15gwr9%2Fgenerate%20mcp%20key%200.png?alt=media&amp;token=2dc59e47-7de8-478c-a8f1-b6bdd541dda2" alt=""><figcaption></figcaption></figure></div>

Then select the `MCP servers` option:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FlKy4enDtgZeiUA1v8fCP%2Fdeploy%20server%201.png?alt=media&amp;token=feb0d273-53b5-4c02-ac57-d5ef39de766a" 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="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FNugiBYyvk9RKyplc73OX%2Fdelete%20deployment%20a.png?alt=media&amp;token=2e4125c4-057f-407d-97e3-7b9aeba8eba6" alt=""><figcaption></figcaption></figure>

Then select the `delete` option:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FyHKvO6fvZ8d0k1KFEE2T%2Fdelete%20deployment%20b.png?alt=media&amp;token=cc59757c-7df6-4e1c-85af-d18ceaa872d7" 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 %}
