本项目的 MCP 服务器专注于哈希功能,支持多种哈希算法,还提供命令行工具,能满足交互式和非交互式操作需求,为用户提供便捷的哈希计算服务。
本项目提供了两种启动方式,你可以使用 Docker 快速运行,也可以直接安装 Python 包。
docker pull kunalpathak13/hashing-mcp-server:latest
docker run -it --rm kunalpathak13/hashing-mcp-server:latest
pip install hashing-mcp
# 计算字符串的 MD5 哈希
hashing-mcp calculate_md5 --text "hello world"
# 计算文件的 SHA256 哈希
hashing-mcp calculate_sha256 --file /path/to/file.txt
# 交互式模式
hashing-mcp shell
git clone https://github.com/kanad13/MCP-Server-for-Hashing.git
cd MCP-Server-for-Hashing
uv venv
source .venv/bin/activate # 对于 Linux/macOS
# 或者
.venv\Scripts\activate # 对于 Windows
uv pip install -e ".[dev]"
chmod +x build_and_push.sh
source .venv/bin/activate
./build_and_push.sh
本项目使用 MIT 许可证,详细信息请参阅 LICENSE 文件。