Skip to content

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.

Capabilitydatabase.export_connection
AreaDatabases
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
connectionrequiredstringConnection id or name from list_connections.
include_userbooleanKeep 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.

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