Utilities
Calculate MD5/SHA1/SHA256 hash values for files and verify against expected hashes
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/file-hash-verifier' \
-F 'file=@/path/to/file.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/file-hash-verifier' \
-F 'file=/path/to/file.ext' \
-F 'algorithm=sha256' \
-F 'expectedHash=Enter expected hash value for verification...'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/file-hash-verifier| Name | Type | Required | Description |
|---|---|---|---|
| file | fileupload required | Yes | — |
| algorithm | select | No | — |
| expectedHash | text | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-file-hash-verifier": {
"name": "file-hash-verifier",
"description": "Calculate MD5/SHA1/SHA256 hash values for files and verify against expected hashes",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=file-hash-verifier",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "file-hash-verifier",
"arguments": {
"file": "https://example.com/file.ext",
"algorithm": "sha256",
"expectedHash": "Enter expected hash value for verification..."
}
}
}Questions or issues? Contact [email protected]