Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPECTRE_LOG_LEVELNoLogging levelINFO
SPECTRE_AUDIT_LOG_PATHNoAudit log location~/.spectre/audit.log
SPECTRE_READ_ONLY_MODENoEnforce read-only operationtrue
SPECTRE_TLS_CERT_PATHSNoComma-separated certificate paths
SPECTRE_RESTIC_REPOSITORYNoRestic repository path
SPECTRE_BACKUP_DIRECTORIESNoComma-separated backup paths
SPECTRE_MAX_LOG_OUTPUT_BYTESNoOutput truncation limit65536
SPECTRE_COMMAND_TIMEOUT_SECONDSNoSubprocess timeout15
SPECTRE_ALLOWED_DOCKER_RESOURCESNoComma-separated allowlist
SPECTRE_ALLOWED_SYSTEMD_SERVICESNoComma-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

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 26 tools

Disambiguation3/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues