MongoDB MCP Server

list_collections

Lists all collections within a MongoDB database, helping users identify available collections for querying. Ideal for initial data exploration on the MongoDB MCP Server.

Instructions

List all collections in a database.

Start here to understand what collections are available before querying.

Input Schema

NameRequiredDescriptionDefault
databaseNoDatabase name (optional if default database is configured)

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "Database name (optional if default database is configured)", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from MongoDB MCP Server

Related Tools

ID: cmywezu1sn