Sslmon MCP Server: SSL Certificate and Domain Monitoring
Monitor domain registration, expiration and SSL certificate validity with the Sslmon MCP server—query domain and HTTPS info instantly.
npx -y @firesh/sslmon-mcpOverview
Sslmon MCP Server is a lightweight Model Context Protocol (MCP) service that provides instant domain and HTTPS/SSL certificate information. It collects WHOIS data, domain registration and expiration dates, and TLS certificate details (chain, issuer, SANs, validity windows) and exposes them via an MCP-compatible API so agents and developer tools can query domain context on demand.
This is useful for automation, security tooling and LLM agents that need real-time domain health and certificate context for decision-making. Instead of running ad-hoc scans or parsing remote resources per request, Sslmon centralizes checks and returns structured, machine-friendly results suitable for monitoring, alerting, and embedding into larger workflows.
Features
- Domain WHOIS lookup: registrar, creation/expiration dates, registrant hints
- SSL/TLS certificate scan: chain, issuer, subject, SANs, notBefore / notAfter
- Live HTTPS checks: supported protocols, cipher details, redirect behavior, HSTS detection
- Expiry calculations: days until domain/SSL expiration
- Caching and TTL to avoid redundant network requests
- Simple HTTP/JSON MCP-compatible interface for programmatic consumption
- Docker-friendly and suitable for embedding with LLM/MCP agents
Installation / Configuration
Clone the repository and run with Docker or from source.
Clone repository:
Run with Docker (recommended):
Run from source (Go-based example):
# ensure Go is installed
Example environment variables / CLI flags:
- PORT (default 8080) — HTTP listen port
- CACHE_TTL (seconds) — cache duration for lookups
- LOG_LEVEL — debug/info/warn/error
- BIND_ADDRESS — address to bind (default 0.0.0.0)
Configuration file (optional, JSON/YAML):
Available Resources
Sslmon exposes a small set of queryable tools/resources intended for MCP agents and programmatic clients. Typical resources include:
- /api/domain (POST) — fetch WHOIS and registration info for a domain
- /api/ssl (POST) — scan TLS/HTTPS endpoint and return certificate + protocol info
- /api/summary (POST) — aggregated domain + SSL summary (convenience endpoint)
Example JSON request/response patterns:
Request (domain):
POST /api/domain
Response (domain):
Request (ssl):
POST /api/ssl
Response (ssl):
Note: exact endpoint paths and JSON fields are intentionally stable but may vary with releases—consult the repository README or API docs for the current schema.
Use Cases
- Certificate expiry alerting: poll /api/ssl or /api/summary for a fleet of domains and generate alerts when days_until_expiry < threshold