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

mongodb-mcp-setup

Skill by fcakyon

Guides users through configuring the MongoDB MCP server for an agentic client. It is for users who have the server installed but have not yet set up MongoDB or Atlas credentials.

  • Score 85
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mongodb-mcp-setup

Built from the published package, never by AI.

git clone --depth 1 https://github.com/fcakyon/claude-codex-settings /tmp/claude-codex-settings && mkdir -p ~/.claude/skills && cp -r /tmp/claude-codex-settings/plugins/mongodb-skills/skills/mongodb-mcp-setup ~/.claude/skills/mongodb-mcp-setup

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

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

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill walks a user through configuring the MongoDB MCP server. It offers three options: a connection string for a single cluster, Atlas service account credentials for Atlas Admin API access, and Atlas Local, which runs in Docker and needs no credentials. The agent first checks whether the client is Codex or shell-based, then gives tailored steps for storing credentials and verifying them. The skill states that it never asks for or handles credentials. Users add them directly to their shell profile or client config.

It is written for people who have the MongoDB MCP server installed but have not set its environment variables, or who ask how to connect to MongoDB or Atlas. For service accounts, the guide explains creating the account and adding an IP address to the API Access List. It also asks whether the user wants read-only or read-write access and adds a read-only flag to the configuration when read-only is chosen.

Written from the project's SKILL.md and checked against it.

What it can do

  • Client detectionChecks whether the user runs Codex or a shell-based client before setting up credentials.
  • Existing configuration checkLooks for the connection string, service account and read-only variables already in place.
  • Connection string setupExplains where to find a connection string for MongoDB Atlas or a self-hosted server.
  • Service account setupWalks through creating an Atlas service account and adding an API Access List entry.
  • Atlas Local setupChecks Docker and points to atlas-local-create-deployment and atlas-local-list-deployments.
  • Read-only choiceAdds the read-only flag to the configuration snippet when the user chooses read-only access.
  • Configuration verificationGives commands that show which variables are set, with values redacted.

What you need

  • MongoDB Atlas account or a self-hosted MongoDB connection string
  • Atlas service account Client ID and Client Secret for service account setup
  • Docker for Atlas Local
  • Codex or a shell-based agentic client

Try asking

  • Help me set up the MongoDB MCP server with a connection string for one cluster.
  • Walk me through creating an Atlas service account for the MongoDB MCP server.
  • Set up a local Atlas deployment with Docker for my MCP server.

Good to know

  • Service account operations fail unless the user's IP address is on the API Access List.
  • A connection string alone does not provide Atlas Admin API tools.
  • Credentials are stored in plaintext in config.toml or ~/.mcp-env.
  • The skill does not ask for or handle credentials itself.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/mongodb-skills/skills/mongodb-mcp-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to mongodb-mcp-setup

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

mongodb-mcp-setup: common questions

Can this skill set up my MongoDB credentials for me?

No. The source says the skill never asks for or handles credentials. Users add them directly to their shell profile or client config.

What is the difference between connection string and service account setup?

A connection string connects to one cluster. Service account credentials give Atlas Admin API access and dynamic cluster connection through atlas-connect-cluster.

Does Atlas Local need credentials?

No. The source says Atlas Local requires no credentials and runs Atlas locally in Docker.

How do I install mongodb-mcp-setup?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mongodb-mcp-setup free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is mongodb-mcp-setup safe to use?

It scores 85 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 mongodb-mcp-setup?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

mongodb-mcp-setup Install

Add to stack

Loading.