embabel-mongo-mcp-server
Verified Safeby BootcampToProd
Overview
Enables AI agents to interact with a MongoDB database through natural language, performing operations like listing databases, querying, and inserting documents.
Installation
mvn spring-boot:runEnvironment Variables
- OPENAI_API_KEY
- MONGO_HOST
- MONGO_PORT
Security Notes
The server directly parses and executes user-supplied JSON for complex MongoDB queries and document insertions. This allows AI agents (and potentially malicious actors if exposed without authentication) to execute arbitrary MongoDB operations. The security critically depends on the MongoDB user's permissions and strict access control for the MCP endpoint. No explicit input validation or sanitization is present for query or document JSON beyond what MongoDB's driver provides.
Similar Servers
kubernetes-mcp-server
Facilitates AI agent interaction with Kubernetes and OpenShift clusters by exposing management and observability tools via the Model Context Protocol.
mcp
Provides a Model Context Protocol (MCP) interface for managing and querying MariaDB databases, supporting standard SQL operations and advanced vector/embedding-based search for AI assistants.
mcp-server-couchbase
An MCP server enabling LLMs to interact directly with Couchbase clusters for data operations, schema retrieval, and query performance analysis.
MCP-Agent
An autonomous AI agent designed to discover, connect to, and utilize tools and resources from various Model Context Protocol (MCP) servers to accomplish tasks.