infra-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| INFRA_MCP_CONFIG | No | Override the config path for the infra-mcp server. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_vmsA | Returns all configured VMs with reachability status and watched service names. Call this first in any session to discover available infrastructure. |
| get_service_statusA | Returns systemd state, uptime, and last 5 log lines for a service on a VM. Use for a quick health check before requesting full logs. |
| get_service_logsA | Returns bounded journald logs for a service, filtered by severity level. Filtering and line-capping execute on the VM before transmission. |
| get_log_fileA | Returns the last N lines of a log file on a VM, with optional grep pattern. Both grep and line-capping execute on the VM before any data is transmitted. |
| get_db_statusA | Returns health metrics for a configured database: connection counts, waiting locks, and long-running query count. |
| query_dbA | Executes a caller-supplied SELECT statement against a configured database, bounded by row limit. Only SELECT is permitted. |
| list_tablesA | Lists the tables of a configured database with their schema/namespace, in one bounded call — no column detail. Call this first to decide which tables are relevant before describing them. Set refresh=true to force a live re-read. |
| describe_tableA | Describes one named table — its columns and types, primary key, and foreign-key relationships — scoped to just that table, so you can author a correct (possibly multi-table) query directly. Indexes and comments are not included. Set refresh=true to force a live re-read. |
| get_infra_overviewA | Returns service statuses and database health for a named VM in a single call. Call this first when diagnosing any VM-level issue. Unreachable services or databases are listed with an error note rather than failing the whole call. |
| get_audit_logB | Returns recent entries from the local audit log (oldest first). |
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
- 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/esp4ce/infra-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server