Fanqi89/dsh-craft-anything

Craft Anything for DeepSeek Harness: mcp__craft__* MCP bridge to the local craft-anything CLI, with a clean-room/deep mode switch in the composer, a status page, a CLI runner and a SHA256-verified installer. 把 Craft Anything 接入 DSH 的插件。

What it solves

This plugin connects the open-source Craft Anything reverse-engineering engine to DeepSeek Harness (DSH). Craft Anything lets you study how any software works (websites, desktop apps, games, firmware, etc.) and then ask an AI coding agent to rebuild it. Without this plugin, you would need to manually run the Craft Anything CLI and manage tools yourself. The plugin brings all of Craft Anything's capabilities into DSH as native MCP tools, adds a clean/dirty mode switch, and provides status, installation, and update helpers.

How it works

The plugin registers a set of custom tools (craft_status, craft_cli, craft_install, craft_mode, craft_bridge) and a bridge that exposes Craft Anything's own MCP tools as mcp__craft__* inside DSH. The bridge runs a local craft-anything-cli mcp process; tool names and schemas are listed and loaded on demand. You can switch between "clean room" mode (only outside-looking tools, safe for inspection) and "deep mode" (allows reading internal code, files, etc.) via a dropdown in the chat toolbar or the craft_mode tool. The switch happens inside the bridge without disconnecting DSH — it waits for in-flight calls (up to 20s), then replaces the CLI subprocess and refreshes the tool list.

The plugin also provides a status page that shows local CLI installation, capabilities, and commands. It can download and install the official Craft Anything CLI from GitHub Releases with SHA256 checksum verification, and it can check for plugin updates and restart DSH automatically. A tool-schema normalizer fixes boolean schemas that would otherwise break grammar-based backends like basalt or llama.cpp. Security measures include localhost-only Host headers, Origin checks, session authentication, and a bearer token for all management API routes.

Who it’s for

Users of DeepSeek Harness (DSH) who want to research and reverse-engineer software targets directly from their DSH chat interface, and who want to use an AI coding agent (like Claude Code) to rebuild those targets. It is especially useful for developers and security researchers who need a clean, scriptable way to inspect binaries, websites, or apps and then spawn rebuild attempts.

Highlights

  • Exposes 30+ Craft Anything tools as MCP tools in DSH, with on-demand toolset loading (native, browser, android, java, managed, formats) and a whitelist to reduce token usage.
  • Clean-room / deep-mode switching without restarting DSH — in-flight calls are drained, then the CLI subprocess is swapped and tools refresh automatically.
  • One-click installation and updates of the official CLI, with SHA256 verification and automatic mirror fallback.
  • Status dashboard showing local CLI version, available engines (chromium, gdb, java, objdump, etc.), and integration health.
  • Tool-schema normalization prevents HTTP 400 errors on strict grammar backends caused by boolean subschemas.
  • Four-layer authentication for management APIs: Host whitelist, Origin check, DSH session validation, and a random bearer token.
  • Fully open source (MIT) and independent from ArtCraft/Storytold — it only adds a DSH integration layer, never modifies upstream code.

Related

  • Project
  • Project
  • Project
  • Project