Add a server
vs_servers_createAdd a server to watch. For AGENT servers the answer includes the dashboard page that shows the command to install the agent on the server. Your plan sets how many servers you can link.
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>",
"hostname": "<hostname>"
},
"name": "vs_servers_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | LINUX (default) or MACOS, for the server agent. | |
| name | Yes | Display name. | |
| tags | No | ||
| hostname | Yes | Host name of the server, unique in the workspace. | |
| ipAddress | No | Optional IPv4 or IPv6 address. | |
| description | No | ||
| environment | No | For example production (default) or staging. | |
| cpuThreshold | No | CPU percent that triggers an alert (1 to 100). | |
| diskThreshold | No | Disk percent that triggers an alert (1 to 100). | |
| monitoringMode | No | AGENT (install the Visual Sentinel agent on the server) or MANAGED_HOST (shared or managed hosting with no agent). | |
| hostingProvider | No | With MANAGED_HOST: HOSTINGER or OTHER. | |
| memoryThreshold | No | Memory percent that triggers an alert (1 to 100). | |
| hostingAccountKey | No | With MANAGED_HOST: the hosting account the sites share. | |
| notificationChannelIds | No | Alert channel ids for this server's alerts. |