Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
renameCollection.test.ts929 B
import { describeAccuracyTests } from "./sdk/describeAccuracyTests.js"; describeAccuracyTests([ { prompt: "Rename my 'mflix.movies' namespace to 'mflix.new_movies'", expectedToolCalls: [ { toolName: "rename-collection", parameters: { database: "mflix", collection: "movies", newName: "new_movies", }, }, ], }, { prompt: "Rename my 'mflix.movies' namespace to 'mflix.new_movies' while removing the old namespace.", expectedToolCalls: [ { toolName: "rename-collection", parameters: { database: "mflix", collection: "movies", newName: "new_movies", dropTarget: true, }, }, ], }, ]);

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