ssl-expiry-checker-mcp

ssl-expiry-checker-mcp

Enables checking SSL certificate expiry for any domain, with status indicators for validity and remaining days.

Category
Visit Server

README

SSL 证书到期检查器 MCP 服务器

一个基于 MCP (Model Context Protocol) 的 SSL 证书到期检查工具,可以快速检查任何网站的 SSL 证书有效期。

功能特性

  • 🔍 检查任意域名的 SSL 证书到期时间
  • ⏰ 计算证书剩余有效天数
  • 🚨 智能状态提示(已过期/即将过期/有效)
  • 🌐 支持多种 URL 格式输入

安装

确保已安装 Python 3.11 或更高版本,然后使用 uv 安装依赖:

uv sync

使用方法

作为 MCP 服务器运行

uv run main.py

在 Claude Desktop 中配置

编辑 Claude Desktop 配置文件:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

添加以下配置:

{
  "mcpServers": {
    "ssl-checker": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/ssl-expiry-checker-mcp",
        "run",
        "main.py"
      ]
    }
  }
}

工具说明

ssl_expiry_checker

检查给定网址的 SSL 证书有效期。

参数:

  • url (string): 要检查的网址,支持以下格式:
    • example.com
    • https://example.com
    • www.example.com

返回: 包含证书到期信息的详细报告

示例输出

**SSL 证书检查结果**
目标网址: https://example.com
域名: example.com
到期时间: 2026-12-31 23:59:59 UTC
剩余天数: 305 天
状态: ✅ 证书有效

状态说明

  • ✅ 证书有效: 剩余天数 ≥ 7 天
  • ⚠️ 证书即将过期: 剩余天数 < 7 天
  • ⏳ 证书将在今天过期: 剩余天数 = 0 天
  • 🚨 证书已过期: 剩余天数 < 0 天

技术栈

  • Python 3.11+
  • FastMCP
  • 标准库: ssl, socket, urllib

许可证

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured