mcpField
N
nylas-cli

nylas-cli

github.com/nylasProductivity11302 installsUpdated 3w ago
Repository

About nylas-cli

nylas-cli is a terminal CLI for managing email, calendars, contacts, and meeting notes across Google, Microsoft, and IMAP workflows. It also includes agent account management and commands for configuring or running MCP.

Key features

  1. 01Email reading, sending, and search
  2. 02Calendar events and scheduling
  3. 03Contact and webhook management
  4. 04Agent account policies and rules
  5. 05MCP setup, status, and serving

Use cases

  1. 01Manage email and calendar from a terminal
  2. 02Organize managed email identities for AI agents
  3. 03Install or serve MCP for supported assistants

MCP support

Includes commands to install, inspect, and serve MCP for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, or all assistants.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nylas/skills --skill nylas-cli

After installing, type/nylas-cliin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
CLAUDE.md
LICENSE.txt
metadata.json
README.md
rules/
_sections.md
_template.md
advanced-commands.md
agent-commands.md
audit-commands.md
auth-commands.md
calendar-commands.md
contacts-commands.md
dashboard-commands.md
email-commands.md
mcp-ai-commands.md
notetaker-commands.md
otp-commands.md
setup-install.md
tools-interfaces.md
webhooks-commands.md

Details

From the project README

Nylas CLI Reference

Email, calendar, contacts, and Notetaker from your terminal. One CLI for Google, Microsoft, IMAP, and meeting-bot workflows.

Documentation

Official CLI docs source: https://cli.nylas.com/docs/commands. Use the bundled rule files below and AGENTS.md as the working reference for agent actions.

Rules

Read individual rule files for command references. For the full compiled reference, read AGENTS.md.

Setup & Configuration (CRITICAL)
  • rules/setup-install.md — Installation, init (with SSO shortcuts), global flags, config management, env vars, shell completion, self-update, nylas doctor diagnostics
Authentication (CRITICAL)
  • rules/auth-commands.md — Login, whoami, list, show, switch, logout, add/remove/revoke grants, token, scopes, providers, detect, migrate
Email (HIGH)
  • rules/email-commands.md — Read, send, search, mark, smart-compose, AI analyze, metadata, attachments, folders, threads, drafts, templates, scheduled
Calendar (HIGH)
Contacts (MEDIUM)
Agent Accounts (HIGH)
  • rules/agent-commands.md — Managed email identities for AI agents: nylas agent account|policy|rule|status and nylas workspace (groups accounts, attaches policies + condition/action rules)
Webhooks (HIGH)
Dashboard (MEDIUM)
MCP & AI (HIGH)
  • rules/mcp-ai-commands.md — MCP install/status/serve for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, or all assistants; AI config (usage/budget)
Notetaker (MEDIUM)
OTP Codes (MEDIUM)
  • rules/otp-commands.md — Retrieve/watch 2FA one-time-password codes from email: nylas otp get|watch|list|messages
Audit Logging (MEDIUM)
Tools & Interfaces (LOW)
Advanced Families (LOW)

Comments

Markdown supported