mongodb-mcp-setup
๐ฏSkillfrom mongodb/agent-skills
Interactive setup skill that walks users through configuring the MongoDB MCP server via Connection String, Atlas Service Account, or Atlas Local โ detecting environment and guiding env-var setup without handling credentials.
Same repository
mongodb/agent-skills(7 items)
Installation
npx vibeindex add mongodb/agent-skills --skill mongodb-mcp-setupnpx skills add mongodb/agent-skills --skill mongodb-mcp-setup~/.claude/skills/mongodb-mcp-setup/SKILL.mdSKILL.md
More from this repository6
Official MongoDB schema-design rules covering 3 anti-patterns (unnecessary collections, excessive $lookup, unused indexes), 4 fundamentals (embed vs reference, document model, $jsonSchema validation, 16MB limit), and 11 design patterns (bucket, computed, extended reference, polymorphic, schema versioning, time-series).
MongoDB skill that diagnoses slow queries and recommends indexes using the MongoDB MCP server (collection-indexes, explain, find) and Atlas Performance Advisor. Prefers indexing over rewriting, favors fully-covered indexes, and only activates when the user explicitly asks for performance help.
MongoDB client-connection optimization skill โ picks pool size, timeouts, and idle/monitoring settings per workload (serverless, OLTP, OLAP) across all official drivers (Node.js, Python, Java, Go, C#, Ruby, PHP). Always gathers environmental context first and justifies each parameter, instead of applying arbitrary values.
Generates read-only MongoDB find queries and aggregation pipelines from natural language, using MCP tools to gather indexes, collection schema, and sample documents first, then emitting stringified Extended-JSON queries that respect index coverage and avoid `$where`, `$regex` on unindexed fields, or redundant operators. Excludes Atlas Search / Vector Search (see mongodb-search-and-ai).
Guides MongoDB users through Atlas Search (lexical/full-text), Vector Search (semantic/RAG), and Hybrid Search (`$rankFusion` MongoDB 8.0+, `$scoreFusion` 8.2+) via the MongoDB MCP server โ inspecting indexes/schema/cluster version, choosing the right search type, explaining the proposed index before creating it, and avoiding anti-patterns like `$regex`/`$text` for search workloads.
Official MongoDB agent skills for agentic workflows, providing MCP server integration and connection configuration for Atlas. Compatible with Claude Code, Cursor, and Gemini CLI.