Skip to content
Skip to main content

Sign in to the Nylas MCP server with OAuth

PlatformDashboard

The Nylas MCP server now supports OAuth. Add it to Claude Code, ChatGPT, Cursor, Codex CLI, or any other MCP client by URL, then sign in with your Nylas account. You don’t need to create or paste an API key.

  • Sign in with your Nylas account. Add https://mcp.us.nylas.com or https://mcp.eu.nylas.com to your client with no Authorization header. The client opens the Nylas Dashboard in your browser, where you choose an organization, pick up to 5 connected accounts, and choose Read only, Read and write, or custom permissions. Your Dashboard role caps the access you can give.
  • Limit a sign-in with an IAM principal. Organization owners and admins can pick an IAM principal when they sign in. The agent then gets only what both the sign-in and the principal allow.
  • Short-lived tokens. Access tokens last 15 minutes, and the client refreshes them until you disconnect it.

API keys still work. Use them for agents your backend hosts for your users, with one IAM API key per user bound to that user’s accounts, as shown in Limit an AI agent to one user’s accounts.

  • Nylas MCP server. The MCP server page now covers signing in and connecting with an API key separately, with setup for each client. The tools table shows which tools work with a sign-in. The page also explains when to use the Nylas CLI instead.
  • Claude Code and Codex CLI. The Claude Code and Codex CLI cookbook guides include the sign-in option.
  • New cookbook guides.