brewpage-mcp 1.9.3 → 1.9.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 +12 -7
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ MCP server for [BrewPage](https://brewpage.app) -- publish and manage HTML, KV,
|
|
|
12
12
|
## Quick Start
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npx -y brewpage-mcp@1.9.
|
|
15
|
+
npx -y brewpage-mcp@1.9.4
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Requires Node.js 20 or newer. This starts the stdio server for an MCP client.
|
|
@@ -28,7 +28,7 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
|
|
|
28
28
|
"mcpServers": {
|
|
29
29
|
"brewpage": {
|
|
30
30
|
"command": "npx",
|
|
31
|
-
"args": ["-y", "brewpage-mcp@1.9.
|
|
31
|
+
"args": ["-y", "brewpage-mcp@1.9.4"]
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -39,7 +39,7 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
|
|
|
39
39
|
Register a project-scoped stdio server:
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
claude mcp add --transport stdio --scope project brewpage -- npx -y brewpage-mcp@1.9.
|
|
42
|
+
claude mcp add --transport stdio --scope project brewpage -- npx -y brewpage-mcp@1.9.4
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
This writes `.mcp.json` in the project root. Use `--scope user` for user-scoped registration. See the [official Claude Code MCP guide](https://code.claude.com/docs/en/mcp).
|
|
@@ -53,7 +53,7 @@ Open **Settings > MCP** and add:
|
|
|
53
53
|
"mcpServers": {
|
|
54
54
|
"brewpage": {
|
|
55
55
|
"command": "npx",
|
|
56
|
-
"args": ["-y", "brewpage-mcp@1.9.
|
|
56
|
+
"args": ["-y", "brewpage-mcp@1.9.4"]
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -67,7 +67,7 @@ Open the Cline MCP settings panel and add:
|
|
|
67
67
|
{
|
|
68
68
|
"brewpage": {
|
|
69
69
|
"command": "npx",
|
|
70
|
-
"args": ["-y", "brewpage-mcp@1.9.
|
|
70
|
+
"args": ["-y", "brewpage-mcp@1.9.4"]
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
```
|
|
@@ -75,7 +75,7 @@ Open the Cline MCP settings panel and add:
|
|
|
75
75
|
### Global Install
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
|
-
npm install -g brewpage-mcp@1.9.
|
|
78
|
+
npm install -g brewpage-mcp@1.9.4
|
|
79
79
|
brewpage-mcp
|
|
80
80
|
```
|
|
81
81
|
|
|
@@ -112,7 +112,7 @@ Responses use the server's primary `link` verbatim, including the root slash, an
|
|
|
112
112
|
|
|
113
113
|
When `deliveryMode` is omitted for a `public` HTML or Markdown page, the server may publish it on its own subdomain if the page needs browser features a BrewPage link does not provide. `publish_html` then prints `deliveryModeReason: "auto:<codes>"` and a `Delivery notice:` line with the server's explanation; pass `deliveryMode: "path"` to keep a BrewPage link, or change it later with `update_hosting`. `advisory:<codes>` (from `publish_html` or `update_html`) means the address was not changed but such features were found. Codes are comma-separated, drawn from `storage`, `cookies`, `history`, `downloads`, `top-navigation`, `media-capture`, `pointer-lock`, `embeds`, `fullscreen`. Neither line appears when nothing applies.
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
When creation returns an existing publication, it keeps its actual URL, cohort and mode, even when another mode was requested. OLD publications display **Existing link**, with null mode metadata; their legacy links and behavior remain unchanged. Ordinary content updates and site republishing preserve hosting. An eligible NEW public non-site may change mode separately with `update_hosting`.
|
|
116
116
|
|
|
117
117
|
### Hosting
|
|
118
118
|
|
|
@@ -433,6 +433,11 @@ Every publish response includes an **owner token** -- the only credential that a
|
|
|
433
433
|
|
|
434
434
|
## Changelog
|
|
435
435
|
|
|
436
|
+
## 1.9.4 -- 2026-10-20
|
|
437
|
+
|
|
438
|
+
- Tool descriptions and responses describe a create that returns an existing publication in plain terms; its link and delivery mode are kept as returned.
|
|
439
|
+
- Keep sixteen tools, all input defaults and HTTP behavior unchanged. Independently versioned from backend API contract 1.113.0.
|
|
440
|
+
|
|
436
441
|
## 1.9.3 -- 2026-10-11
|
|
437
442
|
|
|
438
443
|
- Correct tool/discovery descriptions for unlisted access, conditional native indexing, exact share links, current limits, owner/extension TTL exceptions, retained site-republish expiry and API content representations.
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
const BASE_URL = process.env.BREWPAGE_URL || "https://brewpage.app";
|
|
6
6
|
const server = new McpServer({
|
|
7
7
|
name: "brewpage-mcp",
|
|
8
|
-
version: "1.9.
|
|
8
|
+
version: "1.9.4",
|
|
9
9
|
});
|
|
10
10
|
const PUBLIC_NAMESPACE = "public";
|
|
11
11
|
/**
|
|
@@ -39,7 +39,7 @@ const NAMESPACE_DESCRIPTION = "Optional. Omit to generate an unlisted namespace:
|
|
|
39
39
|
const DELIVERY_MODE_SCHEMA = z.enum(["path", "subdomain"]).optional().describe("Optional delivery choice for a fresh publication, independent of password/namespace. " +
|
|
40
40
|
"Public non-sites normally default to path (Promotion); public HTML may automatically choose subdomain for browser features. " +
|
|
41
41
|
"Fresh sites and non-public content require subdomain. " +
|
|
42
|
-
"
|
|
42
|
+
"When creation returns an existing publication, it keeps its actual mode and URL.");
|
|
43
43
|
function hostingResponseLines(data) {
|
|
44
44
|
const fields = ["routingCohort", "deliveryMode", "requestedDeliveryMode", "effectiveDeliveryMode",
|
|
45
45
|
"deliveryModeMatched", "modeLocked", "hostingVersion", "access", "managementLink"];
|
|
@@ -47,7 +47,7 @@ function hostingResponseLines(data) {
|
|
|
47
47
|
if (data.routingCohort === "old")
|
|
48
48
|
lines.push("Hosting: Existing link");
|
|
49
49
|
if (data.deliveryModeMatched === false)
|
|
50
|
-
lines.push("Requested hosting differs from the existing
|
|
50
|
+
lines.push("Requested hosting differs from the existing publication; its URL and mode were preserved.");
|
|
51
51
|
lines.push(...deliveryReasonLines(data));
|
|
52
52
|
return lines;
|
|
53
53
|
}
|
package/package.json
CHANGED