Writing MCP
What it does
Metadata-first fiction editing and reasoning tools for long-form writing projects.
- Connects パソコンで動く
- Account or key No key needed · 1 setting to fill in (WRITING_SYNC_DIR)
- Category 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
WRITING_SYNC_DIRPath to the manuscript sync folder that mcp-writing indexes and edits.
説明は英語の原文のままです。
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "writing": { "command": "npx", "args": [ "-y", "@hanna84/mcp-writing" ], "env": { "WRITING_SYNC_DIR": "your-value" } } } }Claude を終了してもう一度開く
試してみる
Writing MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Writing MCP を使っていると言うか、回答に Writing MCP のツール名が出れば接続成功です
追加の設定 2 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
DB_PATHOptional path for the SQLite index database used by the server.OWNERSHIP_GUARD_MODEStartup ownership policy for sync-folder files. · 初期値 warn
説明は英語の原文のままです。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Writing MCP につなげません
Writing MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Writing MCP につなげるアプリを使う
- 設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- 設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- 設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Claude Code につなげますが、先に準備が必要です
設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ)
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
WRITING_SYNC_DIRPath to the manuscript sync folder that mcp-writing indexes and edits.
説明は英語の原文のままです。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user writing --env WRITING_SYNC_DIR=your-value -- npx -y @hanna84/mcp-writingClaude Code で /mcp と入力
Writing MCP が一覧にあり、接続済みと表示されれば OK です
試してみる
Writing MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Writing MCP を使っていると言うか、回答に Writing MCP のツール名が出れば接続成功です
追加の設定 2 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
DB_PATHOptional path for the SQLite index database used by the server.OWNERSHIP_GUARD_MODEStartup ownership policy for sync-folder files. · 初期値 warn
説明は英語の原文のままです。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ)
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
WRITING_SYNC_DIRPath to the manuscript sync folder that mcp-writing indexes and edits.
説明は英語の原文のままです。
キーを入力
Writing MCP の設定で WRITING_SYNC_DIR が空です。自分のキーを入れて保存します
Cursor の AI チャットを Agent モードで開く
試してみる
Writing MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Writing MCP を使っていると言うか、回答に Writing MCP のツール名が出れば接続成功です
追加の設定 2 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
DB_PATHOptional path for the SQLite index database used by the server.OWNERSHIP_GUARD_MODEStartup ownership policy for sync-folder files. · 初期値 warn
説明は英語の原文のままです。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
設定を 1 項目入力 (WRITING_SYNC_DIR) · 先にパソコンへ Node.js を入れてください(1 回だけ)
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
WRITING_SYNC_DIRPath to the manuscript sync folder that mcp-writing indexes and edits.
説明は英語の原文のままです。
キーを入力
Writing MCP の設定で WRITING_SYNC_DIR が空です。自分のキーを入れて保存します
VS Code の AI チャットを Agent モードで開く
試してみる
Writing MCP を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Writing MCP を使っていると言うか、回答に Writing MCP のツール名が出れば接続成功です
追加の設定 2 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
DB_PATHOptional path for the SQLite index database used by the server.OWNERSHIP_GUARD_MODEStartup ownership policy for sync-folder files. · 初期値 warn
説明は英語の原文のままです。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user writing --env WRITING_SYNC_DIR=your-value -- npx -y @hanna84/mcp-writingClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"writing": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "your-value"
}
}
}
}自分で入力する値
WRITING_SYNC_DIR必須 envPath to the manuscript sync folder that mcp-writing indexes and edits.DB_PATHenvOptional path for the SQLite index database used by the server.OWNERSHIP_GUARD_MODEenvStartup ownership policy for sync-folder files.
説明は英語の原文のままです。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 72/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 3.29.3
- レジストリ公開日i
- 2026年6月11日
- コードの最終更新i
- 2026年6月29日
- 作者
- hannasdev
- パッケージ
npm: @hanna84/mcp-writing- ウェブサイト
- hannasdev.github.io
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月14日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント hannasdev で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:5 か月前
- ✓ 合格
ライセンスがある
AGPL-3.0を使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの6093件のうち82%よりスターが多い
- このカテゴリのほかの6093件のうち15%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6093件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Writing MCPは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は5 か月前、最新バージョン(3.29.3)がレジストリに届いたのは5 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, OpenSEO
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
OpenSEO
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
mcp-writing
An MCP service for AI-assisted reasoning and editing on long-form fiction projects.
Designed to work with OpenClaw but compatible with any MCP-capable AI gateway.
Quick launch
For local stdio MCP clients, run the published package directly:
WRITING_SYNC_DIR=/path/to/sync-dir DB_PATH=./writing.db npx -y @hanna84/mcp-writing
The CLI wrapper defaults to stdio transport and adds the Node 22 SQLite flag automatically when needed.
VS Code extension
For VS Code-native setup flows (including prose styleguide setup), use:
What it does
Instead of feeding an entire manuscript to an AI and hoping it fits in the context window, mcp-writing builds a structured index from your scene files. The AI queries that index first — finding relevant characters, beats, and loglines — then loads only the specific prose it needs.
Current status:
- Core platform complete: Metadata-first analysis, SQLite-canonical structural and relationship metadata, compatibility sidecar maintenance, AI-assisted prose editing with confirmation + git history, review bundles, and Scrivener Direct extraction are all implemented.
- Recently completed: Human Input Forgiveness made selected request-boundary inputs more forgiving, clarified keyword metadata search boundaries, and recorded temp-fixture replay validation while preserving stable canonical IDs.
- Active development: No initiative is currently selected.
- Deferred backlog: OpenClaw integration, client-agnostic setup, divisions, and embeddings search.
- Ideas and open questions: tracked separately so future exploration does not distort the active roadmap.
Who it is for
- Novelists and writing teams working on long manuscripts with many scenes, characters, and continuity constraints.
- AI-assisted editing workflows where you want targeted context retrieval instead of full-manuscript prompting.
- Projects that need traceable, reversible edits with metadata that stays synchronized as drafts evolve.
Documentation
| Guide | Description |
|---|---|
| docs/guides/setup.md | Prerequisites, first-time setup, Scrivener import, native sync format |
| mcp-writing-vscode | VS Code extension for client-native setup flows |
| docs/guides/docker.md | Docker Compose, deployment operations, MCP gateway notes |
| docs/guides/backup-recovery.md | Project backup artifacts, diagnostics, and explicit restore workflow |
| docs/guides/sidecar-compatibility.md | Sidecar compatibility roles, migration posture, and daily-work authority boundaries |
| docs/foundations/managed-structure-contract.md | Design boundaries for structural mutation, generated views, import, and maintenance workflows |
| docs/agents/tools.md | Full tool reference — auto-generated from source |
| docs/agents/README.md | Index of agent-focused guidance, examples, and boot files |
| docs/agents/use-cases.md | Agent-oriented transcripts and prompt/tooling examples |
| docs/guides/development.md | Running locally, tests, environment variables, troubleshooting |
Breaking changes
describe_workflows surface redesign
describe_workflows now exposes an outcome-first, discovery-first workflow map. This was a breaking change if your prompts or automation depend on previous workflow IDs or ordering; the newer recommended_next_actions tier is additive and appears before the full catalogue.
Update integrations using this mapping:
manuscript_exploration->question_driven_discovery(ortargeted_scene_readingwhen the task is prose inspection)prose_editing->safe_scene_revisioncharacter_management->character_understandingplace_management->place_understandingreview_bundle->review_preparation
New workflow IDs added:
thread_understandingparity_recovery
Styleguide workflows are still available, but no longer positioned as part of the primary daily workflow surface.
find_scenes and get_arc response-shape standardization
find_scenes and get_arc now always return structured envelopes, including non-paginated calls.
- Envelope fields:
results,total_count. - Pagination fields are included when paging is active.
warning/next_stepare included when relevant.
If your integration previously handled raw arrays for non-paginated calls, update it to parse envelopes consistently.
Safe parsing pattern:
const parsed = JSON.parse(toolText);
if (parsed.ok === false) throw new Error(parsed.error?.message ?? "tool error"); const scenes = parsed.results ?? []; const totalCount = parsed.total_count ?? scenes.length; const warning = parsed.warning ?? null; const nextStep = parsed.next_step ?? null;
get_character_sheet, get_place_sheet, list_scene_references, get_relationship_arc response-shape standardization
These metadata-read tools now return structured envelopes instead of flat objects or raw arrays.
get_character_sheetandget_place_sheet: previously returned a flat object of field values; now return{ results: [row], total_count: 1, next_step }.list_scene_references: previously returned{ references, scene_id, project_id }; now returns{ results, total_count, scene_id, project_id }.get_relationship_arc: previously returned a raw JSON array; now returns{ results, total_count, from_character, to_character }.
Safe parsing pattern for sheet tools:
const parsed = JSON.parse(toolText);
if (parsed.ok === false) throw new Error(parsed.error?.message ?? "tool error"); const sheet = parsed.results?.[0] ?? {}; const nextStep = parsed.next_step ?? null;
Safe parsing pattern for list/arc tools:
const parsed = JSON.parse(toolText);
if (parsed.ok === false) throw new Error(parsed.error?.message ?? "tool error"); const items = parsed.results ?? []; const totalCount = parsed.total_count ?? items.length;
Canonical IDs and forgiving inputs
Stable IDs remain the canonical identity for projects, chapters, scenes, characters, places, and relationship writes. When you already know the ID, pass it exactly.
Some request-boundary fields now accept unambiguous human-shaped inputs, such as scene titles, character names, place names, or case variants. Successful tools still write and return canonical IDs, with resolved_from details when the input was resolved from a non-canonical value. Ambiguous matches, near matches, or suggested-only values fail or return advisory suggestions without mutating canonical state.
Tags and Save the Cat beats remain freeform editorial vocabulary. find_scenes can match existing tag and beat casing variants, and metadata updates can suggest nearby existing vocabulary, but supplied tag and beat text is preserved unless you intentionally change it.
search_metadata is keyword/FTS metadata search over indexed titles, loglines, tags, characters, places, and versions. It is not semantic search and does not search prose text; use get_scene_prose after metadata search or structured filters identify likely scenes. Semantic/prose search remains deferred to the Embedding-Based Search backlog.
Usage scenarios
1) Continuity pass before sending chapters to beta readers
Goal: catch inconsistencies before sharing pages.
- Run
syncafter your latest writing session. - Ask
find_scenesfor scenes involving a specific character or tag (for example, all scenes taggedinjuryorpromise). Canonical IDs remain preferred, but character/POV filters can resolve unambiguous project-scoped character names, tag and beat filters can suggest near matches, andchapter_idaccepts exact IDs or unambiguous case variants. - Use
get_arcto review that character's ordered progression across the manuscript. - Load only the suspect scenes with
get_scene_prose. - Attach follow-up notes with
flag_scenewhere continuity needs a fix.
Outcome: you review one narrative thread at a time instead of rereading the entire novel to find contradictions.
2) Planning and tracking subplot beats during revisions
Goal: make sure subplot threads progress intentionally and resolve on time.
- Run
list_threadsfor the project. - Use
get_thread_arcto inspect scene order and beat labels for each thread. - When a beat is missing, call
track_thread_arcto add or update it on the right scene. - Re-run
get_thread_arcto confirm pacing and coverage.
Outcome: subplot structure stays visible and auditable, which reduces dropped threads in late drafts.
3) Tightening scene metadata after heavy prose edits
Goal: keep indexes accurate without manually re-tagging everything.
- After rewriting scenes, call
enrich_sceneto re-derive lightweight metadata from current prose. - Use
update_scene_metadatafor intentional editorial fields (for example, beat, POV, status, and tags). Tags and beats remain freeform; the tool preserves supplied text while returning suggestions when a value resembles existing vocabulary. It rejects scenecharactersandplaces; useconnect_character_place_evidencewhen a scene proves paired sheet-backed character/place evidence,connect_scene_character_evidencefor character-only evidence, andconnect_scene_place_evidencefor place-only evidence. Those relationship evidence tools prefer canonical IDs but also accept unambiguous scene titles, character names, place names, and case variants; ambiguous or suggested-only matches fail without mutating state. Useaudit_relationship_metadatafor retained sidecar/frontmatter relationship fields. Uselist_chaptersplusassign_scene_to_chapterormove_scenefor chapter placement and ordering. - Use
search_metadatafor keyword/FTS metadata searches across indexed titles, loglines, tags, characters, places, and versions, and usefind_scenesto verify scenes are discoverable under structured filters. After identifying likely scenes, useget_scene_prosefor prose context.
Outcome: your AI assistant can reliably find the right scenes without drifting from the manuscript.
4) Safe AI-assisted line edits with rollback
Goal: let AI propose prose edits without losing control of your draft.
- Ask the AI to call
propose_editfor a specific scene. - Review the staged diff.
- Accept with
commit_editor reject withdiscard_edit. - Use
list_snapshots(and optionalsnapshot_scene) to inspect or preserve revision history.
Outcome: you get AI speed with explicit approval and recoverable history for every applied change.
5) Refreshing scene-character links after imports or major rewrites
Goal: rebuild scene-to-character links in a controlled way after imported prose changes or metadata drift.
- Start with
enrich_scene_characters_batchusing the defaultdry_run=trueto preview inferred link