Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
gitInfo.ts230 B
import { simpleGit } from "simple-git"; export async function getCommitSHA(): Promise<string | undefined> { const commitLogs = await simpleGit().log(); const lastCommit = commitLogs.latest; return lastCommit?.hash; }

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