Command

nylas mcp serve

Start the Nylas MCP server for AI assistant integration.

Written by Qasim Muhammad Staff SRE

What does nylas mcp serve do?

The nylas mcp serve command starts a Model Context Protocol server that proxies the official Nylas MCP server, exposing email, calendar, and contacts tools to AI assistants such as Claude Code, Cursor, and VS Code. It communicates over STDIO, injects your grant ID automatically, and handles credentials via the system keyring. Run nylas auth login first, or use nylas mcp install to wire it into a client.

Usage

nylas mcp serve

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas mcp serve command starts a Model Context Protocol server that proxies the official Nylas MCP server, exposing email, calendar, and contacts tools to AI assistants such as Claude Code, Cursor, and VS Code.

Start the MCP server (STDIO)

nylas mcp serve

Auto-configure an AI assistant instead of running manually

nylas mcp install

Example output

Starting Nylas MCP server (STDIO)...
  Upstream: Nylas MCP server
  Tools discovered: email, calendar, contacts

Server ready. Waiting for client requests on stdin/stdout.

Troubleshooting

MCP server exits immediately

Run nylas auth login first. The MCP server needs valid credentials to register tools.

AI assistant doesn't see the Nylas tools

Confirm the client's MCP config runs `nylas mcp serve` over STDIO. Use nylas mcp status to check the installation, or nylas mcp install to (re)configure it.

Recommended guides

Run nylas mcp serve --help for full help output.