@hanna84/mcp-writing 1.13.0 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/index.js +5 -1
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,11 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v1.13.1](https://github.com/hannasdev/mcp-writing.git
8
+ /compare/v1.13.0...v1.13.1)
9
+
10
+ - fix(mcp): report server version from package metadata [`#70`](https://github.com/hannasdev/mcp-writing.git
11
+ /pull/70)
12
+
7
13
  #### [v1.13.0](https://github.com/hannasdev/mcp-writing.git
8
14
  /compare/v1.12.0...v1.13.0)
9
15
 
16
+ > 24 April 2026
17
+
10
18
  - feat(scrivener-direct): add ambiguity warning taxonomy for beta merge [`#69`](https://github.com/hannasdev/mcp-writing.git
11
19
  /pull/69)
20
+ - Release 1.13.0 [`d46f4bd`](https://github.com/hannasdev/mcp-writing.git
21
+ /commit/d46f4bdbb7c92a1d5b43ae8ed0afdf76a7a2cb62)
12
22
 
13
23
  #### [v1.12.0](https://github.com/hannasdev/mcp-writing.git
14
24
  /compare/v1.11.8...v1.12.0)
package/index.js CHANGED
@@ -78,6 +78,10 @@ const OWNERSHIP_GUARD_MODE = OWNERSHIP_GUARD_MODE_RAW === "fail" || OWNERSHIP_GU
78
78
  const OWNERSHIP_GUARD_MODE_RAW_DISPLAY = JSON.stringify(OWNERSHIP_GUARD_MODE_RAW);
79
79
  const __filename = fileURLToPath(import.meta.url);
80
80
  const __dirname = path.dirname(__filename);
81
+ const pkg = readJsonIfExists(path.join(__dirname, "package.json")) ?? {};
82
+ const MCP_SERVER_VERSION = typeof pkg.version === "string" && pkg.version.trim()
83
+ ? pkg.version
84
+ : "0.0.0";
81
85
  const asyncJobs = new Map();
82
86
 
83
87
  function pruneAsyncJobs() {
@@ -753,7 +757,7 @@ async function gracefulShutdown(signal) {
753
757
  // MCP server factory
754
758
  // ---------------------------------------------------------------------------
755
759
  function createMcpServer() {
756
- const s = new McpServer({ name: "mcp-writing", version: "0.1.0" });
760
+ const s = new McpServer({ name: "mcp-writing", version: MCP_SERVER_VERSION });
757
761
 
758
762
  // ---- sync ----------------------------------------------------------------
759
763
  s.tool("sync", "Re-scan the sync folder and update the scene/character/place index from disk. Call this after making edits in Scrivener or updating sidecar files outside the MCP.", {}, async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanna84/mcp-writing",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "MCP service for AI-assisted reasoning and editing on long-form fiction projects",
5
5
  "type": "module",
6
6
  "main": "index.js",