Infrastructure MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Infrastructure MCP Server check my production profile for infrastructure drift"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Infrastructure MCP Server
An independently authored, read-only Model Context Protocol server by berkeleyo. It exposes
allowlisted multi-vendor infrastructure discovery, desired-state drift analysis, validation, and
bounded network diagnostics to compatible AI clients. Provider discovery is delegated to the
commit-pinned multi-vendor-infrastructure-automation package rather than duplicated here.
Offline inventory and mocked network boundaries are tested. No live cloud or firewall connectivity is claimed or required.
Architecture
flowchart LR
C[MCP client] -->|stdio JSON-RPC| S[MCP SDK server]
S --> A[Authorisation and typed validation]
A --> I[Inventory service]
A --> D[Bounded diagnostics]
I --> P1[Project 1 package]
P1 --> F[Offline fixtures]
P1 --> L[Authorised read-only providers]
D --> PUB[Allowlisted public destinations]
S --> AUD[Redacted audit events on stderr]Related MCP server: emfirge
Tools
Tool | Purpose |
| Configuration readiness, explicitly not live connectivity |
| Normalized inventory for an allowlisted profile |
| Deterministic desired/actual comparison |
| Project 1 schema validation without live calls |
| Bounded A, AAAA, CNAME, MX, and TXT lookups |
| Certificate, SAN, validity, cipher, and protocol inspection |
| Body-free HEAD/GET status, timing, and safe headers |
| Configured capabilities without connection claims |
Install and run
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'
INFRA_MCP_CONFIG=examples/server.yaml .venv/bin/infrastructure-mcp-serverExample client configuration:
{
"mcpServers": {
"infrastructure": {
"command": "/absolute/path/infrastructure-mcp-server/.venv/bin/infrastructure-mcp-server",
"env": {"INFRA_MCP_CONFIG": "/absolute/path/infrastructure-mcp-server/examples/server.yaml"}
}
}
}The host chooses the executable, configuration, environment, credentials, and OS permissions. Tool approval prompts are useful UX but are not the security boundary. AI clients can select only preconfigured aliases—not arbitrary paths, hosts, URLs, or commands.
Run the deterministic offline suite with scripts/verify.sh. See RUNBOOK.md,
security, and integration.
Lifecycle
Plan → Build → Test → Deploy → Operate → Improve: define trust boundaries and least privilege; implement typed read-only tools; test protocol and adversarial paths; package without cloud changes; operate with host-controlled profiles and redacted audit events; improve from reviewed evidence.
Known limitations
Live providers have not been smoke-tested by this repository.
Diagnostics deliberately reject redirects, private/reserved addresses, and arbitrary paths.
HTTP and TLS connect to the validated IP while preserving Host/SNI verification, preventing a second hostname resolution. Run the stdio process with network egress controls for defence in depth.
Stdio is local only; no remote HTTP transport or multi-user authentication is supplied.
Available Tools
8 toolsdetect_infrastructure_driftCRead-onlyIdempotent
Compare discovered resources with an allowlisted desired state.
Inputs: profile (required), desired_state (required). Returns: object
diagnose_dnsBRead-onlyIdempotent
Resolve bounded DNS record types for an allowlisted public destination.
Inputs: destination (required), record_types. Returns: object
diagnose_httpBRead-onlyIdempotent
Make a bounded body-free HTTP diagnostic to an allowlisted destination.
Inputs: destination (required), method. Returns: object
diagnose_tlsARead-onlyIdempotent
Inspect TLS metadata for an allowlisted public HTTPS destination.
Inputs: destination (required). Returns: object
discover_infrastructureCRead-onlyIdempotent
Discover normalized resources from an allowlisted inventory profile.
Inputs: profile (required). Returns: object
infrastructure_healthARead-onlyIdempotent
Return configuration readiness; this does not assert live connectivity.
Inputs: no named parameters. Returns: object
list_available_capabilitiesARead-onlyIdempotent
List tools, configured providers and resource types without claiming connectivity.
Inputs: no named parameters. Returns: object
validate_infrastructure_configARead-onlyIdempotent
Validate a configured profile without contacting live providers.
Inputs: profile (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes: the diagnose_* tools target TLS, DNS, and HTTP separately, while discovery, drift detection, and validation cover different lifecycle stages. The main overlap is between infrastructure_health, validate_infrastructure_config, and list_available_capabilities, which all report static configuration/readiness information and could be confused in some contexts.
The names are consistently snake_case and mostly follow a verb_noun pattern such as diagnose_tls, discover_infrastructure, and validate_infrastructure_config. The main minor deviation is infrastructure_health, which is a noun phrase rather than a verb-led action, but it remains readable and predictable.
Eight tools are well-scoped for an infrastructure diagnostics and validation server. Each tool maps to a distinct operational concern, and there are no obviously redundant or filler tools.
The surface covers discovery, drift detection, configuration validation, health/readiness, capability listing, and bounded TLS/DNS/HTTP diagnostics, which is strong for a read-only infrastructure inspection server. Minor gaps remain around deeper resource inspection or explicit live-connectivity checks, though the descriptions suggest those omissions may be intentional safety constraints.
Maintenance
Related MCP Connectors
Unified API to query AWS, GCP, Azure and generate Terraform/CLI execution kits for AI agents.
Public AI web-readiness scanner and machine-facing observability discovery service.
Cloud cost, inventory and governance on AWS/Azure/GCP. Read-only by default, optional scoped writes
Infrastructure context for any AI: VMware, Nutanix, Kubernetes and cloud. Read-only, off production.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to inspect and audit Azure Landing Zones by inventorying resources, auditing tagging, evaluating policy compliance, and detecting infrastructure drift, all in read-only mode.-
- FlicenseNot gradedqualityBmaintenanceEnables AI to scan AWS accounts, analyze attack paths, and verify security fixes on a read-only graph of cloud resources.5-
- AlicenseAqualityCmaintenanceEnables AI agents to run read-only AWS security audits and receive normalized, severity-ranked findings about account posture, such as stale access keys, missing MFA, public buckets, open security groups, and CloudTrail coverage.11MIT
- AlicenseBqualityCmaintenanceEnables read-only scanning and graph mapping of a cloud estate, revealing public exposure, connectivity, firewall and NSG rules, identity permissions, and RBAC with cited evidence.16MIT