Agent Mongo
Connects to MongoDB databases, executes queries, and retrieves data based on natural language instructions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add agent-mongo npx -- -y @trustedskills/agent-mongo
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"agent-mongo": {
"command": "npx",
"args": [
"-y",
"@trustedskills/agent-mongo"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact with MongoDB databases. It allows agents to query, insert, update, and delete data within a specified MongoDB environment. The agent can execute commands against the database based on natural language instructions.
When to use it
- Data Extraction: Retrieve specific information from a product catalog stored in MongoDB for reporting or analysis.
- Content Management: Update article status (e.g., "draft," "published") within a CMS powered by MongoDB.
- Inventory Management: Adjust stock levels of products based on sales data residing in a MongoDB database.
- User Data Updates: Modify user profile information, such as email addresses or preferences, stored in a MongoDB collection.
Key capabilities
- Querying data using natural language instructions
- Inserting new documents into collections
- Updating existing documents within collections
- Deleting documents from collections
Example prompts
- "Find all products with a price greater than $50."
- "Add a new user to the 'users' collection with name 'Alice' and email '[email protected]'."
- "Update the status of article ID 12345 to 'published'."
Tips & gotchas
- Requires access credentials (username/password) for the target MongoDB database. Ensure these are securely provided to the agent.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.