DEV Community

Qasim Muhammad
Qasim Muhammad

Posted on

How nylas mcp uninstall Works: Remove MCP integration from an AI assistant

The Model Context Protocol lets AI agents read email, create events, and search contacts. nylas mcp uninstall is part of that setup.

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.

Syntax

nylas mcp uninstall --assistant ASSISTANT
Enter fullscreen mode Exit fullscreen mode

Examples

Uninstall from Claude Code:

nylas mcp uninstall --assistant claude-code
Enter fullscreen mode Exit fullscreen mode

Uninstall from Cursor:

nylas mcp uninstall --assistant cursor
Enter fullscreen mode Exit fullscreen mode

How It Works

MCP (Model Context Protocol) is an open standard from Anthropic. It defines how AI assistants discover and call external tools. The Nylas MCP server registers email, calendar, and contact operations as tools — your assistant sees them in its tool palette automatically.

Tips

CI/CD ready: This command works in non-interactive mode. Set NYLAS_API_KEY as an environment variable and it picks up credentials automatically.

Pipe to jq: nylas mcp uninstall --json | jq '.' gives you structured data you can filter and transform.


Full docs: nylas mcp uninstall reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylasother install methods

Top comments (0)