aggregate
Execute MongoDB aggregation pipelines on specified collections to process and transform data, enabling advanced querying and analysis directly through natural language interactions with the MongoDB MCP Server.
Instructions
Run an aggregation against a MongoDB collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
database | Yes | Database name | |
pipeline | Yes | An array of aggregation stages to execute |