Skip to content

Gmail plugin: UI shows Enabled / green but 0 tools; Agent has no gmail MCP namespace #1436

Backlog

Description

@wumingsaberarcher

Summary

Official Gmail marketplace plugin (cursor-public/gmail v1.0.0) shows as installed and enabled in Settings → Plugins, but exposes 0 tools. Agent sessions never receive a usable plugin-gmail-gmail (or equivalent) MCP namespace, so agents cannot search/read/draft/send mail despite the plugin appearing healthy.

This makes the Gmail plugin unusable for agent workflows that require Gmail MCP (the documented path for this product).

Environment

Expected

  1. After Install + Google OAuth, Tools / MCP UI lists Gmail tools (Google docs list ~27–29 tools: search_threads, create_draft, send_message, etc.).
  2. Agent dynamic tool catalog includes a Gmail namespace with those tools.
  3. Agent can call e.g. search_threads / create_draft after auth.

Actual

  1. Plugins UI: Gmail enabled / green, but 「已启用 0 个工具」 (Enabled, 0 tools).
  2. Uninstall → reinstall → re-auth does not change the tool count (still 0).
  3. Agent-side mcp_auth for the Gmail namespace may report success, but afterward:
    • Gmail namespace is still missing from GetDynamicTools / available namespaces, or
    • Namespace appears with 0 callable tools.
  4. Other MCP namespaces in the same session work (e.g. browser, LinkedIn, TradeMe, ApplySent), so this is specific to the Gmail plugin / Google-hosted MCP path—not a total MCP outage.

Steps to reproduce

  1. Open Settings → Plugins, install Gmail (or /add-plugin gmail).
  2. Complete Google sign-in when prompted.
  3. Observe plugin status: enabled / connected / green.
  4. Check tool count on the plugin card → 0 tools.
  5. Open Agent chat and ask the agent to list Gmail MCP tools or call search_threads.
  6. Agent reports Gmail namespace absent or empty; mail actions unavailable.

Additional notes / related reports

Ask

Please treat Enabled + 0 tools as a hard failure state (do not show green/enabled until tools/list returns tools and Agent can invoke them). Fix tool discovery / OAuth so the marketplace Gmail plugin actually registers its tools for local Agent sessions.

Happy to attach screenshots of the Plugins card (“已启用 0 个工具”) and Agent namespace dump if useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions