Skip to main content
Glama

MCP Server Boilerplate

mongo-find-documents

Query documents from a MongoDB collection using database name, collection name, and optional filters to retrieve specific data records.

Instructions

Query documents from a MongoDB collection

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
databaseYesDatabase name
filterNoQuery filter as JSON object (optional)
limitNoMaximum number of documents to return (optional)

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "database": { "description": "Database name", "type": "string" }, "filter": { "additionalProperties": {}, "description": "Query filter as JSON object (optional)", "type": "object" }, "limit": { "description": "Maximum number of documents to return (optional)", "type": "number" } }, "required": [ "database", "collection" ], "type": "object" }

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/RichardFelix999/mongo-boilerplate-mcp'

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