MCP server for Detect It Easy (DIE) executable file analysis
Project description
DIE (Detect It Easy) MCP Server
Overview
This project provides an MCP (Model Context Protocol) server that allows AI agents to use Detect It Easy (DIE) to analyze executable files. The server acts as a bridge between AI models and the DIE command-line tool.
Server Structure
die_server.py- Main MCP server implementationrequirements.txt- Project dependenciesexamples/- Optional example clients and usage demonstrations
Quick Start
- Install DIE (Detect It Easy) command-line tool
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python die_server.py --die-path "path/to/diec.exe" --transport stdio
Server Options
--transport {stdio,sse}: Transport mode (stdio or sse). Default: stdio--host HOST: Host to bind to (for SSE mode). Default: 0.0.0.0--port PORT: Port to listen on (for SSE mode). Default: 8080--die-path DIE_PATH: Path to the DIE command-line executable (diec.exe)
Available MCP Tools
The server exposes these DIE functionalities through MCP:
analyze_file
Analyzes an executable file with DIE.
{
"file_path": "path/to/file",
"json_output": true,
"deep_scan": false,
"entropy": false,
"verbose": false
}
show_special_info
Gets special file info for a specific method.
{
"file_path": "path/to/file",
"method": "Hash" # or other methods like "Entropy", "Info"
}
list_available_methods
Lists all available special methods for a file.
{
"file_path": "path/to/file"
}
Example Usage
See the examples/ directory for sample clients and usage demonstrations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_lazy_importer_die-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_lazy_importer_die-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9eb8ebc0317c932b359960080ec8934b45bdff13af8e15099158e0696c2640f
|
|
| MD5 |
073d14f39ded16514c16f1098822af37
|
|
| BLAKE2b-256 |
29139171e21f7fe06a68180513b79850f24b46ecc4ee912fa5cb2d821cd645f6
|
File details
Details for the file iflow_mcp_lazy_importer_die-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_lazy_importer_die-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2c4ad5588e36822eb7b279321cd6a282fecb88aa017788bbf12aa69c25e7ca0
|
|
| MD5 |
c03f34ea11d3060b0681d3b7c7760fa5
|
|
| BLAKE2b-256 |
a45450cc9e8c4fd4d4810fd58689f08938e4ba4e3856cf662c9e29239f492626
|