list-collections
List all collections within a specified MongoDB database using the MongoDB MCP Server. Ideal for managing and organizing database resources efficiently.
Instructions
List all collections for a given database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | Yes | Database name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"database": {
"description": "Database name",
"type": "string"
}
},
"required": [
"database"
],
"type": "object"
}