Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 77
  • 361 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-mcp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install configure-mongodb-mcp in Claude Code

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

A

No 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 →
hugging-face-datasetssickn33
94

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.

AAA Skill 50k
db-repairgarrytan
94

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.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

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.

AAA Skill 116k
fix-slow-queriespaperclipai
94

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.

AAA Skill 119k
prisma-8prisma
94

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.

AAA Skill 48k

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.

configure-mongodb-mcp Install

Add to stack

Loading.