Plugsight

Email · Cursor & VS Code

Connect Gmail to Cursor & VS Code

Search, read and draft Gmail and Google Workspace email from your AI assistant. Plugsight links Gmail to Cursor & VS Code in a few minutes, with no code and no exports.

What you can ask Cursor & VS Code about Gmail

Archive every newsletter in my inbox and label the receipts 'Expenses'.
Which emails from last week am I still waiting on a reply to?
What did the contract PDF attached to Sarah's email say about payment terms?
Find every invoice we received from suppliers this quarter and list the totals.
Summarise my unread email from customers today.
Draft a reply to the latest email from Acme about the delayed order.

How to connect Gmail to Cursor & VS Code

  1. Create a free Plugsight account.
  2. Connect with a Google app password. The connect page links straight to where you make one.

Then add Plugsight to Cursor & VS Code

  1. 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.
  2. 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"}}}
  3. 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.
  4. 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}"}}}}
  5. 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"}}}}
  6. 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.

Gmail data available

  • Live search across your whole mailbox, with Gmail search syntax
  • Full threads, attachments and inline images
  • PDF, Word, Excel and PowerPoint attachments read as text
  • Drafts, replies and forwards saved to your Drafts
  • Sending, when you switch it on and approve each email
  • Archive, label and mark emails read or unread

Why use Gmail in Cursor & VS Code

  • Use business data inside your editor
  • Build dashboards and scripts on real numbers
  • One server for many tools

Questions about Gmail and Cursor & VS Code

How do I connect Gmail to Cursor & VS Code?

Create a free Plugsight account and connect Gmail: Connect with a Google app password. The connect page links straight to where you make one. 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 Gmail data?

Yes, once connected. Cursor & VS Code can see: Live search across your whole mailbox, with Gmail search syntax; Full threads, attachments and inline images; PDF, Word, Excel and PowerPoint attachments read as text; Drafts, replies and forwards saved to your Drafts. For example, ask: "Find every invoice we received from suppliers this quarter and list the totals."

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 Gmail?

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 Gmail connector free?

Yes. Gmail 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.

Connect Gmail to Cursor & VS Code

Free plan, no credit card. Set up in about five minutes.

Updated