Back to Home
fern-api icon

2025-04-02-mcp-server

Verified Safe

by fern-api

Overview

This server acts as a Model Context Protocol (MCP) tool to facilitate interactions with MongoDB AI for answering database-related questions and to check local MongoDB daemon versions.

Installation

Run Command
npx -y @fern-api/2025-04-02-mcp-server@latest

Security Notes

The server uses `child_process.exec` to run `mongod --version`. While the command is hardcoded and safe in this specific implementation, using `exec` can be a security risk if user input were to influence the command string. The server also acts as a proxy to an external MongoDB AI service (`https://knowledge.mongodb.com`), meaning its security is partly dependent on the upstream service. No direct hardcoded secrets or obvious malicious patterns were found in the provided source code. The `message` payload to the external API is JSON stringified, which helps prevent direct injection on the client side.

Similar Servers

Stats

Interest Score25
Security Score8
Cost ClassLow
Avg Tokens100
Stars1
Forks0
Last Update2025-11-20

Tags

MongoDBAIMCP ServerToolAPI Proxy