
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A .NET reverse engineering toolkit implemented as a Model Context Protocol server that analyzes assemblies, extracts metadata, and inspects code structures via MCP tool calls.
MCPPOC - .NET Reverse Engineering via MCP is cataloged as an MCP server attributed to neoz. A .NET reverse engineering toolkit implemented as a Model Context Protocol server that analyzes assemblies, extracts metadata, and inspects code structures via MCP tool calls. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCPPOC - .NET Reverse Engineering via MCP are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Tools are exposed by the DnlibTools class with the McpServerTool attribute, covering operations such as loading assemblies, listing types by regex, decompiling methods by RID, and extracting control flow graphs.
Yes; a LoadAssembly call must precede analysis tools since all operations depend on an assembly being loaded first.
Yes, methods can be modified at the IL level with UpdateMethodInstructions, and changes can be saved via SaveAssembly.
README.md · a6e0c00a98fb · Fetched 2026-11-13 10:06:23 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
MCPPOC is a .NET reverse engineering toolkit implemented as a Model Context Protocol (MCP) server. Built using the dnlib library, it provides an API-driven approach to analyze .NET assemblies, extract metadata, and inspect code structures through the MCP communication protocol.
Clone the repository:
git clone https://github.com/neoz/mcp-dotnet
cd mcp-dotnet
Build the project using the .NET CLI:
dotnet build
Run the MCP server:
dotnet run
MCPPOC implements the Model Context Protocol (MCP) to expose its .NET reverse engineering capabilities as a service. This allows any MCP-compatible client to interact with the toolkit and analyze .NET assemblies.
When running, MCPPOC provides an MCP server that processes commands through standard input/output. You can:
The DnlibTools class exposes all functionality as MCP server tools with the [McpServerTool] attribute. Each tool is self-documented with descriptive parameter information.
// Load an assembly for analysis
{
"jsonrpc": "2.0",
"method": "mcp/execute",
"params": {
"tool": "LoadAssembly",
"args": {
"AssemblyPath": "path/to/assembly.dll"
}
}
}
// List types matching a pattern
{
"jsonrpc": "2.0",
"method": "mcp/execute",
"params": {
"tool": "ListTypesRegex",
"args": {
"pattern": "System\\..*",
"offset": 0,
"pageSize": 100
}
}
}
// Decompile a method using its RID
{
"jsonrpc": "2.0",
"method": "mcp/execute",
"params": {
"tool": "Decompile_Method_By_RID",
"args": {
"rid": 42
}
}
}
// Extract a method's control flow graph
{
"jsonrpc": "2.0",
"method": "mcp/execute",
"params": {
"tool": "ExtractControlFlowGraph",
"args": {
"methodName": "Namespace.TypeName.MethodName"
}
}
}
MCPPOC implements the Model Context Protocol (MCP) server architecture, which offers several advantages:
When using MCPPOC via MCP, follow these guidelines for optimal results:
Sequential Workflow: Always start by calling the LoadAssembly tool before using any analysis tools. All operations depend on having an assembly loaded first.
Tool Selection Strategy:
ListTypesRegex and SearchTypes to find structures of interestGetMethodILBodyByRID or ListTypeDependenciesUpdateMethodInstructions to patch codePagination Support: Many tools support pagination with offset and pageSize parameters:
{
"tool": "FindStringLiterals",
"args": {
"offset": 100,
"pageSize": 50
}
}
Error Handling: All tools return meaningful error messages when operations fail:
LoadAssembly firstWorking with Large Assemblies:
Security and Permissions: Respect intellectual property and license restrictions when analyzing assemblies. The tool provides capabilities for legitimate reverse engineering scenarios only.
Here's an example of a complete reverse engineering session using the MCP protocol:
// 1. Load an assembly
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"LoadAssembly","args":{"AssemblyPath":"SampleApp.dll"}}}
// Response: {"jsonrpc":"2.0","id":null,"result":"Assembly 'SampleApp.dll' loaded successfully."}
// 2. Get metadata about the assembly
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"GetMetadata","args":{}}}
// Response: {"jsonrpc":"2.0","id":null,"result":"{\"AssemblyName\":\"SampleApp\",\"EntryPoint\":\"SampleApp.Program::Main\",\"MixedMode\":false}"}
// 3. Find interesting string literals
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"FindStringLiterals","args":{"offset":0,"pageSize":10}}}
// Response: [Array of string references]
// 4. Find methods that use a specific string
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"FindStringReferences","args":{"str":"password"}}}
// Response: [Array of method references]
// 5. Decompile an interesting method
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"Decompile_Method_By_RID","args":{"rid":42}}}
// Response: C# decompiled code
MCPPOC can extract and visualize method control flows, which is valuable for understanding complex methods:
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"ExtractControlFlowGraph","args":{"methodName":"Namespace.TypeName.MethodName"}}}
You can modify methods at the IL level for testing or debugging:
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"UpdateMethodInstructions","args":{"rid":42,"offset":10,"newInstruction":"ldstr \"Patched!\"\ncall void [System.Console]System.Console::WriteLine(string)"}}}
After analyzing or modifying an assembly, save the changes:
{"jsonrpc":"2.0","method":"mcp/execute","params":{"tool":"SaveAssembly","args":{"path":"Modified.dll","mixedMode":false}}}
VS Code can connect to MCPPOC as an MCP server to provide advanced .NET analysis capabilities directly within your editor:
Install the VS Code MCP Client extension:
code --install-extension ms-toolsai.vscode-mcp-client
Configure the extension in your settings.json:
"mcp.servers": [
{
"name": "MCPPOC",
"command": "dotnet",
"args": ["path/to/MCPPOC.dll"],
"capabilities": ["dnlib", "decompiler"]
}
]
Start the server from the Command Palette:
> MCP: Connect to Server > MCPPOC
Access MCPPOC tools from the VS Code MCP Client panel.
Claude can interact with MCPPOC to analyze .NET assemblies when properly configured:
Set up a Claude AI environment with MCP capabilities enabled.
Configure Claude to use MCPPOC as its MCP server:
{
"mcpServers": [
{
"id": "dotnet-analyzer",
"name": "MCPPOC",
"command": "dotnet run --project /path/to/mcp-dotnet/MCPPOC.csproj",
"documentationUrl": "https://github.com/neoz/mcp-dotnet"
}
]
}
In your conversations with Claude, you can instruct it to use MCPPOC tools:
Claude, please use the MCPPOC MCP server to analyze the MyApp.dll assembly and find all string literals.
For command-line usage, you can create scripts that communicate with MCPPOC via standard I/O:
# Start MCPPOC server
$mcpServer = Start-Process -FilePath "dotnet" -ArgumentList "run --project C:\path\to\mcp-dotnet" -RedirectStandardInput stdin.pipe -RedirectStandardOutput stdout.pipe -NoNewWindow -PassThru
# Load an assembly
$request = @{
jsonrpc = "2.0"
id = 1
method = "mcp/execute"
params = @{
tool = "LoadAssembly"
args = @{
AssemblyPath = "C:\path\to\assembly.dll"
}
}
} | ConvertTo-Json -Compress
# Send request to MCPPOC
$request | Out-File -FilePath stdin.pipe -Encoding utf8
$response = Get-Content -Path stdout.pipe
# Process response
Write-Host $response
# Start MCPPOC server
mkfifo request_pipe response_pipe
dotnet run --project /path/to/mcp-dotnet < request_pipe > response_pipe &
# Load an assembly
echo '{"jsonrpc":"2.0","id":1,"method":"mcp/execute","params":{"tool":"LoadAssembly","args":{"AssemblyPath":"/path/to/assembly.dll"}}}' > request_pipe
# Read response
cat response_pipe
Contributions are welcome! Please submit a pull request or open an issue to suggest improvements or report bugs.
This project is licensed under the MIT License. See the LICENSE file for details.
This tool is intended for educational and debugging purposes only. Use it responsibly and ensure compliance with applicable laws and regulations.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCPPOC - .NET Reverse Engineering via MCP from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-dotnet)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.