Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
logs.test.ts870 B
import { describeAccuracyTests } from "./sdk/describeAccuracyTests.js"; import { Matcher } from "./sdk/matcher.js"; describeAccuracyTests([ { prompt: "Were there any startup warnings for my MongoDB server?", expectedToolCalls: [ { toolName: "mongodb-logs", parameters: { type: "startupWarnings", limit: Matcher.anyOf(Matcher.undefined, Matcher.number()), }, }, ], }, { prompt: "Retrieve first 10 logs for my MongoDB server?", expectedToolCalls: [ { toolName: "mongodb-logs", parameters: { type: Matcher.anyOf(Matcher.undefined, Matcher.value("global")), limit: 10, }, }, ], }, ]);

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