Because the connection string is an argument rather than a runtime choice, what the server can touch is settled before anything starts — and inside that boundary the collections are inspectable and documents can be inserted, updated and deleted a call at a time.
A MongoDB client whose reach is decided before the session starts: the connection string, including the database, is an argument on the launch command. Within it, collections and schemas are inspectable and documents can be written.
- The collections in the database, listed
- Collection schema inspection and document querying
- Documents inserted, updated and deleted one at a time
- Index management
Node.js 18+ and npx, plus a MongoDB connection string passed as an argument — mongodb://username:password@host:port/database?authSource=admin. Docker Compose and a seed script are included if you want a sandbox to try it against first.
One command plus a key — npx -y @smithery/cli install mongo-mcp --client claude, then supply credentials
