SSL证书操作服务

一个基于FastMCP的SSL证书操作服务器,提供证书获取、自签名证书生成和证书解析功能。

  • by GitHub30
  • Python
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 GitHub30/ssl-mcp-server

使用说明

SSL MCP服务器

用于SSL证书操作的FastMCP服务器,内置 fastmcp, pyopenssl,以及 cryptography.

MCP服务器URL

https://sslmcp.fastmcp.app/mcp

特性

此MCP服务器提供以下工具:

  • get_certificate_and_chain:从远程服务器检索SSL证书及其完整链。
  • generate_self_signed_cert:生成用于开发目的的自签名SSL证书。
  • parse_certificate_pem:解析PEM编码的证书字符串以提取详细信息。

安装

  1. 克隆存储库:

    git clone https://github.com/GitHub30/ssl-mcp-server.git
    cd ssl-mcp-server
    
  2. 安装依赖项:

    pip install -r requirements.txt
    

用法

使用以下命令运行服务器 fastmcp:

fastmcp run server.py

发展

运行测试:

python test.py