mongodb-query
Installation
SKILL.md
MongoDB Query
Query MongoDB with automatic connection handling (direct IP or Kubernetes port-forward).
Prerequisites
Dependencies:
- Python 3.6+
pymongopackage:pip install pymongokubectl(only needed if connecting to Kubernetes service via port-forward)
The agent MUST ask user for MongoDB connection information before using this skill.
Required information:
- MongoDB Connection String (required): Full connection URI including credentials
- Example:
mongodb://root:password@172.16.79.249:27017/?authSource=admin&replicaSet=rs0 - Example for K8s:
mongodb://root:password@mongodb.mongodb.svc.cluster.local:27017/?authSource=admin
- Example: