infra-diagnostics-mcp
Click on "Install 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., "@infra-diagnostics-mcpCheck if port 5432 is reachable on db.internal.example.com"
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.
infra-diagnostics-mcp
An MCP server exposing infrastructure diagnostic tools (port checks, DNS lookups, log parsing, system health, SSL cert inspection) over stdio.
Setup
cd /Users/kuuashwa/Desktop/Workspace/MyProjects/infra-diagnostics-mcp
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRelated MCP server: mcp-nettools
Run Standalone (for testing)
python server.pyThe server reads JSON-RPC from stdin and writes to stdout. Not useful to run manually — it's meant to be launched by an MCP client.
Add to opencode
Edit ~/.config/opencode/config.json:
{
"mcpServers": {
"infra-diagnostics": {
"type": "stdio",
"command": "/Users/kuuashwa/Desktop/Workspace/MyProjects/infra-diagnostics-mcp/.venv/bin/python",
"args": ["server.py"],
"cwd": "/Users/kuuashwa/Desktop/Workspace/MyProjects/infra-diagnostics-mcp"
}
}
}Available Tools
Tool | Description |
| TCP connectivity test with latency measurement |
| DNS record resolution (A, AAAA, MX, CNAME, TXT, NS) |
| Extract errors/warnings from log text |
| CPU, memory, disk, load average, open FDs |
| SSL certificate expiry and details |
Examples
Once connected via opencode, you can ask:
"Check if port 5432 is reachable on db.internal.example.com"
"Look up MX records for example.com"
"Parse these logs for errors: [paste logs]"
"Show current system health"
"Check the SSL cert on github.com"
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/ashwani983/infra-diagnostics-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server