Nylas API MCP Server (Experimental)
Experimental - Model Context Protocol (MCP) server for the Nylas API
Overview
The Nylas API MCP Server is an experimental implementation of the Model Context Protocol (MCP) designed to facilitate integration with the Nylas API, which provides functionalities for email, calendar, and contacts.
To use the Nylas API MCP Server, clone the repository, install the dependencies, and run the server either in stdio mode for direct integration or in HTTP mode for remote connections.
- Comprehensive documentation on Nylas API endpoints and authentication. - Ready-to-use code samples in multiple programming languages (Node.js, Python, Java, Ruby). - Interactive tools for generating authentication and endpoint-specific code. - Pre-built prompts for common integration scenarios.
- Integrating email functionalities into applications.
- Building calendar booking systems.
- Managing contacts through API calls.
Add to your AI client
Use these steps to connect Nylas API MCP Server (Experimental) in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"nylas-api-mcp-nylas-samples": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nylas-api-mcp-nylas-samples"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"nylas-api-mcp-nylas-samples": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nylas-api-mcp-nylas-samples"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"nylas-api-mcp-nylas-samples": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nylas-api-mcp-nylas-samples"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"nylas-api-mcp-nylas-samples": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nylas-api-mcp-nylas-samples"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nylas-api-mcp-nylas-samples": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nylas-api-mcp-nylas-samples"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"nylas-api-mcp-nylas-samples": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nylas-api-mcp-nylas-samples"
]
}
}
}FAQ
Is this project officially supported by Nylas?
No, this is an experimental project and not officially supported by Nylas.
What programming languages are supported?
The server provides code samples in Node.js, Python, Java, and Ruby.
Can I contribute to this project?
Yes, contributions are welcome, including adding more code samples and improving documentation.