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:
- Run the server:
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.
show_special_info
Gets special file info for a specific method.
list_available_methods
Lists all available special methods for a file.
Example Usage
See the examples/
directory for sample clients and usage demonstrations.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
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
- AsecurityAlicenseAqualityAiDD 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 -2971PythonApache 2.0
- -securityAlicense-qualityAn 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 -229PythonMIT License
- -securityAlicense-qualityA dynamic MCP server that automatically discovers Python files in a directory and exposes them as tools to any MCP-compatible AI client, allowing users to easily create and deploy custom AI tools.Last updated -PythonMIT License
- AsecurityAlicenseAqualityA lightweight MCP server that enables AI agents to perform deep codebase analysis by leveraging Gemini's massive context window for cross-file analysis and intelligent file selection.Last updated -47JavaScriptMIT License