原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Writing MCP

作者:hannasdev版本 3.29.3i★ –i在你的电脑上运行
注册名称io.github.hannasdev/mcp-writing

安装

概览

作者提供的说明(英文原文)

Metadata-first fiction editing and reasoning tools for long-form writing projects.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:WRITING_SYNC_DIR

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: WRITING_SYNC_DIR, DB_PATH, OWNERSHIP_GUARD_MODE

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "writing": {
      "command": "npx",
      "args": [
        "-y",
        "@hanna84/mcp-writing"
      ],
      "env": {
        "WRITING_SYNC_DIR": "your-value",
        "DB_PATH": "your-value",
        "OWNERSHIP_GUARD_MODE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add writing --env WRITING_SYNC_DIR=your-value --env DB_PATH=your-value --env OWNERSHIP_GUARD_MODE=your-value -- npx -y @hanna84/mcp-writing

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "writing": {
      "command": "npx",
      "args": [
        "-y",
        "@hanna84/mcp-writing"
      ],
      "env": {
        "WRITING_SYNC_DIR": "your-value",
        "DB_PATH": "your-value",
        "OWNERSHIP_GUARD_MODE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "writing": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hanna84/mcp-writing"
      ],
      "env": {
        "WRITING_SYNC_DIR": "your-value",
        "DB_PATH": "your-value",
        "OWNERSHIP_GUARD_MODE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • WRITING_SYNC_DIR 必填 env
    Path to the manuscript sync folder that mcp-writing indexes and edits.
  • DB_PATH env
    Optional path for the SQLite index database used by the server.
  • OWNERSHIP_GUARD_MODE env
    Startup ownership policy for sync-folder files.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hannasdev 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32655 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32655 个服务器的 12% 更新
  • 基础检查结果等于或优于此分类中其他 32655 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Writing MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:WRITING_SYNC_DIR

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(3.29.3)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, SuperCollider

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

SuperCollider

作者:Tok

Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.

在你的电脑上运行今天更新
安装

作者的 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

GuideDescription
docs/guides/setup.mdPrerequisites, first-time setup, Scrivener import, native sync format
mcp-writing-vscodeVS Code extension for client-native setup flows
docs/guides/docker.mdDocker Compose, deployment operations, MCP gateway notes
docs/guides/backup-recovery.mdProject backup artifacts, diagnostics, and explicit restore workflow
docs/guides/sidecar-compatibility.mdSidecar compatibility roles, migration posture, and daily-work authority boundaries
docs/foundations/managed-structure-contract.mdDesign boundaries for structural mutation, generated views, import, and maintenance workflows
docs/agents/tools.mdFull tool reference — auto-generated from source
docs/agents/README.mdIndex of agent-focused guidance, examples, and boot files
docs/agents/use-cases.mdAgent-oriented transcripts and prompt/tooling examples
docs/guides/development.mdRunning 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 (or targeted_scene_reading when the task is prose inspection)
  • prose_editing -> safe_scene_revision
  • character_management -> character_understanding
  • place_management -> place_understanding
  • review_bundle -> review_preparation

New workflow IDs added:

  • thread_understanding
  • parity_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_step are 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_sheet and get_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.

  1. Run sync after your latest writing session.
  2. Ask find_scenes for scenes involving a specific character or tag (for example, all scenes tagged injury or promise). Canonical IDs remain preferred, but character/POV filters can resolve unambiguous project-scoped character names, tag and beat filters can suggest near matches, and chapter_id accepts exact IDs or unambiguous case variants.
  3. Use get_arc to review that character's ordered progression across the manuscript.
  4. Load only the suspect scenes with get_scene_prose.
  5. Attach follow-up notes with flag_scene where 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.

  1. Run list_threads for the project.
  2. Use get_thread_arc to inspect scene order and beat labels for each thread.
  3. When a beat is missing, call track_thread_arc to add or update it on the right scene.
  4. Re-run get_thread_arc to 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.

  1. After rewriting scenes, call enrich_scene to re-derive lightweight metadata from current prose.
  2. Use update_scene_metadata for 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 scene characters and places; use connect_character_place_evidence when a scene proves paired sheet-backed character/place evidence, connect_scene_character_evidence for character-only evidence, and connect_scene_place_evidence for 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. Use audit_relationship_metadata for retained sidecar/frontmatter relationship fields. Use list_chapters plus assign_scene_to_chapter or move_scene for chapter placement and ordering.
  3. Use search_metadata for keyword/FTS metadata searches across indexed titles, loglines, tags, characters, places, and versions, and use find_scenes to verify scenes are discoverable under structured filters. After identifying likely scenes, use get_scene_prose for 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.

  1. Ask the AI to call propose_edit for a specific scene.
  2. Review the staged diff.
  3. Accept with commit_edit or reject with discard_edit.
  4. Use list_snapshots (and optional snapshot_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.

  1. Start with enrich_scene_characters_batch using the default dry_run=true to preview inferred link

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx