List services
list_servicesRetrieve all systemd services on a local or remote host to check service status and support Linux troubleshooting over SSH.
Instructions
List all systemd services.
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": {
"host": "<host>"
},
"name": "list_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | System to run on: 'localhost' for the system the MCP server runs on, or a remote host to connect to via SSH |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |