
writerslogic/scrivener-mcp
Developer toolsMCP server for Scrivener: connect your novels, screenplays, and manuscripts to Claude, ChatGPT, and any AI assistant, with document management, writing analysis, content enhancement, offline semantic...
Overview
MCP server for Scrivener: connect your novels, screenplays, and manuscripts to Claude, ChatGPT, and any AI assistant, with document management, writing analysis, content enhancement, offline semantic...
README
Scrivener MCP
MCP server for Scrivener: connect your novels, screenplays, and manuscripts to Claude, ChatGPT, and any AI assistant, with document management, writing analysis, content enhancement, offline semantic search, and character/plot tracking.
Start with the safe first session, then use editorial review and workflows, export presets, Content Credentials, or the Windows guide. Compatibility evidence records actual coverage and limits.
Install · Mac App · What You Can Do · All Tools · Guides · Contributing
Scrivener MCP lets your AI assistant open, read, edit, analyze, and search your Scrivener projects directly. No exporting, no copy-pasting text back and forth. Tell it which project to open and start working.
You: Open my novel and analyze the pacing in Chapter 12.
Claude: Opens the .scriv project, reads Chapter 12, runs pacing analysis. The first half moves well, but the middle stalls — a three-page internal monologue starting at paragraph 14 kills the momentum you built in the confrontation scene. Consider cutting it to a paragraph and moving the backstory to Chapter 8.
Works with Claude Desktop,
Claude Code, VS Code (Copilot/Continue), Cursor,
and any MCP-compatible client. Reads Scrivener 3 projects on the
supported platforms. Listed on the
official MCP Registry as
io.github.writerslogic/scrivener-mcp.
Install
Mac app: Draftbridge for Scrivener, $4.99
Not a terminal person? Draftbridge for Scrivener is the ready-made Mac app. It finds your AI apps — Claude Desktop, BoltAI, Cursor, VS Code, LM Studio, Raycast, Claude Code — connects Scrivener MCP to each with one click, shows your projects, and repairs the connection after an app update. No Terminal, no Node.js, no settings files. One-time $4.99, up to 3 Macs, signed and notarized by Apple.
The server, setup tool, and Claude Desktop extension here stay free and open source. The app is
closed source; the fee buys the notarized build and supports development. See the
Mac install guide and FAQ. Report app problems with the
mac-app label.
Free: Claude Desktop extension or command line
Prefer to do it yourself? The .mcpb extension (Claude Desktop only) and the terminal setup below
do the same job for free.
From a terminal:
npm install -g scrivener-mcp
Restart Claude Desktop and it’s ready. Other clients need one more step:
npx scrivener-setup
This finds Claude Desktop, Claude Code, Cursor, VS Code, LM Studio, BoltAI, and Raycast and
configures them for you, then confirms the server starts. No Node.js on your Mac? See the
Mac install guide. To set up Claude Code by hand instead:
claude mcp add -s user scrivener -- npx scrivener-mcp, then restart it (or run /mcp).
What You Can Do
For manuscript operations, open a project first. The server has no link to the Scrivener app itself and can’t see what’s open there. Say “Open my Scrivener project at
~/Documents/My Novel.scriv”, or “Discover my Scrivener projects” if you don’t know the path. On macOS, “Use the project I have open in Scrivener” works too (the first time, macOS will ask permission to control Scrivener). Do this once per conversation. If the project is also open and unsaved in Scrivener itself, save or close it there first, or the two can write over each other.
Manage your manuscript. Read chapters, create scenes, reorganize the binder, update synopses — all through conversation. “Create a new scene called ‘The Reveal’ after Chapter 5, and move the old epilogue to the trash.”
Analyze your writing. Readability, pacing, style, dialogue quality, emotional arc — grounded in your actual prose, not generic advice. Ask whether a chapter’s pacing is off and get specifics: which paragraphs stall, how the scene compares to your other chapters, filter-word density against your own average.
Enhance your prose. Targeted edits: cut filter words, strengthen verbs, vary sentence structure, add sensory detail, turn telling into showing, tighten dialogue, fix pacing.
Track characters and plot. Character profiles, plot threads, and style guides persist with the project across sessions. Save a profile for a character once; a consistency check months later catches contradictions — dialogue that doesn’t sound like them, a limp that disappears for a chapter.
Search by meaning. Warm 0.6.4 combines native BM25 with local embeddings and optional cross-encoder reranking. Configure local ONNX models for general semantic search; the default encoder covers a disclosed English story-concept vocabulary. Results include exact passages, locations and saved revisions; changed passages update incrementally. No embedding provider is required. See local search configuration.
Track relationships. Record and query how characters, locations, themes, and plot threads connect. Relationships persist in the project’s local SQLite state. Discovery proposes unrecorded character/location pairs using saved-text co-occurrence with source revisions.
Compile and export. Assemble chapters into one manuscript with your own formatting and structure preserved. Export inline as Markdown, HTML, or JSON, or write a DOCX, EPUB, or PDF to disk.
Sign and validate exports. Activate credentials with use_skill({"name":"credentials"}), then
call c2pa_capabilities to inspect the installed SDK. Export a PDF with export_project, sign it
to a new embedded output with sign_content_credentials, and check that output with
validate_content_credentials. Credential operations run locally without an open project and use
administrator-configured signing material. They do not establish human authorship or formal C2PA
conformance. See Content Credentials for setup, mode coverage and
limits.
All Tools
84 tools organized by workflow. MCP 2026-07-28 connections list all of them at once. On earlier
protocol versions, tools load progressively to keep token usage low — project tools at startup,
document and search tools once a project is open, the rest on demand. Set
SCRIVENER_MCP_EAGER_TOOLS=1 to load everything up front.
Guides
- Getting Started – Installation, configuration, your first session
- MCP Client Setup – Copy-paste config for Claude Desktop, Claude Code, Cursor, and VS Code
- Writing with AI – Analysis workflows, enhancement strategies, memory management
- Troubleshooting – Common issues and fixes
- Token Optimization – Response limits and measured context costs
- 0.14 Validation – Candidate evidence, supported scope and remaining qualification limits
- Architecture – How the server works, module structure, data flow
- Scrivener Compatibility – Supported Scrivener versions, platforms, and format coverage
- Content Credentials – Local C2PA signing and validation, administrator setup, tested modes and conformance limits
- Scrivener File Format – The reverse-engineered
.scrivformat, what we read vs. infer, and safe-modification guidance - Fuzzing – Jazzer.js target and OSS-Fuzz integration details
- Contributing – Development setup, code conventions, adding new tools
Requirements
- Stable Node.js
^22.23.4 || ^24.22.1 || >=26.12.1(24.22.1 or newer on Node 24 recommended) - Scrivener 3 project files (.scriv)
- Native npm/npx installs: macOS x64/ARM64, Windows x64, or Linux x64 with glibc. Architecture refers to the Node.js runtime.
- Optional: Anthropic, OpenAI, or OpenRouter API key for provider-backed AI features
- Optional: Neo4j for persistence and advanced graph queries; core relationship tools work without it
The patched floors protect Node TLS paths used by the pinned CAI native SDK; SQLite 13 also requires Node-API 10. Node 23 and 25 are excluded. See the runtime compatibility policy.
Development
See the compatibility and upgrade policy for runtime checks, protocol contracts, dependency upgrades and the stable release gate.
git clone https://github.com/writerslogic/scrivener-mcp.git
cd scrivener-mcp
npm install --ignore-scripts
# Install the pinned Rust/wasm-pack tools listed in native/c2pa-binding/README.md
npm run build:c2pa # Generate the engine from source
npm run dev # Development mode with hot reload
npm run build # Compile TypeScript
npm test # Run tests
npm run typecheck # Type checking only
Why This One?
A few Scrivener MCP servers exist. Our column describes the current server; other feature claims come from each project’s own docs, published package, and advertised tools, last re-read on 2026-10-22; stars, forks, activity, and published version were refreshed 2026-11-09. “No” means undocumented — not
necessarily impossible through the connected AI client.
| Feature | scrivener-mcp | jiayun | TwelveTake | Scrivener Assistant | ricopicone | zaphodsdad |
|---|---|---|---|---|---|---|
| Public MCP tools | 84 | 30 | 22 | 38 | 18 | 10 |
| Manuscript access | read/write | read/write | read/write | read-only; writes sidecar data/metadata | read-only by default; opt-in content/notes/synopsis writes | read-only |
| RTF handling | formatted reads; fidelity-preserving span writes | reads/writes document content | reads/writes document content | converts RTF to text; manuscript read-only | RTF-to-text reads; snapshot-protected content writes | converts RTF to text; read-only |
| Built-in writing analysis | readability, pacing, style, emotion, AI critique | readability, style, sentiment | continuity comparison | agent-driven five-point review workflow | no dedicated analysis tool | no dedicated analysis tool |
| Content generation/enhancement | generation + 12 targeted enhancement types | no | no | brainstorm/draft agent workflow | no | no |
| Local semantic retrieval | local concept vectors, BM25 and quoted passages | no | no | no | no | no |
| Continuity/project memory | persistent memory + consistency checks | persistent notes + consistency checks | mention/description comparison | world bible, story state, characters, locations, review history | no persistent memory | no persistent memory |
| Relationship tooling | persistent relationships, networks, reference graph; optional Neo4j | no | no | human-editable relations data | no | no |
| Token optimization | progressive skill loading, compact output, paged reads | no documented equivalent | no documented equivalent | no documented equivalent | scoped binder/chapter reads | scoped overview/read tools |
| Export / compilation | Markdown, HTML, JSON, DOCX, EPUB, PDF | compile + whole-draft export | saves AI drafts; no manuscript export documented | no | no | |
| Windows support | native CI verified; synthetic projects | yes (prebuilt binary) | yes | not documented | not documented | yes |
| Installation | npm, Homebrew, Docker, or the Draftbridge Mac app | crates.io, prebuilt binary, or source | npm package (deprecated) | MCPB or source | source / uv |
source / pip install -e |
| License | AGPL-3.0 / commercial dual-license | MIT | MIT | MIT | not declared | MIT |
| Repository/package status | weekly activity; npm 0.12.0 |
occasional activity | removed from npm | weekly activity | occasional activity; no releases | repository unavailable |
| Community | ⭐ 71 · 25 forks | ⭐ 7 | source repository unavailable | ⭐ 1 | ⭐ 0 | unavailable |
Counts and feature claims can change. Follow the linked projects for their own latest documentation.
The table is generated from docs/comparison.yml — edit claims there, not
here.
The alternative that isn’t an MCP server
Scrivener can also Sync to External Folder, writing each document out as RTF or plain text,
which any generic file-access MCP server (like
@modelcontextprotocol/server-filesystem)
can then read and write.
It’s free and works today. What you lose is everything tied to the actual project — binder hierarchy, metadata, labels and status, snapshots, compile settings, RTF formatting — and edits land in the sync folder rather than the project itself, so a bad edit gets reconciled by Scrivener on the next sync instead of caught before it happens. Fine for occasional read-only help with prose; not if you want the structure to survive the round trip.
Contributing
We welcome contributions of all sizes. Check the
issue tracker for good first issue labels,
or see the contributing guide for development setup.
Areas where help is especially welcome:
- Test coverage (#18)
- Windows testing and path handling
- Scrivener 2 compatibility testing
- Documentation improvements (#25)
Security
Found a vulnerability? Please report it privately — see SECURITY.md.
License
AGPL-3.0 © WritersLogic, Inc.
Scrivener is a trademark of Literature & Latte Ltd. This project is independent and is not affiliated with, endorsed by, or sponsored by Literature & Latte.
Free for personal use and open-source projects. Commercial license available for proprietary integration. See COMMERCIAL_LICENSE.md for details.
Also from WritersLogic: WritersProof witnesses your keystrokes, pauses, and revisions as you write, then seals that process into tamper-evident, independently verifiable proof you wrote it yourself — AI accusations, settled with evidence instead of your word.
GitHub · npm · Issues · Changelog
MCP 2026-07-28 uses server/discover and a stable full tool catalog. Each request supplies the protocol version and client capabilities in standard MCP _meta. open_project returns projectHandle in text and structured content; pass it as an ordinary argument on subsequent project tool calls. The legacy com.writerslogic/project request metadata token is also accepted. Handles expire on close, reopen or restart. Calls are serialized per modern stdio connection. Legacy MCP initialization, implicit project scope and progressive skill discovery remain available.
Each connection admits at most 32 active or queued tool calls and 16 MiB of retained request parameters, with a burst of 120 attempts and refill of two attempts per second. Rejections are explicit and report retry guidance. Canceled queued work releases its slot; running work retains capacity until it settles. These limits do not bound total process memory, tool results or native worker allocations. Prefer the documented report page defaults and follow revision-bound continuation cursors when retrieving large reports.
Install
npx scrivener-mcpConfiguration
{
"mcpServers": {
"scrivener": { "command": "npx", "args": ["scrivener-mcp"] }
}
}