Back to Home
awslabs icon

mcp

Verified Safe

by awslabs

Overview

Enables AI assistants to interact with AWS DocumentDB databases by providing tools for connection management, database/collection operations, document CRUD, aggregation, schema analysis, and query planning.

Installation

Run Command
python -m awslabs.documentdb_mcp_server.server

Environment Variables

  • AWS_PROFILE
  • AWS_REGION
  • FASTMCP_LOG_LEVEL

Security Notes

The server defaults to read-only mode, blocking write operations unless explicitly enabled with the `--allow-write` flag, significantly enhancing security for sensitive database operations. Input parameters are rigorously validated using Pydantic, preventing common injection vulnerabilities. Connection strings are validated to enforce DocumentDB-specific security requirements (e.g., `retryWrites=false`). Logging is handled by `loguru` for robust auditing. No hardcoded sensitive credentials or direct evaluation of user-provided code were identified.

Similar Servers

Stats

Interest Score100
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars7564
Forks1138
Last Update2025-12-06

Tags

AWSDocumentDBDatabaseNoSQLMCPAI AssistantsData ManagementSchema AnalysisQuerying