Use the official MongoDB Skills with your favorite coding agent to build faster.
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-natural-language-querying使用 CLI 安装这个技能,并在你的工作区中直接复用对应的 SKILL.md 工作流。
Collection of official MongoDB agent skills for use in agentic workflows. For more information, refer to the MongoDB Agent Skills documentation.
Install the plugin from the Claude marketplace, or run the following command from a Claude session:
Install the plugin:
/plugin install mongodb
Follow the prompts to complete the installation, then run /reload-plugins to activate it.
Install the plugin from the Cursor marketplace, or run the following command from a Cursor session:
Install the plugin:
/add-plugin mongodb
Follow the prompts to complete the installation.
Install the extension from the Gemini marketplace, or run the following command from Gemini CLI:
Install the extension:
gemini extensions install https://github.com/mongodb/agent-skills
Follow the prompts to complete the installation.
Install the plugin from the GitHub repository: /plugin install https://github.com/mongodb/agent-skills.git. Then restart Copilot CLI to activate the MCP server.
https://skills.sh/ is a popular directory and a CLI that automates the installation of skills.
Add the skills you want to your agent:
npx skills add mongodb/agent-skills
Install the MCP server: npx mongodb-mcp-server@1 setup and follow the instructions.
Clone the repository:
git clone https://github.com/mongodb/agent-skills.git
Install the skills for your platform:
Copy the skills/ directory to the location where your coding agent
reads its skills or context files. Refer to your agent's documentation
for the correct path.
Install the MCP server: npx mongodb-mcp-server@1 setup and follow the instructions.
Using the MCP Server to connect to MongoDB requires authentication - you can use the mongodb-mcp-setup skill to guide you through the process. Alternatively, refer to the MongoDB MCP server documentation for a full list of configuration options.