Command

nylas mcp serve

The nylas mcp serve command starts a Model Context Protocol server that exposes Nylas email, calendar, and contacts as tools for AI assistants. Choose --transport stdio for direct piping to Claude Code, Cursor, or VS Code, or --transport sse for network-based connections. The server registers tools like send_email, list_events, and search_contacts that AI agents can call.

Usage

nylas mcp serve [--transport stdio|sse] [--port PORT]

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
--portPort for SSE transport (default: 3100)
--transportTransport mode: stdio or sse (default: stdio)

Examples

Start in stdio mode for Claude Code

nylas mcp serve --transport stdio

Start SSE server on a custom port

nylas mcp serve --transport sse --port 3200

Troubleshooting

MCP server exits immediately

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

AI assistant can't connect to SSE server

Verify the port is not blocked by a firewall. Check that the assistant's MCP config points to http://localhost:PORT/sse.

Recommended guides

Build an AI Email Triage Agent

Build an AI agent that reads your inbox, classifies emails by urgency, drafts replies, and archives noise. Python + Nylas CLI + any LLM.

Nylas CLI vs Recall.ai for AI Agent Email

Compare Nylas CLI and Recall.ai for AI agent email access. One handles email and calendar, the other handles meeting recordings. Pick the right tool.

Email APIs for AI Agents Compared

Compare Gmail API, Microsoft Graph, SendGrid, Mailgun, Nylas, and direct IMAP for giving AI agents email access. Feature table included.

Give Your AI Coding Agent an Email Address

Connect Claude Code, Cursor, OpenAI Codex CLI, Windsurf, and OpenClaw to a real email account via MCP. Step-by-step setup for each tool using Nylas CLI.

manus-mcp-cli: Email and Calendar MCP for Manus

Configure manus-mcp-cli to register MCP servers, send email, set up Gmail and Yahoo providers, and connect Nylas CLI as an MCP server for Manus AI.

How to Send Email from the Manus AI Sandbox

Send email from the Manus AI sandbox using Nylas CLI. Install in one command, authenticate with the Nylas API, and send to any external address.

Draft Personalized Emails with Manus AI

Use Manus AI to draft personalized emails at scale with Nylas CLI. Feed a contact list, review AI-generated drafts, then send in one command.

Sync Email to CRM with Manus AI

Use Manus AI and Nylas CLI to extract contacts from your inbox, enrich them, and sync to Salesforce, HubSpot, or Pipedrive. No code, no manual data entry.

Email Analytics with Manus AI

Analyze email patterns with Manus AI and Nylas CLI — volume by sender, response times, busiest hours, unread trends, and weekly reports.

Manus AI Email Research Agent

Use Manus AI to deep-search your inbox, summarize email threads, extract decisions, and compile research — all powered by Nylas CLI email commands.

Manus AI Meeting Scheduler with Nylas CLI

Schedule meetings with natural language using Manus AI and Nylas CLI. Check availability, find mutual times, and create calendar events.

Automate Email with Manus AI: Beginner Guide

Get started with Manus AI and Nylas CLI in five minutes. Send your first email, read your inbox, and search messages — all through natural language prompts.

Manus AI vs Claude Code for Email Automation

Side-by-side comparison of Manus AI Skills and Claude Code MCP for email and calendar automation. Same Nylas CLI commands, different agent runtimes.

Build an Email Support Agent with Manus AI

Build a no-code email support agent with Manus AI and Nylas CLI. Poll your inbox, match against a knowledge base, draft replies, and send with human approval.

Manus AI Inbox Zero with Nylas CLI

Reach inbox zero with Manus AI. Triage unread email, categorize by urgency, draft replies, and archive — all via natural language and Nylas CLI.

Mail Manus: Automate Email with Nylas CLI

Mail Manus forwards emails to your Manus agent for action. Add the Nylas CLI Skill for multi-provider inbox access, smart compose, calendar, and search.

Connect Voice Agents to Email and Calendar

Bridge LiveKit, Vapi, or any voice agent framework to email and calendar using Nylas CLI as a subprocess. Complete Python examples.

Design Email Systems for AI Agents: Structured Formats and Machine-Readable Templates

How to design email workflows that AI agents can parse reliably. Structured JSON output, machine-readable templates, agent-friendly headers, and MCP server integration.

Why Gmail API Breaks AI Agents

Gmail API wasn't built for agents. OAuth, token refresh, rate limits, and consent screens create friction. Nylas CLI abstracts it all away.

Email as Memory for AI Agents

Use email as persistent memory for AI agents — semantic, episodic, and procedural. Search, retrieve, and reason over conversation history with Nylas CLI.

Why AI Agents Need Email Addresses: Identity, Verification, and Agent-to-Agent Communication

AI agents use email as their primary identity on the internet. Signups, OTP verification, agent-to-agent messaging, and identity trust chains.

Why AI Agents Need Email

AI agents need email for authentication, two-way communication, and audit trails. See how Nylas CLI gives agents full inbox access in a single command.

AI Agent Audit Logs with Nylas CLI

Track every action Claude Code, GitHub Copilot, and MCP agents take with Nylas CLI audit logs. Automatic source detection and compliance exports.

Create a Manus Skill for Email and Calendar

Build a Manus AI Skill that gives your agent email and calendar access using Nylas CLI as the execution layer. Covers SKILL.md format, scripts, and setup.

Nylas CLI with OpenClaw Personal Assistant

Connect Nylas CLI to OpenClaw so your self-hosted AI assistant can read, send, and schedule email and calendar events from WhatsApp, Telegram, or Discord.

Manage Calendar from the Terminal

Create, list, update, and delete calendar events from your terminal with Nylas CLI. DST-aware scheduling, timezone conversion, and AI-powered meeting finder.

Give AI Agents Email Access via MCP

Set up Nylas CLI as an MCP server so Claude, Cursor, Windsurf, and VS Code can read, send, and schedule email and calendar events in one command.

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