Email · Cursor & VS Code
Connect Outlook & Microsoft 365 to Cursor & VS Code
Search, read and draft Outlook.com and Microsoft 365 email from your AI assistant. Plugsight links Outlook to Cursor & VS Code in a few minutes, with no code and no exports.
What you can ask Cursor & VS Code about Outlook
How to connect Outlook to Cursor & VS Code
- Create a free Plugsight account.
- Sign in with Microsoft. Works with Outlook.com, Hotmail and work or school accounts.
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.
Outlook data available
- Live search across every folder
- Full conversations with attachments read as text
- Drafts, replies and forwards with Outlook's own threading
- Sending, when you switch it on and approve each email
- Archive, label and mark emails read or unread
Why use Outlook in Cursor & VS Code
- Use business data inside your editor
- Build dashboards and scripts on real numbers
- One server for many tools
Questions about Outlook and Cursor & VS Code
How do I connect Outlook & Microsoft 365 to Cursor & VS Code?
Create a free Plugsight account and connect Outlook: Sign in with Microsoft. Works with Outlook.com, Hotmail and work or school accounts. 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 Outlook data?
Yes, once connected. Cursor & VS Code can see: Live search across every folder; Full conversations with attachments read as text; Drafts, replies and forwards with Outlook's own threading; Sending, when you switch it on and approve each email. For example, ask: "Summarise everything the finance team sent me this week."
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 Outlook?
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 Outlook connector free?
Yes. Outlook & Microsoft 365 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
- Email content is read live and never stored by Plugsight.
Related guides
Connect Outlook & Microsoft 365 to Cursor & VS Code
Free plan, no credit card. Set up in about five minutes.
Updated