Dnspy MCP 标志

Dnspy MCP

社区
tuna1999

MCP extension for dnSpy

发布者tuna1999
代码仓库dnspy-mcp
语言C#
复刻数
17
星标数
72
可用工具
0
传输类型stdio
链接
  • 将工具接入 AI 工作流

    Dnspy MCP 提供 MCP 功能,可供兼容的 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.

将 Dnspy MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Dnspy MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Dnspy MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Dnspy MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "dnspy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Dnspy MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Dnspy MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Dnspy MCP 帮我完成这项任务吗?
Dnspy MCP
当然,我看过了。
以下是我使用 Dnspy MCP 得到的结果。

常见问题

Dnspy MCP MCP 服务器有什么用途?

Dnspy MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Dnspy MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Dnspy MCP。

为什么在 TypingMind 中使用 Dnspy MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Dnspy MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Dnspy MCP MCP 连接到 TypingMind?

Dnspy MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Dnspy MCP MCP 在 TypingMind 中提供哪些工具?

Dnspy MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Dnspy MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Dnspy MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇