Mongodb
@keeb/mongodbv2026.05.06.1
Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
01README
Query and write MongoDB collections, diagnose connectivity, and walk related records from swamp workflows.
02Models
@keeb/mongodbv2026.03.29.1mongodb_query.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| mongodbUri | string | MongoDB connection URI |
fn diagnose()
Check connectivity and list collections in a specific database. Tries the default DB from URI, plus common alternatives.
fn query(collection: string, limit: number)
Query any collection with a filter, projection, sort, and limit.
| Argument | Type | Description |
|---|---|---|
| collection | string | Collection name |
| limit | number | Max documents to return |
fn find_user(query: string)
Search for a user by username or email. Supports exact and case-insensitive regex matching.
| Argument | Type | Description |
|---|---|---|
| query | string | Search term (username or email pattern) |
fn insert(collection: string)
Insert one or more documents into a collection.
| Argument | Type | Description |
|---|---|---|
| collection | string | Collection name |
fn find_related(userId: string)
Given a user ID, search for related records in account, organization, and member collections.
| Argument | Type | Description |
|---|---|---|
| userId | string | User ID to search for related records |
Resources
queryResults(infinite)— Query results from MongoDB
03Skills
mongodb1 file
04Previous Versions
2026.04.22.3Apr 22, 2026
2026.04.22.2Apr 22, 2026
2026.04.07.1Apr 7, 2026
Bump versions; add insert method for writing documents
Added 1 skills
2026.04.06.1Apr 7, 2026
2026.03.29.1Mar 29, 2026
2026.03.10.2Mar 10, 2026
2026.03.10.1Mar 10, 2026
2026.03.04.1Mar 10, 2026
05Stats
A
100 / 100
Downloads
44
Archive size
363.2 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/keeb/swamp-mongodb06Platforms
07Labels