New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@iffrce/mcp-dotnetdc

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

@iffrce/mcp-dotnetdc

unpublished
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
6
-25%
Maintainers
1
Weekly downloads
 
Created
Source

MCP .NET Decompiler Server (mcp-dotnetdc)

A Model Context Protocol (MCP) server that decompiles .NET assemblies (.dll/.exe) using ILSpy's command-line tool (ilspycmd). Returns decompiled source code via MCP stdio.

Features

  • Decompile entire .NET assemblies
  • Target a specific type via fully qualified name
  • Output language selectable (e.g., CSharp or IL) depending on ilspycmd support
  • Clean temp directory management
  • MCP stdio transport

Prerequisites

  • Node.js 16+
  • .NET SDK
  • ilspycmd (global tool)
    • Install: dotnet tool install -g ilspycmd

Run

从源码运行

npm install
npm start

作为 MCP 服务器

Use any MCP client and point it to run this server. Example with MCP Inspector:

npx @modelcontextprotocol/inspector node ./index.js

### 通过 npx 直接运行

无需克隆仓库,可直接使用 npx 执行(将自动下载本包并以 stdio 模式启动 MCP 服务器):

```bash
npx -y @iffrce/mcp-dotnetdc

在 MCP 客户端中配置命令为:

{
  "command": "npx",
  "args": ["-y", "@iffrce/mcp-dotnetdc"]
}

## MCP Tools

### decompile-dotnet-assembly

- `assemblyPath` (required): Absolute path to .dll or .exe
- `typeName` (optional): Fully qualified type name (e.g., `Namespace.TypeName`)
- `language` (optional): Output language, e.g., `CSharp` or `IL`

Example request:

```json
{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "mcp.tool.execute",
  "params": {
    "tool": "decompile-dotnet-assembly",
    "args": {
      "assemblyPath": "/absolute/path/to/App.dll",
      "typeName": "MyCompany.Product.Foo",
      "language": "CSharp"
    }
  }
}

Notes

  • Requires ilspycmd on PATH. If missing, the server returns guidance on installing it.
  • Output concatenates all produced .cs/.il files with headers indicating relative file paths.

License

ISC

FAQs

Package last updated on 21 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts