Skip to main content

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 implementation
  • requirements.txt - Project dependencies
  • examples/ - Optional example clients and usage demonstrations

Quick Start

  1. Install DIE (Detect It Easy) command-line tool
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. 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.

Metadata

Release files for iflow-mcp-lazy-importer-die 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp-lazy-importer-die 0.1.0
File Size Uploaded
iflow_mcp_lazy_importer_die-0.1.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp-lazy-importer-die 0.1.0
File Interpreter ABI Platform
iflow_mcp_lazy_importer_die-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / iflow_mcp_lazy_importer_die-0.1.0.tar.gz

Download URL iflow_mcp_lazy_importer_die-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d9eb8ebc0317c932b359960080ec8934b45bdff13af8e15099158e0696c2640f
BLAKE2b-256 checksum
How to use checksums
29139171e21f7fe06a68180513b79850f24b46ecc4ee912fa5cb2d821cd645f6
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / iflow_mcp_lazy_importer_die-0.1.0-py3-none-any.whl

Download URL iflow_mcp_lazy_importer_die-0.1.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2c4ad5588e36822eb7b279321cd6a282fecb88aa017788bbf12aa69c25e7ca0
BLAKE2b-256 checksum
How to use checksums
a45450cc9e8c4fd4d4810fd58689f08938e4ba4e3856cf662c9e29239f492626
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page