remove_connection
MCP tools › Databases
Remove a database connection of the workspace and its password in the system keychain, as Delete in the Database tool window does.
| Capability | database.remove_connection |
|---|---|
| Area | Databases |
| Access | changes files, settings |
| Reaches | — |
| Rights | write |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
connection | string | Connection id from list_connections. |
id | string | The same, by its older name. |
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 remove_connectionInput schema as JSON
{ "type": "object", "properties": { "connection": { "description": "Connection id from `list_connections`.", "type": [ "string", "null" ] }, "id": { "description": "The same, by its older name.", "type": [ "string", "null" ] } }}