Mongodb Crud Operations
Perform MongoDB create, read, update, and delete operations using provided connection details and queries.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add mongodb-crud-operations npx -- -y @trustedskills/mongodb-crud-operations
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"mongodb-crud-operations": {
"command": "npx",
"args": [
"-y",
"@trustedskills/mongodb-crud-operations"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to perform basic Create, Read, Update, and Delete (CRUD) operations on a MongoDB database. It allows for querying data based on specified criteria, inserting new documents, updating existing ones, and removing documents from the collection. The agent can interact with the database using natural language prompts.
When to use it
- Data Entry Automation: Automatically add customer records into a MongoDB database based on information extracted from emails or forms.
- Inventory Management: Update product quantities in a MongoDB inventory system when sales are recorded.
- Content Updates: Modify article content stored in a MongoDB CMS based on editor requests.
- Report Generation: Retrieve specific data subsets from a MongoDB collection to generate reports.
Key capabilities
- Create (Insert) documents into a MongoDB collection.
- Read (Query) documents from a MongoDB collection.
- Update existing documents within a MongoDB collection.
- Delete documents from a MongoDB collection.
Example prompts
- "Add a new customer with name 'Alice' and email '[email protected]' to the customers collection."
- "Find all products in the inventory where the price is greater than $50."
- βUpdate the quantity of product ID β123β in the inventory to 10.β
- "Delete the document with customer ID '456' from the customers collection."
Tips & gotchas
The agent requires access credentials and connection details for your MongoDB database. Ensure these are securely provided and that the agent has appropriate permissions to perform CRUD operations on the target collection.
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.