Tools · v1.0.0 · by Pactify

MongoDB

pactify.mongodb

MongoDB tools for agents: list and describe collections, find, count and aggregate documents, and insert, update or delete documents you approve. Works with Atlas and self-hosted servers.

Install opens Jacker’s install sheet, which shows what the plugin can reach before anything is installed. The web page never installs. Get Jacker

What install doeswaiting
  1. 1Verify signature
  2. 2Show what it reaches
  3. 3You confirm
  4. 4Ready in Jacker
Install MongoDB in Jacker

Free · opens Jacker’s install sheet

Readme

MongoDB

Gives jacker's agents tools for a MongoDB database you choose: Atlas or self-hosted.

ToolWhat it doesRead-only
list_collectionsLists the database's collectionsyes
describe_collectionShows indexes, an estimated count and the fields seen in a sample of documentsyes
findFinds documents with a filter, projection and sort; at most 100yes
countCounts the documents matching a filteryes
aggregateRuns an aggregation pipeline with a $limit added; refuses $out and $mergeyes
insert_documentsInserts up to 100 documentsno
update_documentsUpdates one or many documents matching a filterno
delete_documentsDeletes one or many documents matching a filter; an empty filter is refusedno

Filters, documents and pipelines are Extended JSON: {"_id": {"$oid": "…"}} for an ObjectId. The read tools refuse $where, $function and $accumulator, which run code on the server.

jacker asks before an agent uses each tool for the first time in a project. Plan-mode runs can use only the read-only tools.

Settings
  • Connection string: mongodb+srv://user:password@cluster.example.mongodb.net/mydb. Use a database user with only the access you want agents to have; a read-only user keeps every write tool from working.
  • Database: optional; defaults to the database in the connection string.
Network

The plugin connects to the hosts in your connection string, so it asks for network access. Point it at a development database, not production.

We use only essential cookies to keep you signed in and the app working. With your consent we may enable optional analytics to help us improve e-volv. See our Privacy Policy and Terms.