Back to Home
dapapkung icon

mongo-ts-mcp

Verified Safe

by dapapkung

Overview

Integrate MongoDB operations with AI assistants via the Model Context Protocol (MCP) to enable natural language interaction for data querying, aggregation, and analysis.

Installation

Run Command
npm start

Security Notes

The server uses `JSON.parse` for filters, pipelines, and documents provided by the AI agent. While standard for MongoDB interaction, this relies on the Model Context Protocol (MCP) SDK and the AI agent to prevent malicious or malformed input. Credentials can be configured using environment variables via placeholders in `config.json`, which is a good security practice. No `eval` or obvious obfuscation found. The server communicates via stdio, limiting network attack surface. Connection options include `serverSelectionTimeoutMS`, `connectTimeoutMS`, `maxPoolSize`, `minPoolSize`, and `maxIdleTimeMS` for robustness.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-11-27

Tags

MongoDBMCPTypeScriptAIDatabase