Λογότυπο Dnspy MCP

Dnspy MCP

Κοινότητα
tuna1999

MCP extension for dnSpy

Εκδότηςtuna1999
Αποθετήριοdnspy-mcp
ΓλώσσαC#
Forks
17
Αστέρια
72
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το Dnspy MCP παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    72 αστέρια και 17 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

dnSpy MCP Server

Build License: GPL v3

A Model Context Protocol (MCP) server for dnSpy — the .NET debugger and assembly editor — enabling AI agents to decompile, analyze, search, and patch .NET assemblies directly through dnSpy's engine.

Highlights

  • 55 MCP tools — static analysis, IL patching, and integrated debugger control (36 tools in headless)
  • Byte-identical decompiler output — powered by the same ICSharpCode.Decompiler pipeline dnSpy.exe uses
  • Two hosts, one core — run as a dnSpy extension (HTTP) or a standalone headless exe (stdio); identical tools and output
  • Zero-drag transport — the extension uses a minimal TcpListener-based HTTP transport, avoiding version conflicts with dnSpy's runtime
  • Hardened by default — loopback bind, constant-time token auth, concurrency caps, request-size limits, per-tool timeouts, serialized mutations
  • Batch-ready — JSON-RPC batch requests (send an array, get ordered results); requests run sequentially per connection, so use several connections for throughput

How It Works

Two hosts share one tool core (dnSpy.MCP.Core):

┌─ Extension (in dnSpy) ─────────────────┐   ┌─ Headless (standalone exe) ─────────┐
│ dnSpy loads extension → MCP Server     │   │ dotnet dnspy-mcp-headless.dll       │
│ menu → Start → TcpListener on :5150    │   │ --load foo.dll (repeatable, globs)  │
│              ↕                         │   │              ↕                      │
│   AI agent — HTTP POST (JSON-RPC 2.0)  │   │   AI agent — stdio (MCP SDK)        │
└────────────┬───────────────────────────┘   └──────────────┬──────────────────────┘
             └──────────► dnSpy.MCP.Core ◄──────────────────┘
                         (36 tools + decompiler bridge,
                          output identical to dnSpy.exe)
  • Extension — runs inside dnSpy with full UI integration (tree view, tabs, Output pane). Started manually from the MCP Server menu so WPF is fully initialized before any tool call touches the UI thread.
  • Headless — standalone stdio MCP server for batch analysis: same tools, same decompiled output, no UI, no dnSpy install required at analysis time (only the vendored decompiler DLLs in deps/).

Tools (55 total · 36 in headless)

Decompiler

ToolDescription
decompile_methodDecompile a method to C#. Accepts full name (Namespace.Class::Method), metadata token (0x06000001), or partial name
decompile_typeDecompile an entire type (all members) to C#
decompile_assemblyDecompile all types in the assembly (limited to 10 for brevity)

Search

ToolDescription
search_typesSearch types by name pattern. Use regex: prefix for regex matching
search_methodsSearch methods by name, optionally scoped to a specific type
search_stringsSearch string literals in method bodies
grepMulti-scope search across types, methods, and strings

Analysis

ToolDescription
get_method_ilRaw IL instructions with exception handlers
get_method_signaturesMethod metadata: parameters, return type, flags, generic params
get_type_hierarchyInheritance chain, interfaces, member counts
get_method_bodyIL bytes with MaxStack/InitLocals info
get_il_opcodes_formattedFormatted IL opcodes with offsets and line indices
update_method_bodyPatch a method body using C# statements (dry-run supported)

Cross-References

ToolDescription
get_xrefs_toFind all references to a method or field
get_calleesMethods and fields called by a method

Assembly

ToolDescription
load_assemblyLoad a .NET DLL/EXE into dnSpy by absolute path
close_assemblyUnload an assembly by simple name (case-insensitive)
list_loaded_assembliesList all loaded binaries: name, MVID, type count, path
assembly_overviewModule info, version, entry point, type count, references
assembly_list_namespacesAll namespaces in the loaded assembly
assembly_list_typesType listing with optional regex filter
assembly_get_referencesAssembly references (DLLs, NuGet packages)

Resources & Metadata

ToolDescription
get_resourcesList embedded resources
get_resource_dataRaw bytes of a specific resource
get_metadataPE headers, MVID, runtime version, sections

Type Inspection

ToolDescription
get_type_membersList all members of a type with optional filter
get_fieldsDetailed field info: type, access, static/const, values
get_propertiesProperty details: getter/setter, type, access

Custom Attributes

ToolDescription
get_attributesAttributes on assembly/type/method/field with filter
get_method_attributesShortcut: attributes on a specific method

Constants & Enums

ToolDescription
get_enum_valuesEnum members with name + value (hex + decimal)
search_constantsSearch const/literal fields across assemblies
get_global_namespacesList all types in the global namespace

UI & Navigation (Extension only)

ToolDescription
get_selected_nodeGet the currently selected node in dnSpy tree view
refresh_uiRefresh tree view UI after metadata changes

Rename

ToolDescription
rename_namespaceRename a namespace across matching types (dry-run supported)
rename_classRename one class in an assembly+namespace (dry-run supported)
rename_methodRename methods by exact or partial match (dry-run supported)

Debugger (Extension only — needs the dnSpy host; not in headless)

ToolDescription
debug_get_stateSession state: debugging/running, processes, current thread, last break
debug_list_processesAttachable .NET processes (pid, name, runtime, arch, filename)
debug_startStart an EXE or managed DLL (runtime: auto/netfx/dotnet); omitted/empty working_dir uses the target folder; break-at-entry by default
debug_attachAttach to a running .NET process by pid
debug_stopStop the session — stop (default) / detach / terminate (terminate is dry-run by default)
debug_continueRun all debuggee processes
debug_break_allRequest a break in all debuggees
debug_stepStep the current thread (into/over/out)
debug_wait_pausedBlock until paused (timeout_ms), then return the state
debug_set_breakpointBreakpoint on Namespace.Type::Method — binds on module load, no PDB needed
debug_delete_breakpointDelete an MCP breakpoint by id
debug_list_breakpointsList MCP breakpoints
debug_get_callstackActual runtime stack; optional pid/thread_id, no GUI selection change
debug_list_threadsPaused threads with process, OS/managed IDs and current-thread marker
debug_get_localsBounded runtime locals, arguments and this for an exact paused frame
debug_get_valueSafe instance-field/array page from a pause-scoped value ID
debug_dismiss_dialogDismiss dnSpy modal error dialogs after a failed launch

For modern .NET, managed images run through dotnet.exe; native apphost EXEs launch directly. For an apphost, load its companion managed DLL before setting method breakpoints. debug_start checks the actual process state, not just whether dnSpy accepted the asynchronous launch request.

Runtime inspection requires a fully paused managed frame. thread_id requires pid; omitted selectors use the current thread without changing GUI selection. frame_index=0 is the top frame. Pages use start_index >= 0, count=1..256 (default 64), with at most 4,096 retained values and 4,096 UTF-16 units per formatted field. Strings retain the engine's preview limit.

A successful debug_get_locals replaces the single snapshot and invalidates previous value_ids. Resume, step, stop and detach invalidate them even after another pause. debug_get_value does not evaluate expressions, getters, ToString, debugger displays/proxies or enumerators. Static/Results/Dynamic groups are blocked; static reads can trigger type initialization in this engine. Unavailable/optimized-out values retain provider errors rather than fake nulls.

Tips

  • Multiple assemblies? Call list_loaded_assemblies first; search tools accept an optional assembly parameter to scope results.
  • Method identifiers — all method-accepting tools resolve hex tokens, plain tokens, full names, then short names via one shared resolver. Prefer full names (Namespace.Class::Method) to avoid ambiguity.
  • Mutating tools (rename_*, update_method_body) are dry-run by default — pass dryRun: false to apply.

Getting Started

Prerequisites

  • dnSpy (.NET 10 build, e.g. dnSpyEx v6.6.0+)
  • .NET 10.0 SDK
  • deps/ folder with these DLLs synced from a dnSpy install (run pwsh scripts/sync-deps.ps1 -DnSpyBin <dnSpy>\bin):
    • dnSpy.Contracts.DnSpy.dll, dnSpy.Contracts.Logic.dll
    • ICSharpCode.Decompiler.dll, dnlib.dll
    • Headless-only: dnSpy.Decompiler.dll, dnSpy.Decompiler.ILSpy.Core.dll, ICSharpCode.NRefactory.dll, ICSharpCode.NRefactory.CSharp.dll, ICSharpCode.NRefactory.VB.dll

Configure DnSpyBin path

The project resolves dnSpy contract DLLs via the <DnSpyBin> MSBuild property in dnSpy.MCP.csproj:

xml
<DnSpyBin>..\..\deps</DnSpyBin>

Default path resolves to <repo>/deps/. To change it, edit this property or pass it at the command line:

powershell
dotnet build -p:DnSpyBin="D:\path\to\dnSpy\bin"

Build & Deploy

powershell
# 1) Build only (Release default)
pwsh scripts/build.ps1 -DnSpyPath "D:\tools\dnSpy"

# 2) Clean + build
pwsh scripts/build.ps1 -DnSpyPath "D:\tools\dnSpy" -Clean

# 3) Build + deploy into <DnSpyPath>\bin\Extensions
pwsh scripts/build.ps1 -DnSpyPath "D:\tools\dnSpy" -Deploy

# 4) Build + deploy to a custom folder
pwsh scripts/build.ps1 -DnSpyPath "D:\tools\dnSpy" -Deploy -DeployDir "D:\tools\dnSpy\bin\Extensions"

# 5) Debug build + deploy
pwsh scripts/build.ps1 -DnSpyPath "D:\tools\dnSpy" -Configuration Debug -Deploy

The script syncs deps/ from the dnSpy install, builds the solution, and deploys the extension. dnSpy must be closed before -Deploy.

OptionEffect
-DnSpyPath "<path>"Required: dnSpy folder (DLLs synced from its bin\)
-CleanClean before build
-DeployDeploy after build
-DeployDir "<path>"Custom deploy target (used with -Deploy)
-Configuration DebugBuild Debug instead of Release
-PublishHeadlessPublish the headless exe bundle

Build output paths

  • Build output (Release default): src/dnSpy.MCP/bin/Release/net10.0-windows/dnSpy.MCP.x.dll
  • Build output (Debug override): src/dnSpy.MCP/bin/Debug/net10.0-windows/dnSpy.MCP.x.dll
  • Runtime deploy (default): <DnSpyPath>/bin/Extensions/dnSpy.MCP.x.dll
  • Runtime deploy (custom -DeployDir): <DeployDir>/dnSpy.MCP.x.dll

Only these files should be copied to dnSpy's Extensions folder:

  • dnSpy.MCP.x.dll
  • dnSpy.MCP.Core.dll (required — hard dependency of dnSpy.MCP.x.dll; without it dnSpy silently fails to load the extension)
  • dnSpy.MCP.x.deps.json
  • dnSpy.MCP.x.pdb (optional for debugging)
  • dnSpy.MCP.Core.pdb (optional for debugging)

Do not copy the whole build/Extensions folder recursively into dnSpy (avoid nested Extensions/Extensions/ and stale dependency files).

Troubleshooting: if the extension loaded before but breaks after swapping DLL versions, delete dnSpy's cached MEF composition at %LOCALAPPDATA%\dnSpy\Startup64\net\dnSpy-mef-info.bin and restart dnSpy. The cache is keyed by extension DLL identity (path + timestamp + size + MVID); replacing a dependency (e.g. dnSpy.MCP.Core.dll) does not invalidate it.

Usage (Extension)

  1. Start dnSpy.exe
  2. Open a .NET assembly (.exe/.dll)
  3. Menu → MCP Server → Start
  4. Open View → Output (Alt+2) → select MCP Server to see logs
  5. Connect from an AI agent via http://127.0.0.1:5150/
Menu ItemAction
StartStart the MCP HTTP server
StopStop the MCP HTTP server
StatusShow running/stopped state and port
Show LogDisplay recent log entries
Clear LogClear log file and output window

Project Structure

dnspy_mcp/
├── src/
│   ├── dnSpy.MCP.Core/        # Shared library: 36 tools, McpContext, decompiler bridge
│   │   ├── Abstractions/      # IAssemblyLoader, ISourceDecompiler, IUIThreadScheduler,
│   │   │                      # ILogSink, ITreeRefreshNotifier
│   │   ├── Adapters/          # DnSpyDecompilerSourceProvider (shared by both hosts)
│   │   ├── Mcp/               # McpContext, ToolRegistry, McpServerHost (HTTP), JsonRpc
│   │   ├── Helpers/           # MethodResolver
│   │   └── Tools/             # 13 instance tool classes ([Description] methods)
│   ├── dnSpy.MCP/             # Extension (net10.0-windows, WPF, MEF) — HTTP transport
│   │   ├── Adapters/          # dnSpy-backed adapter implementations
│   │   ├── Tools/TreeViewTools.cs  # 2 UI-only tools (get_selected_node, refresh_ui)
│   │   └── TheExtension.cs    # MEF entry, composes McpContext
│   ├── dnSpy.MCP.Headless/    # Standalone exe (stdio MCP transport via MCP SDK)
│   │   ├── Program.cs         # Host + fail-fast startup + stdio server
│   │   ├── CliOptions.cs      # --load (globs) / --config / --help
│   │   └── Adapters/          # dnlib loader, reflection decompiler loader,
│   │                          # stderr log sink, mutation-lock filter
│   └── dnSpy.MCP.Tests/       # Unit + headless E2E tests (spawn real server process)
│       └── TestData/SampleLibrary/  # E2E fixture assembly
├── deps/                      # Vendored dnSpy DLLs (sync via scripts/sync-deps.ps1)
├── scripts/                   # build.ps1, sync-deps.ps1, verify-tool-count.ps1, mcp-probe.js
└── skills/                    # AI agent workflow guides

Headless Mode

For batch analysis without dnSpy running: same 36 tools, decompiler output byte-identical to dnSpy.exe, stdio transport (Claude Desktop / Cursor / VS Code can auto-spawn it).

powershell
# Build & publish
pwsh scripts/build.ps1 -DnSpyPath "D:\tools\dnSpy" -PublishHeadless

# Run directly from build output
dotnet src/dnSpy.MCP.Headless/bin/Release/net10.0-windows/dnspy-mcp-headless.dll --load path\to\target.dll

# Or from the published bundle
dotnet publish\headless\dnspy-mcp-headless.dll --load "path\to\*.dll"
  • --load, -l <path> — pre-load assemblies (repeatable, supports */? globs)
  • --config, -c <json> — reserved, currently unused
  • Logging goes to stderr only (stdout carries the MCP JSON-RPC frames)
  • Parallel mutation calls (rename_*, update_method_body) are serialized via a shared lock, mirroring the Extension transport

Client config (stdio):

json
{
  "mcpServers": {
    "dnspy-headless": {
      "command": "dotnet",
      "args": [
        "D:\\path\\to\\publish\\headless\\dnspy-mcp-headless.dll",
        "--load", "D:\\path\\to\\target.dll"
      ]
    }
  }
}

Configuration

Defaults live in src/dnSpy.MCP/Settings/McpSettings.cs and are editable in dnSpy via Options → MCP Server:

SettingDefaultDescription
Host127.0.0.1Loopback only by default; 0.0.0.0 binds all interfaces
Port5150TCP port for the HTTP transport
AutoStartoffStart the server when dnSpy launches
RequireAuth / ApiTokenoffRequire Authorization: Bearer <token> on every request
AllowedOriginsemptyCORS origins allowed to call the server (empty = CORS disabled)
MaxConcurrency4Max simultaneous in-flight requests
MaxRequestSizeMB1Request body cap
ToolTimeoutSeconds30Per-tool-call timeout (in-flight work is cancelled on expiry)

Security

  • Loopback by default — the server binds 127.0.0.1; binding 0.0.0.0 exposes it to the network, so pair it with RequireAuth.
  • Auth fail-closed — if RequireAuth is on but the token is empty, the server refuses to start. Tokens are compared in constant time (CryptographicOperations.FixedTimeEquals).
  • Mutation serialization — destructive tools (rename_*, update_method_body) run under an exclusive lock so parallel batch requests can't race on dnlib metadata.
  • Roslyn sandbox — IL patch compilation references only 5 core BCL assemblies plus the target assembly.
  • Cancellation — per-tool timeouts cancel the actual decompilation work, not just the HTTP response.

Logging

Logs are written to three destinations:

  • File: mcp-server.log in the dnSpy bin folder (rotates at 5 MB, keeps 3 backups)
  • In-memory: Viewable via MCP Server → Show Log
  • Output Window: View → Output → MCP Server (in dnSpy)

Connecting AI Agents

This MCP server exposes dnSpy's decompilation and analysis tools via the standard MCP protocol over HTTP at http://127.0.0.1:5150/. Most modern AI agents support HTTP MCP servers natively — no bridge package needed.

Claude Code (recommended)

Use the claude mcp add command to add the server. Choose a scope:

bash
# Local scope (default) — only this project, stored in ~/.claude.json
claude mcp add --transport http dnspy http://127.0.0.1:5150

# Project scope — shared with team via .mcp.json (check into git)
claude mcp add --transport http dnspy --scope project http://127.0.0.1:5150

# User scope — all your projects
claude mcp add --transport http dnspy --scope user http://127.0.0.1:5150

Project scope generates a .mcp.json at the project root:

json
{
  "mcpServers": {
    "dnspy": {
      "type": "http",
      "url": "http://127.0.0.1:5150"
    }
  }
}

Local/User scope writes to ~/.claude.json under the project path:

json
{
  "projects": {
    "/path/to/your/project": {
      "mcpServers": {
        "dnspy": {
          "type": "http",
          "url": "http://127.0.0.1:5150"
        }
      }
    }
  }
}

Other useful commands:

bash
claude mcp list          # list all configured servers
claude mcp get dnspy     # show config for a server
claude mcp remove dnspy  # remove a server

Other AI Editors

EditorConfig fileFormat
Cursor~/.cursor/mcp.json{ "mcpServers": { "dnspy": { "url": "http://127.0.0.1:5150/" } } }
VS Code (Cline/Roo).vscode/mcp.jsonSame as above

Verification

  1. Start dnSpy and open an assembly
  2. Menu → MCP Server → Start
  3. Check GET http://127.0.0.1:5150/health returns status and tool count, or list tools from your agent — you should see 38 MCP tools (decompile_method, search_types, grep, get_xrefs_to, assembly_overview, …)

If the agent does not auto-discover the tools, tell it: "Use the dnSpy MCP server at http://127.0.0.1:5150/ to access decompilation and analysis tools."

Adding New Tools

Tools are discovered at runtime via reflection. To add a new tool:

  1. Create a public sealed class in src/dnSpy.MCP.Core/Tools/ under the dnSpy.MCP.Core.Tools namespace, with a constructor taking McpContext
  2. Add instance methods public string MyTool(...) with a [Description("...")] attribute
  3. Parameters use [Description("...")] for documentation
  4. Run pwsh scripts/verify-tool-count.ps1 to keep docs and code in sync
csharp
using System.ComponentModel;
using dnSpy.MCP.Core.Mcp;

namespace dnSpy.MCP.Core.Tools {
    public sealed class MyTools(McpContext ctx) {
        [Description("Describe what this tool does")]
        public string MyTool(
            [Description("Parameter description")] string param1) {
            // Access loaded modules via the abstraction — works in both
            // Extension (dnSpy) and Headless (dnlib) hosts
            var docs = ctx.AssemblyLoader.GetDocuments();
            return $"Result: {param1} ({docs.Count} assemblies loaded)";
        }
    }
}

Method names are automatically converted to snake_case for the MCP protocol (e.g., MyTool → my_tool).

Architecture Notes

Why a custom TcpListener transport instead of MCP SDK?

The official MCP SDK (ModelContextProtocol 1.4.0) pulls Microsoft.Extensions.* 10.x dependencies that conflict with the versions dnSpy ships on its .NET runtime. This is a hard version conflict that cannot be resolved with binding redirects. The solution is a minimal custom HTTP transport over System.Net.Sockets.TcpListener. The headless exe runs in its own process, so it uses the MCP SDK's stdio transport without conflict.

Standalone build

The project references pre-built DLLs from deps/, enabling fast iteration without cloning the full dnSpy source. For integrated builds as part of dnSpy.sln, clone dnSpyEx and copy src/dnSpy.MCP/ into Extensions/.

Thread safety

MCP tools run on background threads. All WPF TreeView/UI access marshals to the UI thread via the IUIThreadScheduler abstraction (Dispatcher.Invoke in the Extension). Metadata mutation tools auto-refresh the tree view after changes.

Skills

The skills/ directory contains reusable workflow guides for AI agents working with this MCP server. These skills teach the AI how to think about common analysis tasks — it dynamically picks tools based on what it discovers, rather than following rigid steps.

Available Skills

SkillDescription
deobfuscate-dotnetDeobfuscate .NET binaries: string decryption, symbol renaming, control flow analysis, proxy call resolution, anti-tamper removal

Skill Structure

Each skill is a folder containing a SKILL.md file:

skills/
└── deobfuscate-dotnet/
    └── SKILL.md          # Skill definition (YAML frontmatter + instructions)

Installing Skills for Claude Code

Claude Code auto-discovers skills from .claude/skills/. To install:

bash
# Install a specific skill
cp -r skills/deobfuscate-dotnet .claude/skills/

# Or install all skills
cp -r skills/* .claude/skills/

After installing, the skill activates automatically when you describe a matching task — for example:

# These will trigger the deobfuscation skill:
"Giúp tôi decrypt các string trong binary này"
"Rename lại các class/method bị obfuscate"
"Binary này bị protect bằng gì? Phân tích giúp tôi"

No restart needed — Claude Code picks up new skills on the next message.

For Other AI Editors

If your AI editor supports custom instructions or system prompts, paste the content of SKILL.md directly into your configuration. The skill content is self-contained and editor-agnostic.

License

This project is licensed under GPLv3, consistent with dnSpy's license.

Χρησιμοποιήστε το MCP Dnspy MCP με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το Dnspy MCP, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το Dnspy MCP ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP Dnspy MCP.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "dnspy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του Dnspy MCP και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του Dnspy MCP.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω Dnspy MCP;
Dnspy MCP
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του Dnspy MCP.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP Dnspy MCP;

Το Dnspy MCP είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το Dnspy MCP MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το Dnspy MCP με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP Dnspy MCP με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το Dnspy MCP, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το Dnspy MCP MCP στο TypingMind;

Το Dnspy MCP λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το Dnspy MCP MCP στο TypingMind;

Το Dnspy MCP διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το Dnspy MCP MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το Dnspy MCP απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇