MCP -for-Hashing
A Model Context Protocol (MCP) server for calculating MD5 and SHA-256 hashes, complete with tools and guides for understanding and building MCP servers. Works with Claude Desktop & VSCode.
claude mcp add --transport stdio kanad13-mcp-server-for-hashing python -m hashing_mcp_server \ --env HASHING_MCP_SERVER_DEBUG="Set to 1 to enable verbose debugging (optional)"
How to use
This MCP server exposes two tools: calculate_md5 and calculate_sha256. They are designed to be invoked via MCP-compatible clients (for example, VS Code Copilot Chat or Claude Desktop). When you issue a request to calculate_md5, the server will compute the MD5 hash of the provided text. When you issue a request to calculate_sha256, it will return the SHA-256 hash of the input. To use these tools, configure your MCP client to point at the hashing MCP server entry (named hashing in the example). The client will send a request payload that asks the appropriate tool to process your input and will display the resulting hash. You can test basic usage by asking for the MD5 or SHA-256 hash of a sample string, e.g., “hello world” or “MCP is cool!”. The server is compatible with common MCP clients and can be run via Docker or directly in a Python environment as shown in the installation guide.
How to install
Prerequisites:
- Python 3.13+ is recommended
- A Python environment manager (venv or uv) is optional but recommended
- Access to install packages from PyPI
Option A: Running the server directly (Python)
- Create and activate a virtual environment (recommended):
python -m venv .venv
source .venv/bin/activate # Linux/macOS
.venv\Scripts\activate # Windows
- Install the hashing-mcp-server package:
pip install hashing-mcp-server
- Run the server module (if you want to test locally):
python -m hashing_mcp_server
Option B: Running via Docker (recommended for isolation)
- Pull the Docker image:
docker pull kunalpathak13/hashing-mcp-server:latest
- Run the container with STDIN kept open for MCP communication:
docker run -i --rm kunalpathak13/hashing-mcp-server:latest
- Configure your MCP client to connect using the docker command as shown in the README: e.g., {"command": "docker", "args": ["run", "-i", "--rm", "kunalpathak13/hashing-mcp-server:latest"]}
Additional notes
Tips:
- If you run via Docker, ensure Docker is installed and running on your host.
- When running directly, you can enable verbose debugging by setting HASHING_MCP_SERVER_DEBUG=1 in the environment.
- The MCP client configuration examples in the README use docker and direct-executable paths; adapt according to your environment and client docs.
- The npm_package field is not applicable for this Python-based server.
- If you encounter port or IPC issues, verify that the MCP client and server share the same IPC protocol and that you are using the correct tool names (calculate_md5 and calculate_sha256).
Related MCP Servers
boltmcp
MCP server from boltmcp/boltmcp
Remote
A type-safe solution to remote MCP communication, enabling effortless integration for centralized management of Model Context.
boilerplate
TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP integrations via Node.js.
janee
Secrets management for AI agents via MCP • @janeesecure
mcp -templates
A flexible platform that provides Docker & Kubernetes backends, a lightweight CLI (mcpt), and client utilities for seamless MCP integration. Spin up servers from templates, route requests through a single endpoint with load balancing, and support both deployed (HTTP) and local (stdio) transports — all with sensible defaults and YAML-based configs.
memory
A MCP (Model Context Protocol) server providing long-term memory for LLMs