inspect_ssl
Inspect TLS certificate, cipher suite, and protocol configuration for a single domain
host必填portprobescheckHsts
io.github.GuardBee由 GitHub 帳號 GuardBee 發布v0.5.1更新於 Nov 3, 2026
TLS certificate/cipher/protocol inspection
本機 MCP 伺服器,用來檢查網域的 TLS 憑證、加密套件、協定設定與 HSTS,讓助理評估 SSL 設定與到期狀況。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch
[npm version] [npm downloads] [License: MIT]
An MCP server that inspects TLS certificates, cipher suites, and protocol configuration for any domain. Uses Node.js's built-in tls module — no external dependencies.
Telemetry is off by default. With
GUARDBEE_TELEMETRY=1it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields likecontent,tokenorpasswordare replaced with a placeholder. See@guardbee/mcp-telemetry.
Strict-Transport-Security header, max-age, includeSubdomainsAdd to claude_desktop_config.json:
You can ask Claude:
"Is example.com's SSL certificate valid?"
"When do these domains' certificates expire: example.com, api.example.com, shop.example.com"
"Is example.com using a weak cipher suite?"
Probes. One default handshake lands on the best protocol and cipher both sides share, so a server that also accepts TLS 1.0 or RSA key exchange looks fine. inspect_ssl and the CLI therefore make a few extra handshakes, each offering only the thing under test (TLS 1.0, TLS 1.1, TLS 1.3, RSA key exchange, DHE, weak cipher families). Weak families the runtime's own OpenSSL cannot offer (Node 22 builds have no 3DES/RC4/EXPORT) are listed as not tested rather than passed. --no-probes / probes: false skips them; inspect_ssl_bulk leaves them off unless asked.
In addition to MCP server mode, this can also be used directly as a CLI:
Exit codes: 0 = no issues · 1 = findings above threshold / expired cert · 2 = error
Create a guardbee.yml at your project root to persist CLI flags. CLI flags always override file settings.
See guardbee.example.yml for a sample file.
MIT — GuardBee
Questions, ideas, or a false positive? Start a thread in GitHub Discussions or open an issue. If GuardBee is useful to you, a ⭐ on the repository helps others find it.
來源:packages/ssl-inspector/README.md,提交 bc5997d
Inspect TLS certificate, cipher suite, and protocol configuration for a single domain
host必填portprobescheckHstsInspect TLS configuration for multiple domains in parallel
porthosts必填probesCheck certificate expiry for one or more domains and highlight certificates expiring soon
hosts必填warnDaysGet detailed certificate information for a domain including fingerprint, SANs, and issuer chain
host必填port已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
npm install -g @guardbee/mcp-ssl-inspector{ "mcpServers": { "guardbee-ssl-inspector": { "command": "npx", "args": ["-y", "@guardbee/mcp-ssl-inspector"] } }}┌─ example.com:443│ Protocol : TLSv1.3│ Cipher : TLS_AES_256_GCM_SHA384 (256 bit)│ Chain : depth=2 valid=yes│ Cert CN : example.com│ Validity : Mar 15 2024 → Jun 13 2024 (expires in 45 days)│ SANs : example.com, www.example.com│ Issuer : Let's Encrypt│ SHA-256 : AA:BB:CC:DD:...│ HSTS : enabled (max-age=31536000, includeSubdomains)│ ✅ No security issues found# Full TLS inspection for a single domainnpx @guardbee/mcp-ssl-inspector inspect example.com
# Multiple domainsnpx @guardbee/mcp-ssl-inspector inspect example.com api.example.com shop.example.com
# Custom portnpx @guardbee/mcp-ssl-inspector inspect example.com:8443
# Certificate expiry checknpx @guardbee/mcp-ssl-inspector expiry example.com api.example.com
# Fail only on criticalnpx @guardbee/mcp-ssl-inspector inspect example.com --fail-on=critical
# JSON outputnpx @guardbee/mcp-ssl-inspector inspect example.com --format=jsonssl-inspector: fail-on: high # critical | high | medium | low port: 443 hosts: # used when no domain is given on the CLI - example.com - api.example.com - shop.example.comname: SSL Checkon: workflow_run: workflows: ["Deploy"] types: [completed]
jobs: ssl-check: runs-on: ubuntu-latest steps: - name: Inspect SSL certificate run: npx @guardbee/mcp-ssl-inspector inspect ${{ vars.DOMAIN }} --fail-on=high
- name: Check cert expiry (warn if < 30 days) run: npx @guardbee/mcp-ssl-inspector expiry ${{ vars.DOMAIN }}name: Cert Expiry Monitoron: schedule: - cron: "0 9 * * 1" # Every Monday at 09:00
jobs: expiry: runs-on: ubuntu-latest steps: - name: Check certificate expiry dates run: | npx @guardbee/mcp-ssl-inspector expiry \ example.com \ api.example.com \ shop.example.com \ --format=jsonssl-inspect: image: node:20 script: - npx @guardbee/mcp-ssl-inspector inspect $DOMAIN --fail-on=high environment: name: production only: - mainnpm installnpm test # 12 unit testsnpm run build # TypeScript compile