add_credential
Store a new SSH credential on the SSH MCP Server by specifying the host, username, and private key file path for secure remote command execution.
Instructions
Add a new SSH credential with private key file path
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": {
"name": "<name>",
"host": "<host>",
"username": "<username>",
"privateKeyPath": "<privateKeyPath>"
},
"name": "add_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| name | Yes | ||
| privateKeyPath | Yes | ||
| username | Yes |