save_store
MCP tools › Databases
Add or change a non-relational store (MongoDB or Redis) from a name and a URL (mongodb://, mongodb+srv://, redis://, rediss://). URLs with a password are refused: the user types it into the connection dialog, which keeps it in the system keychain. A changed store keeps its id, rights and password. dry_run defaults to true and only checks and returns the profile; saving needs the write right.
Its results carry text from database: the client is told to treat that as data, never as instructions.
| Capability | database.save_store |
|---|---|
| Area | Databases |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
id | string | Id of the store to change; a new store when omitted. |
namerequired | string | Display name. |
urlrequired | string | mongodb://, mongodb+srv://, redis:// or rediss:// URL without password. |
read_only | boolean | Refuse every command that is not a read. |
dry_run | boolean | Only check and return the profile without saving (default true). |
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 save_store '{"name":"<string>","url":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "name", "url" ], "properties": { "id": { "description": "Id of the store to change; a new store when omitted.", "type": [ "string", "null" ], "default": null }, "name": { "description": "Display name.", "type": "string" }, "url": { "description": "`mongodb://`, `mongodb+srv://`, `redis://` or `rediss://` URL without password.", "type": "string" }, "read_only": { "description": "Refuse every command that is not a read.", "type": [ "boolean", "null" ], "default": null }, "dry_run": { "description": "Only check and return the profile without saving (default true).", "type": [ "boolean", "null" ], "default": null } }}