AD

agentsmithers/dnspy-mcpserver-extension

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

238 stars 35 forks 品質 58 トレンド 22GPL-3.0

agentsmithers/dnspy-mcpserver-extensionは、https://github.com/agentsmithers/dnspy-mcpserver-extension.からインポートされたMCPサーバー候補です。

概要

agentsmithers/dnspy-mcpserver-extensionは、https://github.com/agentsmithers/dnspy-mcpserver-extension.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

これは自動化されたAI .NETリバースエンジニアリング用のdnSpy MCPServer拡張です \dnSpy\Extensions\Examples\AgentSmithers dnSpy MCPServer.Extensionは、MCPServerロジックを含むように更新され、いくつかの開始関数としてデコンパイルされたコードをLLMに戻す機能が追加されました。 これは進行中のプロジェクトで、今後もコマンドを追加していく予定です。

サーバーを実行するには、管理者として実行し、Httpサーバーが+:3001(現在リリースは3003に設定されています)およびストリーミング可能なMCPサーバーの*:50301でリリスニングできるようにします。

以下のコマンドで十分です。

推奨デバッグワークフロー:

ステップ1: dnSpyをStartup Projectとして設定していることを確認してください

ステップ2:ローンチ設定を開く ソリューションエクスプローラーで、プロジェクトを右クリックします プロパティを選択してください 左側のサイドバーで「Debug(またはDebugging)」をクリックしてください 次に「プロファイルのデバッグを起動するUI」へ行きます。

ステップ3:コマンドラインの引数を追加する コマンドラインの引数テキストボックスで、以下を入力してください: –extension-directory “$(SolutionDir)Extensions\Examples\Example1.Extension\bin\Debug\net48”

ステップ4:保存する 保存をクリックするか、Ctrl+Sを押してください プロパティウィンドウを閉じる

ステップ5:テスト F5キーを押すか、緑の再生ボタンをクリックしてください dnSpyは拡張機能を起動した状態で起動するはずです!

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

AgentSmithers dnSpyEx MCPServer Extension

This is a dnSpy MCPServer Extension for the use of automated AI .NET reverse engineering The \dnSpy\Extensions\Examples\AgentSmithers dnSpy MCPServer.Extension has been updated to include the MCPServer logic with a few starting function to feed the decompiled code back to the LLM. This is an ongoing project and I plan to continue to add commands as time persist.

To execute the server, run as Administrator so the the Http server may Listen on +:3001 (release is currently set to 3003) and *:50301 for the streamable MCP Server.

The following command will suffice:

Recommended debug workflow:

Step 1: Ensure dnSpy is set as Startup Project

Step 2: Open Launch Settings In Solution Explorer, right-click on your project Select Properties In the left sidebar, click on Debug (or Debugging) Then go to “Open debug launch profiles UI”

Step 3: Add Command Line Arguments In the Command line arguments text box, enter: –extension-directory “$(SolutionDir)Extensions\Examples\Example1.Extension\bin\Debug\net48”

Step 4: Save Click Save or press Ctrl+S Close the properties window

Step 5: Test Press F5 or click the green play button Your dnSpy should now launch with your extension loaded!

OR

cd {dnspy directory}

dnspy.exe --extension-directory {Path to extension} Example 1: dnspy.exe --extension-directory “C:\repos\dnSpy\Extensions\Examples\Example1.Extension\bin\Debug\net48”

Example 2 in CMD: C:\Users\user>“C:\Users\user\source\repos\DnSpy-MCPserver-Extension\dnSpy\dnSpy\bin\Debug\net48\dnspy.exe” --extension-directory “C:\Users\user\source\repos\DnSpy-MCPserver-Extension\dnSpy\dnSpy\bin\Debug\net48\Extensions”

OR

In alternative you may copy the release into the Extension folder within the dnSpy\Extensions\AgentSmithersMCPServer path.

Modifying the project

Ensure to compile the primary DnSpy Soultion (Clean and rebuild) so that the dependancies for “AgentSmithers DnSpyEx MCPServer” can use them for its own build. (Note: When compiling DnSpyEx you may have approx. ~20 errors, this will not prevent the 45 Projects from compiling)

Once dnSpy is fully cleaned and compiled, navigate to the Example1 Extension Project. In there is the modified code. Make your adjustments, compile then use the --extension-directory argument when executing DnSpy.exe to point to your projects extension path.

In alternative you may pull down the latest dnSpyEx then rename the Extension sample folder to another name and bring the modified extension folder over to recompile.

Compiling

Clean and rebuild (I used visual Studio 2026, I think you’ll need .NET Framework 4.8 and Core 10 Installed to compile the full solution)

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →