Skip to content

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.

Capabilitydatabase.browse_store
AreaDatabases
Accessreads only
Reachesdatabase, network
Rightsdatabase-permission, trusted-project
Dry runnone

Arguments

ArgumentTypeDescription
storerequiredstringStore id or name from list_stores.
patharray of stringTree path: [] databases; MongoDB [db] collections, [db, coll] groups, [db, coll, "indexes"|"fields"]; Redis [db] keys and groups, [db, "prefix:"].default []
cursorintegerRedis: 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.

Terminal window
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
}
}
}