export_connection
MCP tools › Databases
A workspace connection as a .idcsources file to share: no keychain reference, no agent permissions, no absolute file path, the user name only with include_user; lists what was left out. If its database system is user-added or imported, that definition comes along.
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | database.export_connection |
|---|---|
| Area | Databases |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
connectionrequired | string | Connection id or name from list_connections. |
include_user | boolean | Keep the user name (default false). |
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 export_connection '{"connection":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "connection" ], "properties": { "connection": { "description": "Connection id or name from `list_connections`.", "type": "string" }, "include_user": { "description": "Keep the user name (default false).", "type": [ "boolean", "null" ], "default": null } }}