Show HN: MongoDB MCP Server

3 kilic 2 3/29/2025, 7:11:04 AM github.com ↗
A Model Context Protocol server that provides access to MongoDB databases. This server enables LLMs to inspect collection schemas and execute MongoDB operations.

Comments (2)

piterrro · 31d ago
This line [1] will become a source of many problems and wasted hours of debugging time. You could at least return a sample document based on random offset or scan, lets say 1000 docs and infer their shape. Mongodb is schemaless, so theres no guarantee all documents look the same. In fact the comment is inprecise > Handler for reading a collection's schema

[1] https://github.com/kiliczsh/mcp-mongo-server/blob/9ffcd8f9fe...

kilic · 31d ago
Hi @piterrro Thanks so much for suggestion, I have created an issue and I will try to find a better way to improve this asap.

Please don't hesitate to check and make suggestions on issue: https://github.com/kiliczsh/mcp-mongo-server/issues/14