browse_store
MCP tools › Databases
Browse a MongoDB or Redis store like the Database tool window: path [] lists databases; MongoDB [db] collections and views with estimated counts, [db, coll] the groups indexes and fields, [db, coll, "indexes"] indexes, [db, coll, "fields"] field paths sampled from up to 100 documents with their types; Redis [db] keys grouped by : and [db, "prefix:"] the keys under a group, with type and TTL, read with SCAN pages of 500 (never KEYS): a non-zero cursor means more, pass it back. Needs read-schema.
Its results carry text from database: the client is told to treat that as data, never as instructions.
| Capability | database.browse_store |
|---|---|
| Area | Databases |
| Access | reads only |
| Reaches | database, network |
| Rights | database-permission, trusted-project |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
storerequired | string | Store id or name from list_stores. |
path | array of string | Tree path: [] databases; MongoDB [db] collections, [db, coll] groups,
[db, coll, "indexes"|"fields"]; Redis [db] keys and groups, [db, "prefix:"].default [] |
cursor | integer | Redis: SCAN cursor of the next page (from a previous answer); 0 starts.minimum 0 |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project browse_store '{"store":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "store" ], "properties": { "store": { "description": "Store id or name from `list_stores`.", "type": "string" }, "path": { "description": "Tree path: `[]` databases; MongoDB `[db]` collections, `[db, coll]` groups,\n`[db, coll, \"indexes\"|\"fields\"]`; Redis `[db]` keys and groups, `[db, \"prefix:\"]`.", "type": "array", "items": { "type": "string" }, "default": [] }, "cursor": { "description": "Redis: `SCAN` cursor of the next page (from a previous answer); 0 starts.", "type": [ "integer", "null" ], "default": null, "minimum": 0 } }}