> 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
