ssh_db_list
List databases on a remote server, or list tables (SQL) and collections (MongoDB) for a given database. Supports MySQL, PostgreSQL, and MongoDB. Read-only operation.
Instructions
Lists database objects on the remote server for the given engine without modifying anything. When database is provided it lists the tables (SQL) or collections (MongoDB) of that database; when omitted it lists all databases with common system databases filtered out. Supports mysql, postgresql, and mongodb. Returns the items and a count. Read-only and safe to call repeatedly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server": "<server>",
"type": "<type>"
},
"name": "ssh_db_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Database type | |
| dbHost | No | Database host (default: localhost) | |
| dbPort | No | Database port | |
| dbUser | No | Database user | |
| server | Yes | Server name | |
| database | No | Database name (if provided, lists tables/collections; if omitted, lists databases) | |
| dbPassword | No | Database password |