Source: https://cli.nylas.com/docs/commands/mcp-uninstall

# nylas mcp uninstall

Remove MCP integration from an AI assistant.

Written by [Qasim Muhammad](https://cli.nylas.com/authors/qasim-muhammad) Staff SRE

Published February 13, 2026

Updated June 21, 2026

## What does nylas mcp uninstall do?

The nylas mcp uninstall command removes the Nylas MCP server configuration from a supported AI assistant. Pass --assistant to specify which one: claude-code, cursor, or vscode. The command deletes the MCP server entry from the assistant's config file so Nylas tools no longer appear.

## Usage

```bash
nylas mcp uninstall --assistant ASSISTANT
```

## Flags

| Flag | Description |
| --- | --- |
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --assistant | Target assistant: claude-code, cursor, or vscode |
| --all | Uninstall from all configured assistants |

## Examples

The nylas mcp uninstall command removes the Nylas MCP server configuration from a supported AI assistant.

### Uninstall from Claude Code

```bash
nylas mcp uninstall --assistant claude-code
```

### Uninstall from Cursor

```bash
nylas mcp uninstall --assistant cursor
```

## Example output

```text
✓ Removed Nylas MCP from Claude Desktop
  Config: /Users/you/Library/Application Support/Claude/claude_desktop_config.json

Restart Claude Desktop to apply the change.
```

## Troubleshooting

### Config file not found

The assistant may not be installed, or its config is in a non-default location. Check the assistant's docs for the config path.

### Nylas tools still appear after uninstall

Restart the AI assistant to reload its MCP configuration. Some assistants cache tool definitions.

## Related commands

[nylas mcp installInstall MCP configuration for AI assistants (Claude, Cursor, VS Code).](https://cli.nylas.com/docs/commands/mcp-install)

[nylas mcp serveStart the Nylas MCP server for AI assistant integration.](https://cli.nylas.com/docs/commands/mcp-serve)

[nylas mcp statusCheck the status of the Nylas MCP server.](https://cli.nylas.com/docs/commands/mcp-status)

## Recommended guides

[ai-catalog.json: Agent Discovery for Your SitePublish ai-catalog.json at /.well-known so AI agents can discover your MCP servers, APIs, and knowledge files. The draft Google-backed spec, schema, and a live example.](https://cli.nylas.com/guides/ai-catalog-json-agent-discovery)

[Build a Strands Email AgentGive a Strands Agents SDK agent email access using the Nylas CLI as a @tool. One function reaches Gmail, Outlook, and 4 more providers — no OAuth code needed.](https://cli.nylas.com/guides/strands-email-agent)

[Cloudflare Agents Email ToolsUse the Cloudflare Agents SDK to build a stateful email agent on Workers — connect to the Nylas MCP server over HTTP and call email tools in TypeScript.](https://cli.nylas.com/guides/cloudflare-agents-email)

[AI Calendar Assistant from the TerminalUse nylas calendar schedule ai and calendar ai for natural-language scheduling, focus-time protection, conflict resolution, and meeting-context extraction.](https://cli.nylas.com/guides/calendar-ai-assistant-cli)

[Set Up an MCP Calendar ServerExpose calendar tools to an AI client over MCP. Install nylas mcp, configure your assistant, and let it check availability and create events.](https://cli.nylas.com/guides/mcp-calendar-server-setup)

[Give an AI Agent Calendar AccessWrap nylas calendar availability and events as agent tools: read-only by default, draft-before-create for writes, and an OAuth scope the agent can&apos;t widen.](https://cli.nylas.com/guides/give-agent-calendar-access)

Run `nylas mcp uninstall --help` for full help output.
