Get service status
get_service_statusCheck the status of a specific systemd service on local or remote hosts to diagnose running, failed, or inactive services.
Instructions
Get detailed status of a specific systemd service.
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": {
"service_name": "<service_name>",
"host": "<host>"
},
"name": "get_service_status"
}
}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 | |
| service_name | Yes | Name of the systemd service |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |