Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The Cursor Gmail plugin create_draft / update_draft APIs require each attachment as base64 in attachments.content inside the MCP tool argument.
For a normal compressed PDF (~64 KB on disk), encoding and passing the payload through the tool call is slow and hits practical MCP argument size / latency limits. The schema advertises up to 25 MB per message, but the agent path cannot deliver ordinary document attachments this way.
Expected: accept local file paths (or an upload / Drive reference) so the client reads the file outside the model tool-argument channel.
Workaround that works today: a local Gmail MCP whose draft_email takes attachments as filesystem paths.
Steps to Reproduce
- Connect Cursor Gmail plugin (OAuth OK; text-only drafts work).
- Ask the agent to create_draft with a ~64 KB PDF attachment via attachments.content (base64).
- Observe long encode / failed or impractical tool call.
- Create the same draft via a local Gmail MCP draft tool with a file path → draft and attachment OK.
Expected Behavior
create_draft accepts a local file path (or equivalent out-of-band upload). Agent does not embed file bytes as base64 in the tool JSON.
Operating System
Windows 10/11
Version Information
Version: 3.30.14 (Windows)
Additional Information
Actual behavior: only base64 content in the tool argument. Normal PDFs are impractical for the agent; small files (~27 KB) sometimes work after retries.
Related: same Google-hosted Gmail MCP endpoint as the Cursor Gmail plugin (gmailmcp.googleapis.com/mcp/v1). Text-only drafts via the plugin work.
Does this stop you from using Cursor
No - Cursor works, but with this issue