Nylas MCP by usefulapi

v1.42.1
io.usefulapi/nylas Checked 2 days ago Published 1 day ago

MCP server for Nylas — read email, calendars, events and contacts, and send email or create events.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nylas_list_grants List grants (connected accounts)

List the connected accounts (grants) on this Nylas application, each with a grant_id used to scope other tools. Not grant-scoped. Nylas v3: GET /v3/grants.

ParameterTypeDescription
limitintegerMax grants to return.
offsetintegerPagination offset.

nylas_get_grant Get a grant

Get details for a single connected account (grant). Nylas v3: GET /v3/grants/{grant_id}.

ParameterTypeDescription
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_list_messages List messages

List email messages for the connected account, with optional filters. Replies with full message bodies are large and get cut off: pass select (e.g. id,thread_id,subject,from,to,date,snippet,unread,folders) and a limit of about 20 (the default is 10 when no limit is given), then read single messages with nylas_get_message. Narrow by date with received_after / received_before rather than search_query_native: native search runs in the mail provider and can take over a minute on a large mailbox. For Google and Microsoft accounts, search_query_native can be combined only with in, limit and page_tok…

ParameterTypeDescription
any_emailstringComma-separated email addresses (up to 25); matches To, From, CC or BCC.
fromstringFilter by sender email address.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
has_attachmentbooleanIf true, only messages with attachments.
instringFilter by folder id.
limitintegerMax messages to return. Default 10 when omitted (full message bodies are large); page with page_token for more.
page_tokenstringPagination cursor (next_cursor from a prior page).
received_afterintegerOnly messages received after this time, in Unix seconds (e.g. 1763769600 = 2025-11-22T00:00:00Z).
received_beforeintegerOnly messages received before this time, in Unix seconds.
search_query_nativestringProvider-native search query (Gmail operators, Microsoft KQL, or IMAP SEARCH). Google and Microsoft: combine only with in, limit and page_token. Can be slow on large mailboxes.
selectstringComma-separated top-level fields to return, e.g. id,thread_id,subject,from,to,date,snippet,unread,folders. Keeps replies small.
starredbooleanIf set, filter by starred status.
subjectstringFilter by subject.
tostringFilter by recipient email address.
unreadbooleanIf set, filter by unread status.

nylas_get_message Get a message

Get a single email message by id. Nylas v3: GET /v3/grants/{grant_id}/messages/{message_id}.

ParameterTypeDescription
message_id *stringThe message id to fetch.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_list_folders List folders

List mail folders/labels for the connected account. Nylas v3: GET /v3/grants/{grant_id}/folders.

ParameterTypeDescription
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
limitintegerMax folders to return.

nylas_list_calendars List calendars

List calendars for the connected account (each has a calendar_id used by the events tools). Nylas v3: GET /v3/grants/{grant_id}/calendars.

ParameterTypeDescription
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
limitintegerMax calendars to return.
page_tokenstringPagination cursor (next_cursor from a prior page).

nylas_get_calendar Get a calendar

Get a single calendar by id. Nylas v3: GET /v3/grants/{grant_id}/calendars/{calendar_id}.

ParameterTypeDescription
calendar_id *stringThe calendar id to fetch.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_list_events List events

List calendar events. Requires calendar_id (sent as a query param). Nylas v3: GET /v3/grants/{grant_id}/events.

ParameterTypeDescription
calendar_id *stringREQUIRED. The calendar id (sent as a query param).
endintegerFilter: latest event start, Unix timestamp (seconds).
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
limitintegerMax events to return.
page_tokenstringPagination cursor (next_cursor from a prior page).
show_cancelledbooleanInclude cancelled events.
startintegerFilter: earliest event start, Unix timestamp (seconds).

nylas_get_event Get an event

Get a single calendar event by id. Requires calendar_id (sent as a query param). Nylas v3: GET /v3/grants/{grant_id}/events/{event_id}.

ParameterTypeDescription
calendar_id *stringREQUIRED. The calendar id (sent as a query param).
event_id *stringThe event id to fetch.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_list_contacts List contacts

List contacts for the connected account, with optional email/phone filters. Nylas v3: GET /v3/grants/{grant_id}/contacts.

ParameterTypeDescription
emailstringFilter by email address.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
limitintegerMax contacts to return.
page_tokenstringPagination cursor (next_cursor from a prior page).
phone_numberstringFilter by phone number.

nylas_get_contact Get a contact

Get a single contact by id. Nylas v3: GET /v3/grants/{grant_id}/contacts/{contact_id}.

ParameterTypeDescription
contact_id *stringThe contact id to fetch.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_list_drafts List drafts

List draft emails for the connected account. Nylas v3: GET /v3/grants/{grant_id}/drafts.

ParameterTypeDescription
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
limitintegerMax drafts to return.
page_tokenstringPagination cursor (next_cursor from a prior page).

nylas_list_notetakers List notetakers

List Nylas Notetaker bots on the connected account (meetings a bot joined or will join). Default 20 rows. Filter by state, e.g. media_available. Read a bot's media links with nylas_get_notetaker_media. Nylas v3: GET /v3/grants/{grant_id}/notetakers.

ParameterTypeDescription
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
join_time_endintegerOnly bots that join at or before this Unix time (seconds).
join_time_startintegerOnly bots that join at or after this Unix time (seconds).
limitintegerMax bots to return. Default 20.
page_tokenstringPagination cursor (next_cursor from a prior page).
statestringOnly bots in this state, e.g. media_available.

nylas_get_notetaker Get a notetaker

Get one Notetaker bot by id: its meeting link, join time and state. Nylas v3: GET /v3/grants/{grant_id}/notetakers/{notetaker_id}.

ParameterTypeDescription
notetaker_id *stringThe Notetaker bot id to fetch.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_get_notetaker_media Get notetaker media links

Get download links for a Notetaker bot's recording, transcript, summary and action items, when Nylas made them. Links expire 60 minutes after they are generated; the files expire after their ttl. Nylas v3: GET /v3/grants/{grant_id}/notetakers/{notetaker_id}/media.

ParameterTypeDescription
notetaker_id *stringThe Notetaker bot id.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.

nylas_send_message Send an email

SENDS a real email via the connected account. This dispatches an actual message. Nylas v3: POST /v3/grants/{grant_id}/messages/send.

ParameterTypeDescription
to *arrayRecipient email addresses (array of strings).
bccarrayBCC email addresses (array of strings).
bodystringEmail body (HTML or plain text).
ccarrayCC email addresses (array of strings).
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
reply_to_message_idstringId of the message this is a reply to.
subjectstringEmail subject line.

nylas_create_event Create a calendar event

Creates a calendar event (may send invites to participants). Requires calendar_id (sent as a query param). Nylas v3: POST /v3/grants/{grant_id}/events.

ParameterTypeDescription
calendar_id *stringREQUIRED. The calendar id to create the event in (sent as a query param).
end_time *integerEvent end, Unix timestamp (seconds).
start_time *integerEvent start, Unix timestamp (seconds).
title *stringEvent title.
descriptionstringEvent description.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
locationstringEvent location.
participantsarrayParticipant email addresses (array of strings).

nylas_create_draft Create a draft email

Creates a draft email (does NOT send — safe/additive). Nylas v3: POST /v3/grants/{grant_id}/drafts.

ParameterTypeDescription
to *arrayRecipient email addresses (array of strings).
bccarrayBCC email addresses (array of strings).
bodystringEmail body (HTML or plain text).
ccarrayCC email addresses (array of strings).
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
subjectstringEmail subject line.

nylas_update_event Update a calendar event

WRITE: changes a calendar event. Ask the user before calling. Only the fields you pass change. Give start_time and end_time together. A reschedule reads the event first: it refuses all-day events and keeps the current time zones unless you pass start_timezone and end_timezone. description, when given, must contain the event's meeting URL and dial-in details (PIN, passcode, phone, meeting code) if the event has them, or the call is refused (Nylas clears them otherwise). participants, when given, replaces the whole list. Participants get update emails unless notify_participants is false (Microso…

ParameterTypeDescription
calendar_id *stringREQUIRED. The calendar id of the event (sent as a query param).
event_id *stringThe event id to update.
descriptionstringNew event description.
end_timeintegerNew end, Unix timestamp (seconds). Give with start_time.
end_timezonestringIANA time zone of end_time, e.g. Europe/Prague. Give with start_timezone.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
locationstringNew event location.
notify_participantsbooleanfalse = change the event without emailing participants (not on Microsoft or iCloud). Omit for the Nylas default (notify).
participantsarrayReplaces the participant list with these email addresses.
start_timeintegerNew start, Unix timestamp (seconds). Give with end_time.
start_timezonestringIANA time zone of start_time, e.g. Europe/Prague. Give with end_timezone.
titlestringNew event title.

nylas_delete_event Delete a calendar event

WRITE: deletes a calendar event. Without confirm: true it only reads the event and returns it as a preview; nothing is deleted. Show the preview to the user and ask before calling with confirm: true. Requires calendar_id. notify_participants false is rejected on Microsoft (HTTP 400) and ignored on iCloud, which always notifies. If the event is deleted but its Zoom meeting cleanup fails, the reply still says deleted, with a note. Nylas v3: GET, then DELETE /v3/grants/{grant_id}/events/{event_id}.

ParameterTypeDescription
calendar_id *stringREQUIRED. The calendar id of the event (sent as a query param).
event_id *stringThe event id to delete.
confirmbooleanSet true only after the user approves the preview.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
notify_participantsbooleanfalse = delete without emailing participants (not on Microsoft or iCloud). Omit for the Nylas default (notify).

nylas_invite_notetaker Invite a notetaker to a meeting

WRITE: sends a Nylas Notetaker bot into a meeting (Google Meet, Microsoft Teams or Zoom). The bot records and transcribes the meeting. By default it posts a recording notice in the meeting chat; a custom announcement from the grant configuration can replace that notice. Without confirm: true it only returns the request; nothing is sent. Ask the user before calling with confirm: true. Nylas v3: POST /v3/grants/{grant_id}/notetakers.

ParameterTypeDescription
meeting_link *stringMeeting invitation link (Google Meet, Microsoft Teams or Zoom).
config_idstringSaved Notetaker configuration id. Cannot be combined with the settings below.
confirmbooleanSet true only after the user approves the request.
grant_idstringConnected-account grant id. Overrides NYLAS_GRANT_ID for this call.
join_timeintegerWhen the bot joins, Unix timestamp (seconds). Omit to join now.
notetaker_namestringDisplay name the bot shows in the meeting.
recording_typestringaudio_video records video and audio (MP4); audio records audio only (MP3).
transcriptionbooleantrue = transcribe the meeting.