MCP Tools Assistant
MCP server by mongodb-js Verified · npm:@mongodb-js
Connects AI assistants to MongoDB databases and MongoDB Atlas through the Model Context Protocol. It suits developers who want an AI agent to work with their MongoDB data.
Install MCP Tools Assistant
Built from the published package, never by AI.
claude mcp add mcp-tools-assistant -- npx -y @mongodb-js/mcp-tools-assistantRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-tools-assistant": {
"args": [
"-y",
"@mongodb-js/mcp-tools-assistant"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-tools-assistant": {
"args": [
"-y",
"@mongodb-js/mcp-tools-assistant"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-tools-assistant": {
"args": [
"-y",
"@mongodb-js/mcp-tools-assistant"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-tools-assistant -- npx -y @mongodb-js/mcp-tools-assistant{
"mcpServers": {
"mcp-tools-assistant": {
"args": [
"-y",
"@mongodb-js/mcp-tools-assistant"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Tools Assistant in Antigravity CLI
gemini mcp add mcp-tools-assistant npx -y @mongodb-js/mcp-tools-assistantGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-tools-assistant block.
About
MongoDB MCP Server is a Model Context Protocol server for interacting with MongoDB databases and MongoDB Atlas. It runs locally through npx and connects to any MongoDB deployment using a connection string. For Atlas, it can use Atlas API service account credentials. The source also describes a separate Atlas-hosted remote server that uses OAuth.
The examples include the --readOnly flag by default, so the server gives read-only access unless it is removed. Setup options include official plugins for several AI agents, an interactive setup command, a setup skill, Docker, and manual configuration. It is aimed at developers who want an AI assistant to work with MongoDB data.
Written from the project's README and checked against it.
What you need
- Node.js v22.13.0 or later
- A MongoDB connection string or Atlas API service account credentials
- Docker (optional, for the container option)
Try asking
- Show me the collections in my MongoDB database
- Find documents in my MongoDB collection that match a filter
- List my MongoDB Atlas clusters using my service account
Good to know
- Examples run in read-only mode by default; write operations need --readOnly removed
- Atlas tools require Atlas API service account credentials
- The remote Atlas MCP server cannot be authenticated with a static API key over HTTP
- Node 20.x support is deprecated
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Query a MongoDB database from an AI assistant
- Connect an AI assistant to MongoDB Atlas
- Run MongoDB access in read-only mode
Alternatives to MCP Tools Assistant
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
MCP Tools Assistant: common questions
Does this MongoDB MCP server work with MongoDB Atlas?
Yes. The source describes an Atlas plugin that uses OAuth, and a local option that uses Atlas API service account credentials for the Atlas tools.
Can it connect to a self-managed MongoDB deployment?
Yes. The source says the local mongodb plugin connects to any self-managed deployment, and the connection string can point to a local instance or an Atlas cluster.
Is it safe to use with write access?
The source recommends read-only use by default through the --readOnly flag and says to remove it only if write operations are needed. It also recommends environment variables over command line arguments for secrets.
How do I install MCP Tools Assistant?
In Claude Code run claude mcp add mcp-tools-assistant -- npx -y @mongodb-js/mcp-tools-assistant. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Tools Assistant the official server?
MCP Tools Assistant is published by npm:@mongodb-js from its verified domain in the official MCP Registry.
Is MCP Tools Assistant free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is MCP Tools Assistant safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Tools Assistant?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does MCP Tools Assistant work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
