Pass the prose
A path is not content
If a chapter lives in a local file, the connected client must read it and pass the full text. BookWriter cannot fetch prose from a filename alone.
BookWriter MCP is a stateful book-writing server with 20 tools for project setup, chapter drafting, exact prose updates, accepted-chapter revisions, and manuscript completion. This page is the human-readable companion to the instructions and operating guide delivered directly through MCP.
https://www.bookwriter.vip/api/mcp/v1The fast answer
Connected assistants receive a concise version of these rules during initialization and can read the full guide as an MCP resource. The public documentation gives authors and developers the same contract in a searchable format.
Pass the prose
If a chapter lives in a local file, the connected client must read it and pass the full text. BookWriter cannot fetch prose from a filename alone.
Keep sequence intact
Accept the current chapter to move forward. Send full content for an earlier accepted chapter to replace it without moving the cursor.
Recover safely
A client can show a generic failure after a save succeeds. Read book status first so a retry does not duplicate work or create confusion.
Tool reference
Use the narrowest tool that matches the author’s intent. Read-only calls restore context; mutating calls create, edit, accept, extend, or finish book state.
Create a persistent book, find it again, and inspect the current writing position.
create_bookCreate a persistent book with a title, word goal, and story setup.
Best for: Starting a new book after gathering its premise, ending, character arc, tone, boundaries, and time period.
list_booksList recent books and their current chapter positions.
Best for: Finding the correct project before resuming work.
get_book_statusReturn the current chapter, accepted count, word goal, and finish or extension state.
Best for: Confirming where the cursor is and verifying a write after any ambiguous client response.
catch_me_upSummarize recent chapters, characters, and open story threads.
Best for: Restoring narrative context before continuing a long-running book.
get_credit_statusShow plan availability, book slots used, and the reset date.
Best for: Checking capacity before creating or extending a book.
Create the current chapter, tune it, or replace its working draft before acceptance.
handoffDraft the current chapter from an author opener, scene direction, or both.
Best for: The normal chapter-writing loop; author prose supplied as the opener is preserved.
retry_handoffGenerate a different version of the current chapter from revised input.
Best for: A structurally wrong draft that needs a fresh attempt.
sharpenPolish the generated portion of the current draft with a lighter or stronger pass.
Best for: Tone, rhythm, and prose refinement without replacing the chapter.
self_edit_chapterApply exact find-and-replace edits to the current working draft.
Best for: Small continuity, factual, or line-level corrections.
set_draftReplace the entire working draft of the current chapter.
Best for: Pushing a fully corrected local chapter before accepting it.
set_story_energySet or clear the book-wide tone and intensity direction used by later drafts.
Best for: Changing the standing energy once instead of repeating it in every chapter request.
Save chapters into the manuscript, correct earlier chapters, and close or extend the book.
accept_chapterAccept the current chapter or replace an earlier accepted chapter with corrected text.
Best for: Advancing the book or synchronizing a revised local chapter with BookWriter.
complete_bookFinish and lock a book that has reached its word goal.
Best for: Delivering the final manuscript once the author is ready to stop writing.
extend_bookRaise a book’s word goal so writing can continue.
Best for: Continuing beyond the current target before the book is completed.
Brainstorm book components before or alongside the persistent writing workflow.
outline_generatorTurn a premise into a chapter-by-chapter outline.
Best for: Planning structure before creating a book.
character_builderBuild a character profile with motivation, flaw, voice, and defining detail.
Best for: Developing a protagonist, antagonist, or supporting role.
title_generatorGenerate marketable title options from a premise and genre.
Best for: Early title exploration.
pitch_generatorCreate a logline and a compact back-cover blurb.
Best for: Testing the hook or preparing promotional copy.
first_paragraphGenerate an opening-paragraph idea from a premise.
Best for: Breaking a blank page before the first handoff.
plot_hole_finderIdentify logic gaps and suggest quick repairs from a supplied synopsis.
Best for: A continuity review before revising chapters.
Canonical workflows
Send the earlier index and the complete corrected prose. BookWriter replaces that chapter, recalculates manuscript totals, and leaves the current writing position untouched.
Tool arguments
{
"runId": "your-run-id",
"chapterIndex": 48,
"title": "Optional title",
"content": "Full corrected text"
}Success signal
{
"accepted": true,
"updated": true,
"chapter_index": 48,
"next_chapter": 51
}Capabilities and limits
Errors and recovery
Treat a generic client error as ambiguous until book status proves the mutation failed. This is especially important for long chapters: retrying a successful write wastes time and can make the author think the manuscript diverged.
Call get_book_status before retrying. Some clients can reject or misread a valid response after the server has already saved the chapter.
Call get_book_status. Use the returned current chapter, or pass full content for an earlier accepted chapter correction.
Read the source file in the client and pass its full text as content, or create a working draft first.
Review the text, then call accept_chapter with allowShortChapter: true only when the author wants to keep it short.
The manuscript has been completed and cannot be changed through chapter tools.
Wait briefly and retry once; avoid parallel mutations against the same book.
Questions, answered
BookWriter MCP is a stateful book-writing server that gives compatible assistants 20 tools for creating books, drafting chapters, preserving project context, revising accepted prose, and finishing manuscripts. The book state lives in BookWriter, so the same project can continue across supported MCP clients.
Yes. Call accept_chapter with the book’s runId, the earlier chapterIndex, and the full corrected content. BookWriter replaces that accepted chapter and returns updated: true without changing the current chapter cursor.
A connected client can occasionally fail while validating or displaying the tool response after BookWriter has completed the write. Call get_book_status before retrying; the current chapter and accepted count reveal whether the save already landed.
No. The connected assistant or coding client must read the file, then pass its full text to set_draft or accept_chapter. A file name or path alone is not chapter content.
Use self_edit_chapter for small exact edits to the current draft, set_draft for a complete current-draft replacement, and accept_chapter with full content for an already accepted chapter.
No. Replacing an earlier accepted chapter updates the stored prose and word totals in place. The book remains positioned at the same current chapter.
Ready to write
Use the same persistent BookWriter project from Claude, ChatGPT, Cursor, or another compatible client.
Canonical URL: https://www.bookwriter.vip/mcp/guide