dsh-novel-writer — 网文写作体检

v8.3.1
io.github.siweina/dsh-novel-writer Checked 6 hours ago Published 2 days ago

Offline 22-tool Chinese web-novel audits, live chat writing with draft mirror, per-book cleanup.

Has high-severity static-analysis findings pending human review.

Values you need

VariableWhat it is
DSH_NOVEL_WRITER_ROOToptional 书库根目录。优先级低于命令行 --root,高于当前工作目录。
DSH_NOVEL_WRITER_STATEoptional 插件状态文件路径,默认 ~/.dsh/dsh-novel-writer/state.json。

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add dsh-novel-writer -- npx -y --package=dsh-novel-writer@8.3.1 dsh-novel-writer-mcp dsh-novel-writer dsh-novel-writer-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "dsh-novel-writer": {
      "args": [
        "-y",
        "--package=dsh-novel-writer@8.3.1",
        "dsh-novel-writer-mcp",
        "dsh-novel-writer",
        "dsh-novel-writer-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "dsh-novel-writer": {
      "args": [
        "-y",
        "--package=dsh-novel-writer@8.3.1",
        "dsh-novel-writer-mcp",
        "dsh-novel-writer",
        "dsh-novel-writer-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "dsh-novel-writer": {
      "args": [
        "-y",
        "--package=dsh-novel-writer@8.3.1",
        "dsh-novel-writer-mcp",
        "dsh-novel-writer",
        "dsh-novel-writer-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.dsh-novel-writer]
command = "npx"
args = ["-y", "--package=dsh-novel-writer@8.3.1", "dsh-novel-writer-mcp", "dsh-novel-writer", "dsh-novel-writer-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: novel_books, novel_chapters, novel_read, novel_keywords, novel_new_chapter, novel_chapter_brief, novel_lexicon, novel_import, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json