mirror of
https://github.com/mongodb/agent-skills.git
synced 2026-09-18 21:15:11 +08:00
v0.5.0
Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
MongoDB Agent Skills
Collection of official MongoDB agent skills for use in agentic workflows.
Installation
Cursor
(TODO: not published yet) Install the plugin from the Cursor marketplace.
Local install from repository
TBD
Configuration
MCP server environment variables
The MongoDB MCP server requires authentication. Set one of the following:
Option A - Connection string (direct MongoDB connection):
export MDB_MCP_CONNECTION_STRING="mongodb+srv://user:password@cluster.mongodb.net/"
Option B - API credentials (MongoDB Atlas Admin API):
export MDB_MCP_API_CLIENT_ID="your-client-id"
export MDB_MCP_API_CLIENT_SECRET="your-client-secret"
Add these to your shell profile (~/.zshrc, ~/.bashrc, or equivalent) so they are available when your IDE starts. For a complete list of configuration options, see the MongoDB MCP server documentation.
Description
mongodb-query-optimizer: Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I…; mongodb-schema-design: MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues…; mongodb-connection: Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. U…
Readme
Apache-2.0
1.5 MiB
Languages
TypeScript
48.2%
JavaScript
42.4%
Shell
9.4%