Back to Browse

webnovel-author MCP Server

Content & MediaUse Caution4.2Local
Free

AI-powered MCP server for writing webnovels — xianxia, LitRPG, romance, and all serial fiction.

About

webnovel-author turns any AI agent into a webnovel writing specialist. It manages your entire serial fiction project: characters, chapters, world-building, foreshadowing, timelines, LitRPG stats, romance arcs, and more — all stored in a local SQLite database. The free tier gives you 24 tools to scaffold and write your novel. Upgrade to Pro for knowledge graphs, semantic search, AI-powered continuity checks, and writing rules. Works with Claude Desktop, Claude Code, Windsurf, Cursor, VS Code Copilot, Cline, and any MCP-compatible client. Offline-first, zero-config, runs via npx.

Security Report

4.2
Use Caution4.2High Risk

This is a comprehensive MCP server for webnovel writing with appropriate permissions for its content management purpose. It includes SQLite database storage, local embeddings, and file I/O operations that align with its stated functionality. While there are some code quality concerns around error handling and input validation, the server follows good security practices with proper environment variable usage and no hardcoded credentials. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity).

4 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Pro license key for advanced features (knowledge graph, semantic search, continuity checks, rules). Purchase at Free tier works without any key.Optional

Environment variable: MCP_LICENSE_KEY

Purchase above for key
Path to your novel project directory. Defaults to the current working directory.Optional

Environment variable: WEBNOVEL_PROJECT_DIR

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "webnovel-author": {
      "env": {
        "MCP_LICENSE_KEY": "your-mcp-license-key-here",
        "WEBNOVEL_PROJECT_DIR": "your-webnovel-project-dir-here"
      },
      "args": [
        "-y",
        "webnovel-author"
      ],
      "command": "npx"
    }
  }
}

Getting Started

Once installed, try these example prompts and explore these capabilities:

  • 1"Initialize a new xianxia webnovel called Jade Peak Chronicles"
  • 2"Create a character named Lin Wei — a young cultivator, protagonist, age 16"
  • 3"Plan an arc for chapters 1-50 covering Lin Wei's entry into the Azure Sky Sect"
  • 4"Write the opening chapter of my novel with a strong hook"
  • 5"Track foreshadowing: a mysterious jade pendant that glows in moonlight, planted in chapter 1"
  • 6Tool: init_project — Create a new webnovel project with folder structure and config
  • 7Tool: create_character — Create a character sheet with full personality, motivation, and backstory
  • 8Tool: save_chapter — Save a written chapter and update project stats
  • 9Tool: track_foreshadowing — Track planted seeds and planned payoffs across your series
  • 10Tool: [Pro] run_continuity_check — Scan for 7+ types of continuity issues across your novel
  • 11Tool: [Pro] search_project — Semantic search across all chapters, characters, and world entries

Documentation

View on GitHub

From the project's GitHub README.

MCP server that turns any AI agent into a webnovel writing specialist.

Supports xianxia, LitRPG, progression fantasy, romance, isekai, fanfiction, and all serial fiction. 39 tools, 44 resources, 31 prompts. Offline-first, zero-config, runs via npx.

npm License: MIT MCP Marketplace


Quick Start

npx webnovel-author

No API keys, no accounts, no configuration. Add the server to your AI agent and start writing. The free tier includes 24 tools, all 44 resources, and all 31 prompts — enough to write an entire novel.

Need knowledge graphs, semantic search, and continuity checks? Upgrade to Pro for 15 additional power tools.


Features

Free Tier (24 tools)

  • Project scaffolding — Initialize a complete novel project with SQLite-backed persistence
  • Character management — Create, update, and track character sheets with changelogs
  • Chapter management — Outline, write, save, and organize chapters
  • World-building — Locations, factions, magic systems, cultures, species, items
  • Foreshadowing tracker — Plant seeds, track hints, schedule payoffs across hundreds of chapters
  • Timeline tracking — Story chronology with in-world dates and events
  • LitRPG stat blocks — Full RPG character stats, skills, inventory, equipment, quests
  • Romance arc tracker — Relationship stages, romantic moments, slow-burn pacing
  • Project export — Comprehensive project summary for backup or sharing
  • Migration — Import existing flat-file projects into SQLite

Pro Tier (15 additional tools)

  • Knowledge graph — Map all entity relationships and track how they evolve over chapters
  • Semantic search — Search your entire project by meaning, not just keywords (local ONNX embeddings)
  • AI writing context — Auto-assemble relevant context with token budget for optimal chapter writing
  • Similar scene finder — Avoid repetition by finding thematic callbacks and duplicate scenes
  • 7-type continuity checker — Overdue foreshadowing, stale characters, chapter gaps, orphaned entities, dead-end plots, relationship inconsistencies, timeline contradictions
  • Writing rules — Project-wide naming conventions, banned tropes, tone guidelines
  • Bulk file sync — Export DB to flat files and sync back for external editing

All Tiers

  • 44 resources — 10 writing craft guides, 6 genre guides, 5 platform guides, 12 templates, 10 dynamic project resources, 1 embedding config
  • 31 prompts — Writing (7), planning (6), characters (5), worldbuilding (5), maintenance (4), skill workflows (4)
  • Genre guides — Xianxia, LitRPG, progression fantasy, romance, isekai, fanfiction
  • Platform guides — Royal Road, Webnovel, ScribbleHub, Wattpad, AO3

Agent Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "webnovel-author": {
      "command": "npx",
      "args": ["-y", "webnovel-author"],
      "env": {
        "MCP_LICENSE_KEY": "mcp_live_..."
      }
    }
  }
}

Remove the env block to use the free tier.

Claude Code

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "webnovel-author": {
      "command": "npx",
      "args": ["-y", "webnovel-author"],
      "env": {
        "MCP_LICENSE_KEY": "mcp_live_..."
      }
    }
  }
}

Windsurf / Cursor / Cline / Roo Code

{
  "mcpServers": {
    "webnovel-author": {
      "command": "npx",
      "args": ["-y", "webnovel-author"],
      "env": {
        "MCP_LICENSE_KEY": "mcp_live_..."
      }
    }
  }
}

VS Code / GitHub Copilot

Add to .vscode/mcp.json:

{
  "servers": {
    "webnovel-author": {
      "command": "npx",
      "args": ["-y", "webnovel-author"],
      "env": {
        "MCP_LICENSE_KEY": "mcp_live_..."
      }
    }
  }
}

Environment Variables

VariableDescriptionDefault
MCP_LICENSE_KEYPro license key from MCP Marketplace(none — free tier)
WEBNOVEL_PROJECT_DIROverride project root directoryCurrent working directory
WEBNOVEL_DB_PATHOverride SQLite database path.webnovel/webnovel.db

Tools Reference (39 total)

Free Tools (24)

ToolDescription
init_projectInitialize a new webnovel project with folder structure and config
get_project_statusGet current project stats (chapters, words, arc progress)
create_characterCreate a new character sheet from template
get_characterRead a character sheet by name
list_charactersList all characters with their roles
update_characterUpdate character attributes with changelog tracking
create_chapter_outlineCreate a structured chapter outline from template
save_chapterSave a written chapter and update project stats
get_chapterRead a chapter by number
list_chaptersList all chapters with word counts
create_world_entryCreate a world-building entry (location, faction, magic system, etc.)
get_world_entryRead a world-building entry by name
list_world_entriesList all world-building entries
get_style_guideGet the webnovel writing style guide
track_foreshadowingAdd or update a foreshadowing element
get_foreshadowing_reportReport on foreshadowing status and due payoffs
track_timelineAdd a timeline entry for story chronology
get_timelineGet full story timeline
create_litrpg_statsCreate a LitRPG stat block (level, stats, skills, inventory)
update_litrpg_statsUpdate stats after level-ups, equipment changes, skill gains
create_romance_trackerCreate a romance arc tracker for a character pairing
update_romance_trackerUpdate romance progression (stages, moments, notes)
export_project_summaryExport comprehensive project summary
migrate_projectImport flat-file project into SQLite database

Pro Tools (15) — requires MCP_LICENSE_KEY

ToolDescription
run_continuity_checkScan for 7+ types of continuity issues across your novel
add_relationshipAdd a relationship between entities in the knowledge graph
get_entity_connectionsGet all relationships for an entity
query_graphQuery the knowledge graph by type, relationship, or entities
get_relationship_changesGet relationship history between two entities
search_projectSemantic search across the entire project by meaning
get_writing_contextAuto-assemble writing context with token budget
find_similar_scenesFind scenes similar to a description
check_consistencySemantic consistency check against your project
reindex_projectRebuild all semantic embeddings
export_to_filesExport database to flat files (markdown + JSON)
sync_from_filesSync external file edits back into the database
set_project_ruleAdd a project-wide writing rule
get_project_rulesGet all writing rules, optionally by category
delete_project_ruleDelete a writing rule

Resources (44)

Writing Craft Guides (10)

guide://pacing · guide://cliffhangers · guide://show-dont-tell · guide://dialogue · guide://fight-scenes · guide://power-systems · guide://cultivation-tiers · guide://serial-structure · guide://romance-pacing · guide://worldbuilding-checklist

Genre Guides (6)

genre://xianxia · genre://litrpg · genre://progression-fantasy · genre://romance · genre://isekai · genre://fanfiction

Platform Guides (5)

platform://royalroad · platform://webnovel · platform://scribblehub · platform://wattpad · platform://ao3

Templates (12)

template://novel-config · template://litconfig · template://character-sheet · template://chapter-structure · template://world-state · template://style-guide · template://character-sheet-xianxia · template://character-sheet-litrpg · template://arc-outline · template://magic-system · template://faction-sheet · template://series-bible

Dynamic Project Resources (10)

project://status · project://character/{name} · project://chapter/{number} · project://world/{name} · project://foreshadowing/active · project://foreshadowing/overdue · project://timeline · project://graph/{entity} · project://rules · project://continuity-report

System (1)

webnovel-author://embedding-config


Prompts (31)

Writing (7)

write-chapter · write-opening · write-climax · write-fight-scene · write-romance-scene · write-training-arc · write-dialogue-heavy

Planning (6)

brainstorm-story · plan-arc · plan-series · plan-subplot · plan-power-system · plan-twist

Characters (5)

create-character · create-antagonist · create-supporting-cast · evolve-character · character-voice-test

Worldbuilding (5)

build-world · build-faction · build-magic-system · build-history · build-culture

Maintenance (4)

review-continuity · review-arc · review-character-arcs · update-series-bible

Skill Workflows (4)

skill-start-novel · skill-write-next-chapter · skill-continuity-deep-dive · skill-character-audit


Typical Workflow

  1. Brainstorm — Use brainstorm-story prompt to develop your concept
  2. Initializeinit_project to create the project structure
  3. Planplan-arc to structure your first arc
  4. Create characterscreate-character prompt + create_character tool
  5. Build worldcreate_world_entry for locations, factions, magic systems
  6. Writewrite-chapter prompt → save_chapter tool
  7. Track — Update characters, foreshadowing, timeline after each chapter
  8. Check — [Pro] run_continuity_check to catch issues across your novel
  9. Search — [Pro] search_project to find relevant context by meaning
  10. Export — [Pro] export_to_files for git-friendly backups

Pro Upgrade

The free tier is genuinely useful — you can write an entire novel with it. Pro unlocks the power tools that become essential once your project grows past 20+ chapters:

  • Knowledge graph tracks how every character, location, and faction connects
  • Semantic search finds relevant context by meaning across hundreds of chapters
  • Continuity checker catches plot holes before your readers do
  • Writing rules keep your AI assistant consistent with your style

Get your license key: mcp-marketplace.io/server/webnovel-author


Tech Stack

  • TypeScript + @modelcontextprotocol/sdk
  • SQLite via better-sqlite3 + drizzle-orm (15+ tables, WAL mode)
  • Local embeddings via fastembed (BGE-small-en-v1.5, 384 dims, ONNX)
  • Vector search via sqlite-vec
  • License verification via @mcp_marketplace/license
  • Build with tsup, test with vitest

License

MIT

Reviews

No reviews yet

Be the first to review this server!

webnovel-author MCP Server - AI-powered MCP server for writing webnovels — xianxia, | MCP Marketplace