dsh-novel-forge
v1.11.1中文长篇写作 MCP Server:24 个工具,用硬门禁治理 AI 写长篇的失忆、设定崩坏与 AI 味
Values you need
| Variable | What it is | |
|---|---|---|
NOVEL_FORGE_ROOT | required | 小说工作区根目录(一本小说 = 工作区里的一个目录);GUI 客户端 cwd 不可控,务必显式设置 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add dsh-novel-forge -e 'NOVEL_FORGE_ROOT=<NOVEL_FORGE_ROOT>' -- npx -y --package=dsh-novel-forge@1.11.1 dsh-novel-forge-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"dsh-novel-forge": {
"args": [
"-y",
"--package=dsh-novel-forge@1.11.1",
"dsh-novel-forge-mcp"
],
"command": "npx",
"env": {
"NOVEL_FORGE_ROOT": "<NOVEL_FORGE_ROOT>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"dsh-novel-forge": {
"args": [
"-y",
"--package=dsh-novel-forge@1.11.1",
"dsh-novel-forge-mcp"
],
"command": "npx",
"env": {
"NOVEL_FORGE_ROOT": "<NOVEL_FORGE_ROOT>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NOVEL_FORGE_ROOT",
"id": "novel-forge-root",
"password": true,
"type": "promptString"
}
],
"servers": {
"dsh-novel-forge": {
"args": [
"-y",
"--package=dsh-novel-forge@1.11.1",
"dsh-novel-forge-mcp"
],
"command": "npx",
"env": {
"NOVEL_FORGE_ROOT": "${input:novel-forge-root}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.dsh-novel-forge]
command = "npx"
args = ["-y", "--package=dsh-novel-forge@1.11.1", "dsh-novel-forge-mcp"]
env = { "NOVEL_FORGE_ROOT" = "<NOVEL_FORGE_ROOT>" }For AI agents
- Ask the user for: NOVEL_FORGE_ROOT. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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_project, novel_outline, novel_character, novel_worldbook, novel_scene, novel_briefing, novel_write_chapter, novel_ledger, ….
- 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