Writing MCP
v3.29.3Metadata-first fiction editing and reasoning tools for long-form writing projects.
Values you need
| Variable | What it is | |
|---|---|---|
WRITING_SYNC_DIR | required | Path to the manuscript sync folder that mcp-writing indexes and edits. |
DB_PATH | optional | Optional path for the SQLite index database used by the server. |
OWNERSHIP_GUARD_MODE | optional | Startup ownership policy for sync-folder files. Default: warn |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-writing -e 'WRITING_SYNC_DIR=<WRITING_SYNC_DIR>' -- npx -y @hanna84/mcp-writing@3.29.3Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-writing": {
"args": [
"-y",
"@hanna84/mcp-writing@3.29.3"
],
"command": "npx",
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-writing": {
"args": [
"-y",
"@hanna84/mcp-writing@3.29.3"
],
"command": "npx",
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "WRITING_SYNC_DIR",
"id": "writing-sync-dir",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-writing": {
"args": [
"-y",
"@hanna84/mcp-writing@3.29.3"
],
"command": "npx",
"env": {
"WRITING_SYNC_DIR": "${input:writing-sync-dir}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-writing]
command = "npx"
args = ["-y", "@hanna84/mcp-writing@3.29.3"]
env = { "WRITING_SYNC_DIR" = "<WRITING_SYNC_DIR>" }For AI agents
- Ask the user for: WRITING_SYNC_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: describe_workflows, sync, diagnose_structure, export_structure_snapshot, export_project_backup, diagnose_project_backups, restore_structure_from_export, restore_project_from_backup, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json