# Server MCP Resmi MongoDB — Cluster Atlas, Skema & Agregasi BSON (`mongodb-atlas-mcp`)

> Server resmi MongoDB MCP memeriksa skema pengumpulan, penggunaan indeks, saluran agregasi, dan telemetri klaster MongoDB Atlas.

- **Canonical URL:** https://syndipath.com/id/mcp/mongodb-atlas-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** Apache-2.0 | **Package:** `mongodb-mcp-server`
- **Upvotes:** 446 | **GitHub Stars:** 3680 | **Weekly Installs:** 26900
- **Security Note:** HTTP-200 diverifikasi di Registri NPM (mongodb-mcp-server); dijalankan melalui npx di dalam sesi STDIO dengan cakupan ruang kerja.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y mongodb-mcp-server

# Add to Claude Code CLI
claude mcp add -e MDB_MCP_CONNECTION_STRING=${MDB_MCP_CONNECTION_STRING} mongodb-atlas-mcp -- npx -y mongodb-mcp-server
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "mongodb-atlas-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "${MDB_MCP_CONNECTION_STRING}"
      }
    }
  }
}
```

## Exposed MCP Tools
- `mongodb_atlas_mcp_query(sql_or_filter: string, limit?: number)`: Official MongoDB MCP server inspecting collection schemas, index usage, aggregation pipelines, and MongoDB Atlas cluster telemetry.
- `mongodb_atlas_mcp_inspect_schema(namespace?: string)`: Enumerates tables, collections, column types, and active index definitions.
