Skip to main content
Glama

MongoDB MCP Server

by jonfreeland

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonfreeland/mongodb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server