Nylas CLI logo

Nylas CLI

Free

邮件、日历和联系人 MCP 服务器。一次身份验证即可覆盖 Gmail、Outlook、Exchange、Yahoo、iCloud 和 IMAP 共六大邮件服务商的 16 个工具。`nylas mcp install` 一键安装。

FreeFree tier
Inputs: textOutputs: text
Type
Open Source
Company
Nylas

About Nylas CLI

Nylas CLI is a unified command-line tool for managing email, calendar, and contacts from the terminal. It provides a single interface for Google, Microsoft, and IMAP accounts, eliminating the need for SMTP configuration, provider SDKs, or boilerplate. The CLI includes an interactive setup wizard, secure API key storage in the system keyring, and supports sending/reading/searching emails, managing calendar events and availability, creating contacts, and handling webhooks. Additional features include offline timezone utilities (time conversion, DST transitions, meeting time finder), an AI MCP integration for giving coding agents access to personal data, a terminal UI (TUI) with vim keys and 9 themes, and a demo mode that requires no account. It is open source and cross-platform (Homebrew, Go install, binary, Docker).

Key Features

Single CLI for Google, Microsoft, and IMAP accounts
Interactive setup wizard with account creation, app selection, and API key storage in system keyring
Email management: list, read, send, search
Calendar events listing and availability checking
AI-powered scheduling via `nylas scheduler`
Contacts list and creation
Webhook management (list, create)
Offline timezone tools: convert time, DST transitions, find meeting times
Two interfaces: standard CLI and TUI with vim keys and 9 themes
AI MCP Integration: start an MCP server for AI agents to access email/calendar/contacts

Pros & Cons

Pros
  • Unifies multiple email providers under a single CLI interface
  • No SMTP configuration, provider SDKs, or boilerplate required
  • Open source and free to use
  • Provides both CLI and TUI with vim keys for power users
  • Timezone tools work offline and require no API key
  • Includes a demo mode to explore features without creating an account
Cons
  • Requires a Nylas account and API key for most functionality (except timezone tools and demo mode)
  • Internet connection needed for syncing emails, calendars, and contacts
  • Limited to email, calendar, and contacts; does not offer broader task automation

Best For

Manage emails, calendar events, and contacts directly from the terminal without leaving the workflowSchedule meetings and check availability using AI-powered schedulingIntegrate email/calendar/contacts into AI coding agents via MCP

FAQ

How do I install Nylas CLI?
You can install via Homebrew on macOS/Linux: `brew install nylas/nylas-cli/nylas`, via Go: `go install github.com/nylas/cli/cmd/nylas@latest`, download a binary from the Releases page, or use Docker: `docker run --rm ghcr.io/nylas/cli:latest --version`.
How do I get started with Nylas CLI?
Run `nylas init` to start the interactive setup wizard. It will guide you through creating or logging into a Nylas account, selecting or creating an application, generating and storing an API key, and syncing connected email accounts. Alternatively, use `nylas init --api-key <key>` to skip the wizard.
Does Nylas CLI support AI integration?
Yes, Nylas CLI includes an AI MCP integration. Run `nylas mcp` to start an MCP server that gives AI coding agents access to your email, calendar, and contacts.