Skip to main content

mongodb

Manage MongoDB databases via the mongosh tool.

Source facts

Repository
olasunkanmi-SE/codebuddy
Last source activity
March 8, 2026 at 03:01
Detected SKILL.md language
English
Stars
141
Forks
44

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
mongodb
description
Manage MongoDB databases via the mongosh tool.
metadata
{"displayName":"MongoDB","icon":"database","category":"databases","version":"1.0.0","dependencies":{"cli":"mongosh","checkCommand":"mongosh --version","install":{"darwin":"[Truncated]","linux":"[Truncated]","windows":"[Truncated]"}},"config":[{"name":"MONGODB_URI","label":"Connection URI","type":"string","required":false,"placeholder":"mongodb://localhost:27017"}],"auth":{"type":"none"}}
# mongosh Use `mongosh` to interact with MongoDB databases. ## Common Commands ### Connection - Connect: `mongosh "mongodb://user:password@host:port/dbname"` ### Operations - Show databases: `show dbs` - Use database: `use <dbname>` - Show collections: `show collections` - Find documents: `db.collection.find().limit(5)` - Insert document: `db.collection.insertOne({ key: "value" })` - Quit: `exit` ## Notes - Requires `mongosh` to be installed in the environment.
View on GitHub