{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ssh-mcp-test-environment": {
"type": "local",
// NOTE: With --log-rotation=daily/hourly, the actual log file name is suffixed,
// e.g. logs/ssh-mcp.log.YYYY-MM-DD (daily) or logs/ssh-mcp.log.YYYY-MM-DD-HH (hourly).
// If you want to write exactly to logs/ssh-mcp.log, use --log-rotation=never.
"command": [
"./target/release/ssh-mcp",
"--host=127.0.0.1",
"--port=2222",
"--user=test",
"--password=secret",
"--keepalive-interval=30",
"--keepalive-max=3"
// "--log-file=logs/ssh-mcp.log",
// "--log-format=json",
// "--log-rotation=daily"
],
"enabled": true
}
}
}