dsh-novel-writer — 网文写作体检
v8.3.1Offline 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
| Variable | What it is | |
|---|---|---|
DSH_NOVEL_WRITER_ROOT | optional | 书库根目录。优先级低于命令行 --root,高于当前工作目录。 |
DSH_NOVEL_WRITER_STATE | optional | 插件状态文件路径,默认 ~/.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-mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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