> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/ai/mcp/disable.md).

# Disable or delete an MCP integration

Turn an MCP integration off, or delete it.

**Where:** Project → Integrations → MCP → an integration → **Actions** · `/projects/<project>/ai/mcps/integrations/<integrationId>/edit`

## Before you start

* A disabled MCP server is no longer offered to the AI chat; questions that needed its tools get an answer without them.

## Steps

1. Open the integration, here `Browser` (Playwright), and open **Actions**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-1d8f0135192733b155fe51423bb07c722e16dea9%2Fmcp-disable-1.png?alt=media" alt="Editing Playwright integration with the Actions menu open: Disable, See Playwright documentation, See SDK documentation, See API documentation, Delete"><figcaption><p>The Actions menu.</p></figcaption></figure>
2. Press **Disable**. There is no confirmation: the badge turns **DISABLED**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-4f1ba31ea107b783dfeabde6a0f1869b0071f12c%2Fmcp-disable-2.png?alt=media" alt="Editing Playwright integration with the badge DISABLED"><figcaption><p>Disabled.</p></figcaption></figure>

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-bb99f0324886f46c86ca11fa1cde346e94c439ea%2Fmcp-disable-3.png?alt=media" alt="MCP list where Browser (Playwright, Stdio) shows Enabled False"><figcaption><p>The list after disable.</p></figcaption></figure>
3. To delete, open the integration (here `Repo helper`, GitHub), open **Actions**, press **Delete**, and confirm **Delete** in the **Delete Confirmation** dialog (*Are you sure you want to delete?*).

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-ba0a206842a25419aa4d827eb794ec1d4942720d%2Fmcp-disable-4.png?alt=media" alt="Delete Confirmation dialog over the GitHub integration: Are you sure you want to delete?"><figcaption><p>The delete dialog.</p></figcaption></figure>

## Result

A disabled integration stays in the list with **Enabled** `False`; **Enable** in the same menu turns it on again. After **Delete**, Cloud goes back to the list, shows *Integration deleted*, and the row and its stored secret are gone.

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-072f7df226d0965d6782daceca4b129b75f49286%2Fmcp-disable-5.png?alt=media" alt="MCP list without Repo helper; Browser still Enabled False"><figcaption><p>The list after delete.</p></figcaption></figure>

## Change or remove it later

* **Enable** — the same **Actions** menu.
* A deleted integration is gone: [connect the server](/codemash/cloud/ai/mcp/providers.md) again.

## Do it from code

```ts
await norbix.hub.ai.disableMcpIntegration({ id });  // the chat stops offering its tools
await norbix.hub.ai.deleteMcpIntegration({ id });   // remove it for good
```

```sh
norbix hub ai mcp integration disable --id int_7EUEKedn7y8F8N2JMxrWaQ --yes
```

`norbix hub ai mcp integration enable …` turns it on again. The client setup is on the [AI page](/codemash/cloud/ai.md#use-it-from-code). API: [Disable Mcp Integration](/codemash/api-reference/ai/integrations/disable-mcp-integration.md) · [Enable Mcp Integration](/codemash/api-reference/ai/integrations/enable-mcp-integration.md) · [Delete Mcp Integration](/codemash/api-reference/ai/integrations/delete-mcp-integration.md)
