Spectre MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SPECTRE_LOG_LEVEL | No | Logging level | INFO |
| SPECTRE_AUDIT_LOG_PATH | No | Audit log location | ~/.spectre/audit.log |
| SPECTRE_READ_ONLY_MODE | No | Enforce read-only operation | true |
| SPECTRE_TLS_CERT_PATHS | No | Comma-separated certificate paths | |
| SPECTRE_RESTIC_REPOSITORY | No | Restic repository path | |
| SPECTRE_BACKUP_DIRECTORIES | No | Comma-separated backup paths | |
| SPECTRE_MAX_LOG_OUTPUT_BYTES | No | Output truncation limit | 65536 |
| SPECTRE_COMMAND_TIMEOUT_SECONDS | No | Subprocess timeout | 15 |
| SPECTRE_ALLOWED_DOCKER_RESOURCES | No | Comma-separated allowlist | |
| SPECTRE_ALLOWED_SYSTEMD_SERVICES | No | Comma-separated allowlist |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only infrastructure operations and diagnostics MCP server.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| host_cpu_memoryA | Return CPU, memory, load, and uptime information for the host. |
| host_disk_usageB | Return disk usage and inode information for mounted filesystems. |
| host_os_infoA | Return operating system and kernel information. |
| host_network_interfacesB | Return network interface status and addresses. |
| docker_daemon_healthB | Check Docker daemon health and container counts. |
| docker_containersB | List Docker containers with health and restart counts. |
| docker_container_healthC | Inspect health and state of a specific container. |
| docker_container_inspectB | Inspect a container's configuration and runtime details (secrets redacted). |
| docker_container_logsC | Return bounded logs for a container. |
| docker_imagesB | List Docker images. |
| docker_volumesB | List Docker volumes. |
| service_statusC | Return systemd service status. |
| journal_searchC | Search systemd journal logs with optional filters. |
| service_failure_diagnosticsC | Diagnose failures for a systemd service. |
| listening_portsB | List listening network ports and owning processes. |
| firewall_statusB | Return firewall status and rules. |
| ssh_config_auditB | Audit SSH server configuration. |
| tls_cert_expiryC | Check TLS certificate expiry for a host or local file. |
| security_baselineC | Run basic Linux security baseline checks. |
| backup_statusB | Return backup status for configured destinations. |
| backup_ageC | Return backup age for configured destinations. |
| backup_destination_verificationC | Verify a backup destination path. |
| restic_statusB | Return Restic repository status when configured. |
| incident_diagnoseC | Diagnose an incident using host, Docker, service, and security evidence. |
| backup_auditC | Audit backup posture and produce structured findings. |
| infrastructure_reportB | Generate a consolidated infrastructure report. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 26 tools
Most tools target a distinct resource (host, docker, systemd, backup), but there is real overlap between aggregate tools (incident_diagnose, infrastructure_report, backup_audit, security_baseline) and the granular tools that feed them, so an agent may pick the summary tool when a specific probe was intended. The backup family is especially dense (backup_status, backup_age, backup_audit, backup_destination_verification, restic_status), with status vs. age being a subtle distinction.
All names are snake_case noun/verb phrases with a predictable domain prefix (host_*, docker_*, service_*, backup_*). A few tools drop the prefix convention (listening_ports, firewall_status, tls_cert_expiry, journal_search), which is a minor inconsistency but still readable and unambiguous.
At 26 tools the surface is just over the heavy threshold, and the backup/security area carries several closely related variants that could be consolidated. The count is defensible for broad infrastructure observability, but it sits at the upper edge of what stays easy to navigate.
Coverage is strong for a read-only diagnostic server: host resources, Docker objects and logs, systemd/journal, network, firewall/SSH/TLS security, backups, and roll-up reports. Gaps remain around process-level inspection (top processes, open files), user/account and package/patch auditing, and non-journal log sources, but these are workable omissions.