Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
Apache 2.0
9,115
425
  • Apple
  • Linux

mongodb-logs

Retrieve and analyze recent MongoDB logs to monitor events, errors, or warnings. Supports filtering by log type and customizable entry limits for efficient debugging and system health checks.

Instructions

Returns the most recent logged mongod events

Input Schema

NameRequiredDescriptionDefault
limitNoThe maximum number of log entries to return.
typeNoThe type of logs to return. Global returns all recent log entries, while startupWarnings returns only warnings and errors from when the process started.global

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "limit": { "default": 50, "description": "The maximum number of log entries to return.", "maximum": 1024, "minimum": 1, "type": "integer" }, "type": { "default": "global", "description": "The type of logs to return. Global returns all recent log entries, while startupWarnings returns only warnings and errors from when the process started.", "enum": [ "global", "startupWarnings" ], "type": "string" } }, "type": "object" }
Install Server

Other Tools from MongoDB MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mongodb-js/mongodb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server