@jgardner04/ghost-mcp-server 1.12.2 → 1.12.4

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.
package/README.md CHANGED
@@ -27,7 +27,7 @@ An MCP client can discover these resources and tools by querying the running MCP
27
27
  - **`ghost/newsletter`**: Represents a newsletter in Ghost CMS. Contains `id`, `name`, `description`, sender settings.
28
28
  - **`ghost/tier`**: Represents a membership tier in Ghost CMS. Contains `id`, `name`, `description`, pricing, benefits.
29
29
 
30
- _(Refer to `src/mcp_server_improved.js` for full resource schemas.)_
30
+ _(Refer to `src/mcp_server.js` for full resource schemas.)_
31
31
 
32
32
  ### Tools Defined
33
33
 
@@ -316,6 +316,6 @@ For contributors or advanced users who want to modify the source code:
316
316
 
317
317
  - **401 Unauthorized Error from Ghost:** Check that your `GHOST_ADMIN_API_URL` and `GHOST_ADMIN_API_KEY` in the `.env` file are correct and that the Custom Integration in Ghost is enabled.
318
318
  - **MCP Server Connection Issues:** Ensure the MCP server is running (check console logs). Verify the port (`MCP_PORT`, default 3001) is not blocked by a firewall. Check that the client is connecting to the correct address and port.
319
- - **Tool Execution Errors:** Check the server console logs for detailed error messages from the specific tool implementation. Common issues include invalid input (check against tool schemas in `src/mcp_server_improved.js` and the README guide), problems downloading from `imageUrl`, image processing failures, or upstream errors from the Ghost API.
319
+ - **Tool Execution Errors:** Check the server console logs for detailed error messages from the specific tool implementation. Common issues include invalid input (check against tool schemas in `src/mcp_server.js` and the README guide), problems downloading from `imageUrl`, image processing failures, or upstream errors from the Ghost API.
320
320
  - **Command Not Found:** If `ghost-mcp-server` or `ghost-mcp` commands are not found after global installation, ensure npm's global bin directory is in your PATH. You can find it with `npm bin -g`.
321
321
  - **Dependency Installation Issues:** Ensure you have a compatible Node.js version installed (Node.js 18.0.0 or higher - see Requirements section). For global installation issues, try `npm install -g @jgardner04/ghost-mcp-server --force`. For development setup, try removing `node_modules` and `package-lock.json` and running `npm install` again.
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@jgardner04/ghost-mcp-server",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "description": "A Model Context Protocol (MCP) server for interacting with Ghost CMS via the Admin API",
5
5
  "author": "Jonathan Gardner",
6
6
  "type": "module",
7
7
  "main": "src/index.js",
8
8
  "exports": {
9
9
  ".": "./src/index.js",
10
- "./mcp": "./src/mcp_server_improved.js"
10
+ "./mcp": "./src/mcp_server.js"
11
11
  },
12
12
  "bin": {
13
- "ghost-mcp-server": "./src/index.js",
14
- "ghost-mcp": "./src/mcp_server_improved.js"
13
+ "ghost-mcp-server": "./src/mcp_server.js",
14
+ "ghost-mcp": "./src/mcp_server.js"
15
15
  },
16
16
  "files": [
17
17
  "src",
@@ -36,10 +36,10 @@
36
36
  "parse-prd": "node scripts/dev.js parse-prd",
37
37
  "build": "mkdir -p build && cp -r src/* build/",
38
38
  "start": "node src/index.js",
39
- "start:mcp": "node src/mcp_server_improved.js",
40
- "start:mcp:stdio": "MCP_TRANSPORT=stdio node src/mcp_server_improved.js",
41
- "start:mcp:http": "MCP_TRANSPORT=http node src/mcp_server_improved.js",
42
- "start:mcp:websocket": "MCP_TRANSPORT=websocket node src/mcp_server_improved.js",
39
+ "start:mcp": "node src/mcp_server.js",
40
+ "start:mcp:stdio": "MCP_TRANSPORT=stdio node src/mcp_server.js",
41
+ "start:mcp:http": "MCP_TRANSPORT=http node src/mcp_server.js",
42
+ "start:mcp:websocket": "MCP_TRANSPORT=websocket node src/mcp_server.js",
43
43
  "test": "vitest run",
44
44
  "test:watch": "vitest watch",
45
45
  "test:coverage": "vitest run --coverage",