← MongoDB MCP Server

MongoDB MCP Server 1.0.2

npm · @harryelv/mongodb-mcp-server · current release

3
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-23T00:21:27.514Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools 3

ToolCategoryAnnotationsRisk
countDocumentsCount documents in a MongoDB collection
Input schema
{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "description": "Collection name"
    },
    "filter": {
      "type": "object",
      "additionalProperties": {},
      "description": "MongoDB filter object (JSON)"
    }
  },
  "required": [
    "collection"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
findDocumentsQuery documents from a MongoDB collection
Input schema
{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "description": "Collection name"
    },
    "filter": {
      "type": "object",
      "additionalProperties": {},
      "description": "MongoDB filter object (JSON)"
    },
    "limit": {
      "type": "number",
      "default": 10,
      "description": "Maximum number of documents to return"
    }
  },
  "required": [
    "collection"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
listCollectionsList all collections in the MongoDB database
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.