mongodb

Query and manage MongoDB databases via Atlas Data API or mongosh.

2|1|Updated Jul 19, 2024
One-click install
npx skills add https://github.com/TeamDay-AI/agents --skill mongodb-teamday-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mongodb
Source: https://github.com/TeamDay-AI/agents/tree/main/skills/teamday/mongodb
Command: npx skills add https://github.com/TeamDay-AI/agents --skill mongodb-teamday-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers query and manage MongoDB databases using Atlas Data API or mongosh, eliminating the need for heavy CLI tooling for common data tasks.

Core Features & Use Cases

  • Atlas Data API integration for Find, Insert, Update, Delete, and Aggregate operations
  • Mongosh fallback for interactive experimentation and admin tasks
  • Simple setup with environment variables to connect to Atlas clusters

Quick Start

Configure your Atlas Data API URL and API key, then issue a curl request to find documents in a collection.

Frequently Asked Questions about mongodb

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query MongoDB collections without installing heavy CLI tooling?

You can query MongoDB collections by using the Atlas Data API to issue curl requests for find, insert, update, delete, and aggregate operations, or by falling back to mongosh for interactive tasks.

What environment variables do I need to configure for MongoDB Atlas Data API access?

MongoDB Atlas Data API access requires configuring MONGODB_DATA_API_URL, MONGODB_API_KEY, MONGODB_CLUSTER, and MONGODB_DATABASE environment variables, with MONGODB_URL used for the mongosh fallback.

Can I run MongoDB aggregation pipelines through the Atlas Data API?

Yes, you can run MongoDB aggregation pipelines through the Atlas Data API. The integration supports aggregate operations on collections alongside standard find, insert, update, and delete actions.

When should I use mongosh instead of the Atlas Data API for database management?

Use mongosh instead of the Atlas Data API for interactive experimentation and administration tasks. Mongosh acts as a fallback when you need direct shell access beyond lightweight data operations.

Does this approach support both local mongosh and remote Atlas cluster data access?

Yes, this approach supports remote Atlas cluster data access via the Atlas Data API using curl requests, and local mongosh connectivity using the MONGODB_URL environment variable fallback.