Back to Home
bluwork icon

mongo-scout-mcp

Verified Safe

by bluwork

Overview

The server allows AI assistants to interact with and manage MongoDB databases, providing comprehensive tools for data exploration, monitoring, and quality assurance.

Installation

Run Command
npx mongo-scout-mcp --read-only mongodb://localhost:27017 mydb

Environment Variables

  • LOG_DIR
  • ENABLE_LOGGING

Security Notes

The server implements robust security measures. It supports explicit 'read-only' and 'read-write' modes, with write operations being disabled by default and requiring explicit activation. Destructive operations like `dropCollection`, `deleteMany`, and `updateMany` include `dryRun` options, require explicit confirmation (`confirm: true`), and incorporate smart warnings for large operations or empty filters to prevent accidental data loss. Sensitive data fields (e.g., 'password', 'key', 'secret') are redacted in responses. Administrative commands are whitelisted in `runAdminCommand`, and rate limiting is applied to admin/monitoring tools to prevent abuse. ObjectIds are correctly handled to prevent NoSQL injection. Logging is in place to track tool usage and errors.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-17

Tags

mongodbmcpai-assistantdatabasemonitoring