# ed mcp uninstall

> ed mcp uninstall in the Edith ed command line reference. Remove Edith's MCP server from a coding agent.

- Canonical URL: https://getedith.pro/docs/cli/mcp/uninstall
- Updated: 2026-12-02

Remove Edith's MCP server from a coding agent.

```sh
ed mcp uninstall --client <claude|codex|cursor|vscode|all> [--dry-run] [--command <path>] [--json]
```

It undoes [`ed mcp install`](https://getedith.pro/docs/cli/mcp/install) with the same rules, and Settings >
Agents runs the same code when you press Disconnect.

| Client | How it is removed |
| --- | --- |
| `claude` | `mcpServers.edith` is deleted from `~/.claude.json` |
| `codex` | `[mcp_servers.edith]` and its subtables are deleted from `~/.codex/config.toml` |
| `cursor` | `mcpServers.edith` is deleted from `~/.cursor/mcp.json` |
| `vscode` | `servers.edith` is deleted from its user `mcp.json` |

A client without an `edith` entry is left alone. Files are changed with the same
merge-safe write as `ed mcp install`.

`--dry-run` prints what would change and changes nothing. An edited file is first
copied to `<name>.edith-backup`, and other servers and settings are kept. A file
that is not plain JSON is left untouched and the command exits 1. Restart the
client afterwards.

`--json` reports the same shape as `ed mcp install --json`, with `action` set to
`removed`, `unchanged` or `skipped`.

## Related

- [`ed mcp install`](https://getedith.pro/docs/cli/mcp/install)
- [`ed mcp status`](https://getedith.pro/docs/cli/mcp/status)
- [`ed mcp`](https://getedith.pro/docs/cli/mcp)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
