Add aggregateDB tool to the MCP server

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      The MCP server already provides an aggregate tool for the collection level - `mcp_plugin_mongodb_mongodb_aggregate` - a proxy for `aggregate(database: string, collection: string, pipeline?: Document[], options?: AggregateOptions & Abortable, dbOptions?: DbOptions): AggregationCursor;`.

      The driver (and subsequently the service provider) has a separate method for db level aggregation which isn't exposed in the MCP server yet: `aggregateDb(database: string, pipeline?: Document[], options?: AggregateOptions & Abortable, dbOptions?: DbOptions): AggregationCursor;`

            Assignee:
            Paula Stachova
            Reporter:
            Paula Stachova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: