Email · Cursor & VS Code
Connect iCloud Mail to Cursor & VS Code
Give your AI assistant access to your iCloud Mail, securely. Plugsight links iCloud Mail to Cursor & VS Code in a few minutes, with no code and no exports.
What you can ask Cursor & VS Code about iCloud Mail
How to connect iCloud Mail to Cursor & VS Code
- Create a free Plugsight account.
- Connect with an app-specific password from your Apple account.
Then add Plugsight to Cursor & VS Code
- In Plugsight, open MCP servers, create one and copy its URL. For VS Code and Gemini CLI, also create an API key on the server's page.
- Cursor: add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project), save, then sign in to Plugsight and click Allow access when the browser opens:
{"mcpServers": {"plugsight": {"url": "https://app.plugsight.app/mcp/YOUR_SERVER_ID"}}} - If no browser window opens in Cursor, add an API key instead: put it in an environment variable called PLUGSIGHT_API_KEY and add "headers": {"Authorization": "Bearer ${env:PLUGSIGHT_API_KEY}"} next to the url.
- VS Code (Copilot agent mode): add this to .vscode/mcp.json. VS Code asks for the key once and stores it securely:
{"inputs": [{"type": "promptString", "id": "plugsight-key", "description": "Plugsight API key", "password": true}], "servers": {"plugsight": {"type": "http", "url": "https://app.plugsight.app/mcp/YOUR_SERVER_ID", "headers": {"Authorization": "Bearer ${input:plugsight-key}"}}}} - Gemini CLI: add this to ~/.gemini/settings.json
{"mcpServers": {"plugsight": {"httpUrl": "https://app.plugsight.app/mcp/YOUR_SERVER_ID", "headers": {"Authorization": "Bearer YOUR_API_KEY"}}}} - Reload the tool and ask its agent to use the Plugsight tools.
Cursor signs in to Plugsight in your browser. VS Code, Gemini CLI and other clients connect with your MCP server's URL and an API key. Works with any client that supports remote MCP servers over HTTP.
Full steps and troubleshooting in the docs: Cursor, VS Code, Other MCP apps.
iCloud Mail data available
- Live search across your mailbox
- Full threads and attachments
- Drafts, replies and forwards
- Sending, when you switch it on and approve each email
- Move to folders and mark emails read or unread
Why use iCloud Mail in Cursor & VS Code
- Use business data inside your editor
- Build dashboards and scripts on real numbers
- One server for many tools
Questions about iCloud Mail and Cursor & VS Code
How do I connect iCloud Mail to Cursor & VS Code?
Create a free Plugsight account and connect iCloud Mail: Connect with an app-specific password from your Apple account. Then add Plugsight to Cursor & VS Code: In Plugsight, open MCP servers, create one and copy its URL. For VS Code and Gemini CLI, also create an API key on the server's page. Cursor: add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project), save, then sign in to Plugsight and click Allow access when the browser opens: {"mcpServers": {"plugsight": {"url": "https://app.plugsight.app/mcp/YOUR_SERVER_ID"}}} If no browser window opens in Cursor, add an API key instead: put it in an environment variable called PLUGSIGHT_API_KEY and add "headers": {"Authorization": "Bearer ${env:PLUGSIGHT_API_KEY}"} next to the url. VS Code (Copilot agent mode): add this to .vscode/mcp.json. VS Code asks for the key once and stores it securely: {"inputs": [{"type": "promptString", "id": "plugsight-key", "description": "Plugsight API key", "password": true}], "servers": {"plugsight": {"type": "http", "url": "https://app.plugsight.app/mcp/YOUR_SERVER_ID", "headers": {"Authorization": "Bearer ${input:plugsight-key}"}}}} Gemini CLI: add this to ~/.gemini/settings.json {"mcpServers": {"plugsight": {"httpUrl": "https://app.plugsight.app/mcp/YOUR_SERVER_ID", "headers": {"Authorization": "Bearer YOUR_API_KEY"}}}} Reload the tool and ask its agent to use the Plugsight tools.
Can Cursor & VS Code read my iCloud Mail data?
Yes, once connected. Cursor & VS Code can see: Live search across your mailbox; Full threads and attachments; Drafts, replies and forwards; Sending, when you switch it on and approve each email. For example, ask: "Find the booking confirmation for my trip in March."
Which Cursor, VS Code & other MCP clients plans work?
Works with any client that supports remote MCP servers over HTTP.
How does Cursor & VS Code sign in to Plugsight?
Cursor signs in to Plugsight in your browser. VS Code, Gemini CLI and other clients connect with your MCP server's URL and an API key.
Can Cursor & VS Code change anything in iCloud Mail?
Only if you allow it. Reading is always on; sending or making changes is off until you switch it on for this connection and your MCP server, and each action then needs your approval in the chat.
Is the iCloud Mail connector free?
Yes. iCloud Mail works on the Free plan, which includes 2 connections and 1 MCP server, with no credit card. Pro adds more connections and the marketing sources.
Good to know
- Apple requires an app-specific password; Plugsight explains how to create one.
Related guides
Connect iCloud Mail to Cursor & VS Code
Free plan, no credit card. Set up in about five minutes.
Updated