Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITHUB_TOKENNoOptional GitHub personal access token for fetching deployment data
INFRA_SSH_HOSTYesSSH hostname or IP of the target VPS
INFRA_MAX_LOG_LINESNoMaximum number of log lines to return (default: 500)500
INFRA_PUBLIC_DOMAINYesPublic domain for resolving service URLs (e.g., example.com)
INFRA_ALLOWED_SERVICESYesComma-separated list of allowed service names for restart operations

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
infra_status_toolA

List every container in the compose stack with state + status string.

stack picks which compose project when the box hosts several (multi-stack mode). Omit for the operator's configured default. Names come from INFRA_STACKS keys.

infra_logs_toolB

Tail logs from one compose service. since accepts 10m / 1h / 2d. grep is plain text.

stack picks which compose project (multi-stack mode); omit for default.

infra_disk_toolA

VPS disk + docker storage summary. Use before heavy rebuilds.

service_url_toolA

Resolve . and probe its HTTP status. Quick liveness check.

infra_deploys_toolC

Recent GitHub Actions runs across the configured deploy repos.

infra_restart_toolA

Restart a compose service. Requires confirm=true AND service in INFRA_ALLOWED_SERVICES.

stack picks which compose project (multi-stack mode); omit for default.

caddy_reload_toolA

Reload Caddy after a Caddyfile change. Requires confirm=true.

infra_prune_toolA

Reclaim docker disk space. Requires confirm=true.

target: 'build_cache' (safest), 'dangling_images', 'stopped_containers', 'all_images' (riskier — removes any image not used by a running container).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/odanree/infra-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server