configure-mongodb-mcp
Skill by mongodb-js
Guides users through configuring the MongoDB MCP server options in VS Code. It covers Atlas service account credentials, read-only mode and automatic server startup. Aimed at developers who use the MongoDB VS Code extension with an agentic client.
Install configure-mongodb-mcp
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mongodb-js/vscode /tmp/vscode && mkdir -p ~/.claude/skills && cp -r /tmp/vscode/skills/configure-mongodb-mcp ~/.claude/skills/configure-mongodb-mcpRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mongodb-js/vscode /tmp/vscode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vscode/skills/configure-mongodb-mcp ~/.gemini/antigravity-cli/skills/configure-mongodb-mcpAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install configure-mongodb-mcp in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill walks users through configuring the MongoDB MCP server, which is embedded in the MongoDB VS Code extension. It first checks the current settings in the user and workspace settings.json files, along with any MDB_MCP_ environment variables. It then asks which options to change, covering Atlas service account credentials, read-only mode and server startup behavior.
The skill can update the settings file directly after the user confirms each change, or provide a snippet for the user to paste themselves. It warns against committing Atlas secrets to version control. It is intended for developers who use the MongoDB MCP server with an agentic client in VS Code.
Written from the project's SKILL.md and checked against it.
What it can do
- Check current configurationReads the user and workspace settings and MDB_MCP_ environment variables to find the current MCP options.
- Atlas credentials setupGuides the user through creating a service account and adding mdb.mcp.apiClientId and mdb.mcp.apiClientSecret.
- Read-only settingExplains mdb.mcp.readOnly and helps the user choose whether the agent can perform write operations.
- Server startup settingExplains mdb.mcp.server options for prompting, automatic start or manual start of the MCP server.
- Apply configurationOffers to merge confirmed values into the settings file, or gives a snippet for the user to paste.
What you need
- VS Code with the MongoDB extension
- MongoDB Atlas account for Atlas tools
- Atlas service account credentials for Atlas tools
Try asking
- Set up Atlas service account credentials for my MongoDB MCP server
- Make the MongoDB MCP server read-only in this workspace
- Set the MongoDB MCP server to start automatically with VS Code
Good to know
- Atlas tools require both Atlas service account values to be set.
- readOnly defaults to true, so write operations are disabled by default.
- The server uses the connection active in the MongoDB VS Code extension.
- Environment variables are not used for configuration and should be migrated to settings.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/configure-mongodb-mcp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to configure-mongodb-mcp
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
configure-mongodb-mcp: common questions
Does this skill need Atlas credentials?
Atlas credentials are optional. When both mdb.mcp.apiClientId and mdb.mcp.apiClientSecret are set, the server unlocks Atlas tools such as performance metrics and database user management.
Is the MongoDB MCP server read-only by default?
Yes. mdb.mcp.readOnly defaults to true, so create, update and delete operations are disabled unless it is set to false.
Where are the MongoDB MCP settings stored?
They are stored in the user settings.json file or in the workspace .vscode/settings.json. Workspace settings take priority over user settings.
How do I install configure-mongodb-mcp?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is configure-mongodb-mcp free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is configure-mongodb-mcp safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality B. 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 configure-mongodb-mcp?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
