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
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.
What You'll Need
Set these up before or after installing:
Environment variable: MCP_LICENSE_KEY
Purchase above for keyEnvironment 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 GitHubFrom 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.
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
envblock 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
| Variable | Description | Default |
|---|---|---|
MCP_LICENSE_KEY | Pro license key from MCP Marketplace | (none — free tier) |
WEBNOVEL_PROJECT_DIR | Override project root directory | Current working directory |
WEBNOVEL_DB_PATH | Override SQLite database path | .webnovel/webnovel.db |
Tools Reference (39 total)
Free Tools (24)
| Tool | Description |
|---|---|
init_project | Initialize a new webnovel project with folder structure and config |
get_project_status | Get current project stats (chapters, words, arc progress) |
create_character | Create a new character sheet from template |
get_character | Read a character sheet by name |
list_characters | List all characters with their roles |
update_character | Update character attributes with changelog tracking |
create_chapter_outline | Create a structured chapter outline from template |
save_chapter | Save a written chapter and update project stats |
get_chapter | Read a chapter by number |
list_chapters | List all chapters with word counts |
create_world_entry | Create a world-building entry (location, faction, magic system, etc.) |
get_world_entry | Read a world-building entry by name |
list_world_entries | List all world-building entries |
get_style_guide | Get the webnovel writing style guide |
track_foreshadowing | Add or update a foreshadowing element |
get_foreshadowing_report | Report on foreshadowing status and due payoffs |
track_timeline | Add a timeline entry for story chronology |
get_timeline | Get full story timeline |
create_litrpg_stats | Create a LitRPG stat block (level, stats, skills, inventory) |
update_litrpg_stats | Update stats after level-ups, equipment changes, skill gains |
create_romance_tracker | Create a romance arc tracker for a character pairing |
update_romance_tracker | Update romance progression (stages, moments, notes) |
export_project_summary | Export comprehensive project summary |
migrate_project | Import flat-file project into SQLite database |
Pro Tools (15) — requires MCP_LICENSE_KEY
| Tool | Description |
|---|---|
run_continuity_check | Scan for 7+ types of continuity issues across your novel |
add_relationship | Add a relationship between entities in the knowledge graph |
get_entity_connections | Get all relationships for an entity |
query_graph | Query the knowledge graph by type, relationship, or entities |
get_relationship_changes | Get relationship history between two entities |
search_project | Semantic search across the entire project by meaning |
get_writing_context | Auto-assemble writing context with token budget |
find_similar_scenes | Find scenes similar to a description |
check_consistency | Semantic consistency check against your project |
reindex_project | Rebuild all semantic embeddings |
export_to_files | Export database to flat files (markdown + JSON) |
sync_from_files | Sync external file edits back into the database |
set_project_rule | Add a project-wide writing rule |
get_project_rules | Get all writing rules, optionally by category |
delete_project_rule | Delete 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
- Brainstorm — Use
brainstorm-storyprompt to develop your concept - Initialize —
init_projectto create the project structure - Plan —
plan-arcto structure your first arc - Create characters —
create-characterprompt +create_charactertool - Build world —
create_world_entryfor locations, factions, magic systems - Write —
write-chapterprompt →save_chaptertool - Track — Update characters, foreshadowing, timeline after each chapter
- Check — [Pro]
run_continuity_checkto catch issues across your novel - Search — [Pro]
search_projectto find relevant context by meaning - Export — [Pro]
export_to_filesfor 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 withvitest
License
MIT
Reviews
No reviews yet
Be the first to review this server!
More Content & Media MCP Servers
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
Google Workspace MCP
Freeby Taylorwilsdon · Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI