Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
generatePassword.ts296 B
import { randomBytes } from "crypto"; import { promisify } from "util"; const randomBytesAsync = promisify(randomBytes); export async function generateSecurePassword(): Promise<string> { const buf = await randomBytesAsync(16); const pass = buf.toString("base64url"); return pass; }

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