infra-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | No | Optional GitHub personal access token for fetching deployment data | |
| INFRA_SSH_HOST | Yes | SSH hostname or IP of the target VPS | |
| INFRA_MAX_LOG_LINES | No | Maximum number of log lines to return (default: 500) | 500 |
| INFRA_PUBLIC_DOMAIN | Yes | Public domain for resolving service URLs (e.g., example.com) | |
| INFRA_ALLOWED_SERVICES | Yes | Comma-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
| Capability | Details |
|---|---|
| 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
| Name | Description |
|---|---|
| infra_status_toolA | List every container in the compose stack with state + status string.
|
| infra_logs_toolB | Tail logs from one compose service.
|
| 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.
|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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