Skip to content
Skip to main content

Nylas MCP server

The Nylas MCP server gives AI agents typed tools for email, calendar, and contacts — no SDK integration or API calls required. Your agent asks to “list my emails” or “create an event,” and the MCP server handles the Nylas API calls.

Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, OpenAI Codex CLI, and more.

Run In Postman

You need a Nylas API key and a connected account (grant). If you haven’t set these up yet:

If you have the Nylas CLI installed, one command registers the MCP server with your agent:

Verify it’s running:

nylas mcp status

That’s it. Your agent now has access to 16 email, calendar, and contacts tools. Skip to available tools to see what’s included.

If you’re not using the CLI, add the Nylas MCP server config to your tool’s config file. Replace <NYLAS_API_KEY> with your actual key.

After saving, restart your tool. Verify the connection:

  • Claude Desktop: Check Settings > Developer > Local MCP servers — Nylas should show as “running.”
  • Cursor: Check Settings > Tools & MCP — look for a green dot next to the Nylas server.

The MCP server URL depends on where your Nylas application stores data. Use the URL that matches your application’s data residency region.

RegionURL
US (default)https://mcp.us.nylas.com
EUhttps://mcp.eu.nylas.com

Authentication uses a Bearer token with your Nylas API key in the Authorization header — the same key you use for direct API calls.

The MCP server exposes these tools to your agent:

ToolWhat it does
list_messagesList and search email messages
list_threadsList and search email threads
create_draftCreate a draft email
update_draftEdit an existing draft
confirm_send_draftRequired before sending a draft (safety confirmation)
send_draftSend a previously created draft
confirm_send_messageRequired before sending a message (safety confirmation)
send_messageSend an email directly
get_folder_by_idGet folder details
list_calendarsList all calendars
list_eventsList events in a calendar
create_eventCreate a calendar event
update_eventUpdate an existing event
availabilityCheck availability across users
get_grantLook up a grant by email address
current_timeGet current Unix timestamp
epoch_to_datetimeConvert Unix timestamp to human-readable date

The MCP server enforces a 90-second timeout per request. Connections are stateless — each request is independent. Your client should handle timeouts gracefully and retry as needed.