feat: add in-process C# MCP server, Kestrel HTTP API, and AI skill#35
Open
doomedraven wants to merge 6 commits into
Open
feat: add in-process C# MCP server, Kestrel HTTP API, and AI skill#35doomedraven wants to merge 6 commits into
doomedraven wants to merge 6 commits into
Conversation
…atform .NET Framework builds
…atform .NET Framework builds
…erization # Conflicts: # de4dot.code/ObfuscatedFile.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes our integration suite by introducing native Model Context Protocol (MCP) server capabilities to
de4dotExover standard IO, alongside a lightweight, containerized HTTP Web API and a dedicated AI Skill for LLM agents.This connects de4dotEx directly to your AI development environment (Claude Desktop, Cursor, etc.).
Key Changes
Native C# Stdio/HTTP MCP Server (
de4dot.mcp):de4dot.mcpinside the cross-platform solution.stdin/stdout), exposing thedeobfuscatetool (acceptsfile_path,output_path, and custom native deobfuscationoptions).--httpflag) that accepts multipart/form-data uploads (fileand optional native CLIoptionsfields), processes them safely, and returns the cleaned binary directly in the HTTP body response.Unified Docker Integration:
Dockerfileto build and package bothde4dotandde4dot.mcpbinaries side-by-side, exposing port8080.entrypoint.shinside the container:de4dotCLI utility.--mcpruns the Stdio MCP server background process.--mcp --httpstarts the containerized Kestrel HTTP REST microservice.Gemini CLI Skill (
dotnet-deobfuscate/):dotnet-deobfuscateskill (SKILL.md) that injects expert-level triage instructions, parameters, and Detect It Easy (DiE) signature-to-de4dot-flag mappings directly into LLM agent contexts.Testing Client & Documentation:
test_api.shclient utility script to quickly upload and download cleaned files next to original directories with_cleanedsuffixes.README.md.