Zum Inhalt springen
Kitbay
MCP-Server

MongoDB Lens

Läuft lokalMITAktualisiert am 7. Nov. 2026207GitHub-SterneKann Daten ändern

MongoDB Lens is a community MCP server that runs locally and connects to a MongoDB deployment from a connection string, by default a server on localhost.

Was er kann

MongoDB Lens is a community MCP server that runs locally and connects to a MongoDB deployment from a connection string, by default a server on localhost. It offers a large set of tools for querying, aggregation, schema inference and comparison, index and query-pattern analysis, collection, database and user management, time series collections and bulk operations, plus resources such as server status and replica set state, and prompts for tasks like schema review or SQL conversion. Destructive actions such as dropping a database need a confirmation token unless that is turned off. It runs through npx, Docker or from source.

Funktionen

  • Query, count and aggregate MongoDB documents
  • Infer and compare collection schemas
  • Analyse live query patterns and suggest indexes
  • Create and drop collections, databases, indexes and users
  • Read server status and replica set state