
kernelerr/dnspy.extension.mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
kernelerr/dnspy.extension.mcp는 https://github.com/kernelerr/dnspy.extension.mcp.에서 가져온 MCP 서버 후보입니다.
개요
kernelerr/dnspy.extension.mcp는 https://github.com/kernelerr/dnspy.extension.mcp.에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
Claude와 같은 AI 어시스턴트가 모델 컨텍스트 프로토콜(MCP)을 통해 dnSpyEx를 통해 .NET 어셈블리를 다룰 수 있게 해줍니다: 디컴파일, 검색, 교차 참조 추적, IL 패치, 심볼 이름 변경, BepInEx / Harmony 코드 생성 등 총 32가지 도구가 포함됩니다.
중국어 / 中文说明: README.zh-CN.md 참조.
두 가지 방법으로 진행
| 머리 없는 | dnSpy 내부 | |
|---|---|---|
| 무엇을 실행하는가 | dnSpy.Extension.MCP.Headless.exe, 창이 없음 |
dnSpy 창 안에 있는 확장 |
| 시작 방법 | MCP 클라이언트가 필요할 때 실행하고 종료합니다 | dnSpy를 열고 서버 활성화를 켜세요 |
| 전송 | stdio | HTTP, http://localhost:3000 |
| 어셈블리 | 자체 어셈블리: AI가 open_files |
dnSpy에서 열린 모든 것을 (AI가 더 열어볼 수 있음) |
| 패치 및 이름 변경 | save_assembly가 작성할 때까지 메모리에 저장됨 |
동일하며, dnSpy의 트리와 탭에서 실시간으로 표시됩니다 |
| 어디서 구할 수 있을까요 | 올인원 집퍼 | 올인원 집 또는 플러그인 전용 DLL |
두 도구는 동일한 도구와 자원을 제공하며, 엔드 투 엔드 테스트 스위트는 서로 대응합니다. AI가 작업만 맡길 때는 헤드리스를 사용하고; 어셈블리를 직접 보고 싶을 때는 dnSpy를 사용하세요.
퀵 스타트
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
dnSpy MCP Extension
Lets AI assistants such as Claude work with .NET assemblies through dnSpyEx over the Model Context Protocol (MCP): decompile, search, follow cross-references, patch IL, rename symbols and generate BepInEx / Harmony code — 32 tools in all.
Chinese / 中文说明: see README.zh-CN.md.
Two ways to run it
| Headless | Inside dnSpy | |
|---|---|---|
| What runs | dnSpy.Extension.MCP.Headless.exe, no window |
The extension, inside the dnSpy window |
| How it starts | Your MCP client launches it when needed and stops it afterwards | You open dnSpy and turn on Enable Server |
| Transport | stdio | HTTP, http://localhost:3000 |
| Assemblies | Its own: the AI opens them with open_files |
Whatever is open in dnSpy (the AI can open more) |
| Patches and renames | In memory until save_assembly writes them |
The same, and shown live in dnSpy’s tree and tabs |
| Where to get it | The all-in-one zips | The all-in-one zips, or the plugin-only DLL |
Both serve the same tools and resources, and the end-to-end test suite runs against each. Use headless when you only want the AI to do the work; use dnSpy when you also want to look at the assemblies yourself.
Quick start
-
Download the all-in-one zip for your system from Releases (which one?) and unzip it, e.g. to
C:\Tools\dnSpy. -
Connect Claude. In Claude Code, either
- register the headless host — Claude Code starts it when needed:
claude mcp add --scope user dnspy -- "C:\Tools\dnSpy\dnSpy.Extension.MCP.Headless.exe" - or run
dnSpy.exe, tick View → Options → MCP Server → Enable Server, and register its URL:claude mcp add --scope user --transport http dnspy http://localhost:3000
For Claude Desktop and other clients, see Connecting a client.
- register the headless host — Claude Code starts it when needed:
-
Ask, in plain language:
“Open
C:\Games\MyGame\MyGame_Data\Managed\Assembly-CSharp.dll, find every method that uses the stringSAVEFILE, and show me the decompiledSaveGamemethod.”Claude picks the tools itself (
open_files→search_string_literals→decompile_method).
Installation
All-in-one zip (recommended)
Each zip on Releases is a complete dnSpy with the extension already installed and the headless host next to dnSpy.exe. Unzip it anywhere; there is nothing else to set up.
| File | dnSpy build | Needs |
|---|---|---|
dnSpy-MCP-win-x64.zip |
.NET 10, self-contained, x64 | Nothing — the runtime is included |
dnSpy-MCP-win-x86.zip |
.NET 10, self-contained, x86 | Nothing — the runtime is included |
dnSpy-MCP-net48.zip |
.NET Framework 4.8 | .NET Framework 4.8 (part of Windows 10 and later) |
Plugin-only (dnSpy already installed)
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"dnspy": {
"type": "stdio",
"command": "C:\\Tools\\dnSpy\\dnSpy.Extension.MCP.Headless.exe",
"args": []
}
}
}