dshbase

插件目录 / Developer / dsh-netcatty

dsh-netcatty

已验证 · 实测可装 qq739844663

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-18最近推送
跨平台平台

功能简介

dsh-netcatty 插件

✅
我们的评价
可用 — 实测通过,早期项目

dsh-netcatty 插件 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-netcatty

简体中文

A DeepSeek Harness plugin that connects to Netcatty's official External MCP server. Netcatty remains the owner of SSH credentials, sessions, approvals, terminal execution, SFTP, Vault data, and port forwarding. The plugin only discovers the packaged launcher and registers the tools exposed by Netcatty in DSH.

Requirements

  • DeepSeek Harness with @deepseek-ai/dsh-mcp-client 0.1.0-rc.7 or newer.
  • Netcatty 1.1.80 or newer.
  • External MCP enabled in Netcatty under Settings > AI > External MCP.
  • Netcatty kept running while DSH uses its tools. The persistent External MCP mode is recommended.

Install

dsh plugin --profile web add https://github.com/qq739844663/dsh-netcatty

Restart the DSH Web host after installation. Netcatty tools are registered with the mcp__netcatty__ prefix.

For a headless profile:

dsh plugin --profile headless add https://github.com/qq739844663/dsh-netcatty

How it works

  1. The plugin locates Netcatty's packaged netcatty-external-mcp launcher in standard installation directories.
  2. A small stdio supervisor forwards MCP traffic and terminates the complete process tree when the plugin unloads. On Windows it follows the official launcher contract to use Netcatty's packaged runtime directly, avoiding shell interpretation of custom paths; macOS and Linux execute the launcher.
  3. The official DSH MCP client discovers Netcatty's current tool catalog and registers the tools under the netcatty namespace.
  4. Netcatty continues to enforce its External MCP permission mode and displays approval requests for protected operations.

The plugin does not parse Netcatty's Vault, read its saved credentials, or copy the discovery token. The official launcher reads the short-lived discovery file itself.

Custom locations

Set NETCATTY_MCP_LAUNCHER before starting DSH when Netcatty is installed in a nonstandard location:

$env:NETCATTY_MCP_LAUNCHER = 'D:\Apps\Netcatty\resources\app.asar.unpacked\electron\cli\netcatty-external-mcp.cmd'
dsh web

For a nondefault Netcatty profile, also set NETCATTY_EXTERNAL_MCP_DISCOVERY_FILE to that profile's external-mcp/discovery.json file. An explicit launcher path is trusted executable input; configure only a launcher you installed and verified.

The same values can be set per DSH profile in an override patch:

- id: netcatty-external-mcp
  config:
    launcherPath: D:\\Apps\\Netcatty\\resources\\app.asar.unpacked\\electron\\cli\\netcatty-external-mcp.cmd
    discoveryFile: C:\\Users\\me\\AppData\\Roaming\\Netcatty\\external-mcp\\discovery.json
    toolCallTimeoutMs: 120000
    failOnStartupError: false
    reconnect:
      enabled: true
      initialDelayMs: 1000
      maxDelayMs: 30000
      maxAttempts: 10

With failOnStartupError: false (the default), a missing Netcatty installation leaves the DSH profile running without Netcatty tools. Restart DSH after installing or enabling Netcatty.

Troubleshooting

  • Launcher was not found: install Netcatty or set NETCATTY_MCP_LAUNCHER.
  • Discovery file was not found: enable External MCP in Netcatty and keep the application running.
  • Tools do not appear after enabling External MCP: restart the DSH host so the initial MCP tool discovery runs again.
  • A write operation waits for approval: review the request in Netcatty. The plugin does not bypass Netcatty's permission policy.

Development

npm test
npm pack --dry-run

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-netcatty」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:qq739844663/dsh-netcatty

Headless(CLI)profile:

dsh plugin --profile headless add github:qq739844663/dsh-netcatty

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →