Skip to main content
Glama

DIE MCP Server

MIT License

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.

-
security - not tested
A
license - permissive license
-
quality - not tested

An MCP server that enables AI agents to analyze executable files using Detect It Easy (DIE), providing capabilities to examine file structures, detect packers, compilers, and gather other forensic information.

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    AiDD MCP Server provides a secure interface for AI agents to perform file system operations and code analysis, enhancing AI-assisted development workflows across multiple programming languages.
    Last updated -
    29
    64
    Python
    Apache 2.0
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    An MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.
    Last updated -
    5
    1
    JavaScript
  • -
    security
    A
    license
    -
    quality
    An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
    Last updated -
    179
    Python
    MIT License
    • Apple
    • Linux
  • -
    security
    A
    license
    -
    quality
    An MCP server that enables AI applications to interact with DiceDB databases.
    Last updated -
    4
    Go
    MIT License
    • Linux
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lazy-importer/D.I.E-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server