brewpage-mcp 1.19.0 → 1.19.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.
- package/README.md +55 -23
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,17 +16,11 @@ Choosing a host? See how BrewPage compares with GitHub Pages, Netlify Drop, Tiin
|
|
|
16
16
|
|
|
17
17
|
## Quick Start
|
|
18
18
|
|
|
19
|
-
```bash
|
|
20
|
-
npx -y brewpage-mcp@1.19.0
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Requires Node.js 20 or newer. This starts the stdio server for an MCP client.
|
|
24
|
-
|
|
25
19
|
### Remote (no install)
|
|
26
20
|
|
|
27
|
-
|
|
21
|
+
One remote MCP server for every client: `https://brewpage.app/mcp` (Streamable HTTP, no authentication, same 30 tools). Add it by URL in Claude (a custom connector), ChatGPT (a custom MCP server) or any Streamable HTTP client.
|
|
28
22
|
|
|
29
|
-
Claude Code: `claude mcp add --transport http brewpage https://brewpage.app/mcp
|
|
23
|
+
Claude Code: `claude mcp add --transport http brewpage --scope user https://brewpage.app/mcp` (leave out `--scope user` to add it to the current project only), or in `.mcp.json`:
|
|
30
24
|
|
|
31
25
|
```json
|
|
32
26
|
{
|
|
@@ -39,43 +33,84 @@ Claude Code: `claude mcp add --transport http brewpage https://brewpage.app/mcp`
|
|
|
39
33
|
}
|
|
40
34
|
```
|
|
41
35
|
|
|
36
|
+
### Local (npx)
|
|
37
|
+
|
|
38
|
+
For clients that only start local servers; the same tools as the server URL.
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npx -y brewpage-mcp@1.19.1
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Requires Node.js 20 or newer. This starts the stdio server for an MCP client.
|
|
45
|
+
|
|
42
46
|
## Installation
|
|
43
47
|
|
|
44
|
-
### Claude Desktop
|
|
48
|
+
### Claude.ai and Claude Desktop
|
|
49
|
+
|
|
50
|
+
Claude calls a remote MCP server a custom connector. Add it once in Claude on the web; Claude Desktop picks it up too. Nothing to install.
|
|
45
51
|
|
|
46
|
-
|
|
52
|
+
1. Open **Customize** > **Connectors**.
|
|
53
|
+
2. Click **+ Add**, then **Add custom connector**.
|
|
54
|
+
3. Name it **BrewPage**, paste `https://brewpage.app/mcp` and click **Continue**.
|
|
55
|
+
4. Click **Continue** again, choose **No sign in** under Authentication and click **Add**.
|
|
56
|
+
|
|
57
|
+
The free plan includes one custom connector.
|
|
58
|
+
|
|
59
|
+
Local fallback (stdio, needs Node.js; the same tools): add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
47
60
|
|
|
48
61
|
```json
|
|
49
62
|
{
|
|
50
63
|
"mcpServers": {
|
|
51
64
|
"brewpage": {
|
|
52
65
|
"command": "npx",
|
|
53
|
-
"args": ["-y", "brewpage-mcp@1.19.
|
|
66
|
+
"args": ["-y", "brewpage-mcp@1.19.1"]
|
|
54
67
|
}
|
|
55
68
|
}
|
|
56
69
|
}
|
|
57
70
|
```
|
|
58
71
|
|
|
72
|
+
### ChatGPT
|
|
73
|
+
|
|
74
|
+
Add BrewPage as a custom MCP server; ChatGPT then publishes for you. Nothing to install.
|
|
75
|
+
|
|
76
|
+
1. Open **Plugins** in ChatGPT.
|
|
77
|
+
2. Click **+**, then **Add custom MCP server**.
|
|
78
|
+
3. Name it **BrewPage** and paste `https://brewpage.app/mcp` as the server URL.
|
|
79
|
+
4. Choose no authentication, select **I understand and want to continue**, then **Create as a plugin**.
|
|
80
|
+
5. Install the new plugin, then ask ChatGPT to publish.
|
|
81
|
+
|
|
82
|
+
Custom servers follow your ChatGPT plan and workspace settings.
|
|
83
|
+
|
|
59
84
|
### Claude Code
|
|
60
85
|
|
|
61
|
-
|
|
86
|
+
The remote command above is the default. Local fallback: register a project-scoped stdio server:
|
|
62
87
|
|
|
63
88
|
```bash
|
|
64
|
-
claude mcp add --transport stdio --scope project brewpage -- npx -y brewpage-mcp@1.19.
|
|
89
|
+
claude mcp add --transport stdio --scope project brewpage -- npx -y brewpage-mcp@1.19.1
|
|
65
90
|
```
|
|
66
91
|
|
|
67
92
|
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).
|
|
68
93
|
|
|
69
94
|
### Cursor
|
|
70
95
|
|
|
71
|
-
|
|
96
|
+
One click: **Add to Cursor** on [brewpage.app/integrations](https://brewpage.app/integrations#cursor) opens the install dialog in Cursor with BrewPage filled in. Or add to `~/.cursor/mcp.json`:
|
|
97
|
+
|
|
98
|
+
```json
|
|
99
|
+
{
|
|
100
|
+
"mcpServers": {
|
|
101
|
+
"brewpage": { "url": "https://brewpage.app/mcp" }
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Local fallback (stdio, needs Node.js; the same tools): open **Settings > MCP** and add:
|
|
72
107
|
|
|
73
108
|
```json
|
|
74
109
|
{
|
|
75
110
|
"mcpServers": {
|
|
76
111
|
"brewpage": {
|
|
77
112
|
"command": "npx",
|
|
78
|
-
"args": ["-y", "brewpage-mcp@1.19.
|
|
113
|
+
"args": ["-y", "brewpage-mcp@1.19.1"]
|
|
79
114
|
}
|
|
80
115
|
}
|
|
81
116
|
}
|
|
@@ -89,18 +124,11 @@ Open the Cline MCP settings panel and add:
|
|
|
89
124
|
{
|
|
90
125
|
"brewpage": {
|
|
91
126
|
"command": "npx",
|
|
92
|
-
"args": ["-y", "brewpage-mcp@1.19.
|
|
127
|
+
"args": ["-y", "brewpage-mcp@1.19.1"]
|
|
93
128
|
}
|
|
94
129
|
}
|
|
95
130
|
```
|
|
96
131
|
|
|
97
|
-
### Global Install
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
npm install -g brewpage-mcp@1.19.0
|
|
101
|
-
brewpage-mcp
|
|
102
|
-
```
|
|
103
|
-
|
|
104
132
|
## Tools
|
|
105
133
|
|
|
106
134
|
Thirty tools are available. Creation returns an owner token; keep it to modify or delete the resource later. Owner tools take `ownerToken`, else `BREWPAGE_OWNER_TOKEN` (local server only). Supported password inputs use `X-Password`. Secrets allowed; likely ones are flagged in notices. For a secret: private namespace + password.
|
|
@@ -697,6 +725,10 @@ Every publish response includes an **owner token** -- the only credential that a
|
|
|
697
725
|
|
|
698
726
|
## Changelog
|
|
699
727
|
|
|
728
|
+
## 1.19.1 -- 2026-11-12
|
|
729
|
+
|
|
730
|
+
- README only: the remote server `https://brewpage.app/mcp` comes first, with setup steps for Claude and ChatGPT; the local `npx` server is the fallback; the global install section is removed. No tool or input change. Contract 2.22.0. `User-Agent: brewpage-mcp/1.19.1`.
|
|
731
|
+
|
|
700
732
|
## 1.19.0 -- 2026-11-11
|
|
701
733
|
|
|
702
734
|
- Page data: a page can save what its visitors enter (form answers, guestbook, votes, scores, game progress). Five new tools: `get_guide` returns the short reference to read before writing such a page; `get_page_data` reads the settings or one list's entries; `set_page_data` writes author entries; `configure_page_data` changes who can read a list and its limits; `delete_page_data` removes entries. `publish_html` and `publish_site` take `state` on create, `update_html` and `republish_site` on update. The four page-data tools take the owner token, or the page's management link alone as `manageUrl`. The server sends short instructions when a client connects. Thirty tools. Contract 2.22.0. `User-Agent: brewpage-mcp/1.19.0`.
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
2
2
|
export declare const DEFAULT_BASE_URL = "https://brewpage.app";
|
|
3
|
-
export declare const USER_AGENT = "brewpage-mcp/1.19.
|
|
3
|
+
export declare const USER_AGENT = "brewpage-mcp/1.19.1";
|
|
4
4
|
export declare const OWNER_TOKEN_ENV = "BREWPAGE_OWNER_TOKEN";
|
|
5
5
|
/** Server instructions of the handshake: one paragraph per line; the first stands alone within 512 chars. */
|
|
6
6
|
export declare const SERVER_INSTRUCTIONS: string;
|
package/dist/tools.js
CHANGED
|
@@ -2,7 +2,7 @@ import { McpServer } from "@modelcontextprotocol/server";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { PAGE_DATA_CALLS, PAGE_DATA_GUIDE } from "./guides/page-data.js";
|
|
4
4
|
export const DEFAULT_BASE_URL = "https://brewpage.app";
|
|
5
|
-
export const USER_AGENT = "brewpage-mcp/1.19.
|
|
5
|
+
export const USER_AGENT = "brewpage-mcp/1.19.1";
|
|
6
6
|
export const OWNER_TOKEN_ENV = "BREWPAGE_OWNER_TOKEN";
|
|
7
7
|
/** Server instructions of the handshake: one paragraph per line; the first stands alone within 512 chars. */
|
|
8
8
|
export const SERVER_INSTRUCTIONS = [
|
|
@@ -513,7 +513,7 @@ export function createServer(options = {}) {
|
|
|
513
513
|
const apiFetch = options.fetch ?? fetch;
|
|
514
514
|
const server = new McpServer({
|
|
515
515
|
name: "brewpage-mcp",
|
|
516
|
-
version: "1.19.
|
|
516
|
+
version: "1.19.1",
|
|
517
517
|
}, { instructions: SERVER_INSTRUCTIONS });
|
|
518
518
|
/** Caller argument first, then the configured default; `fromEnv` marks the configured one. */
|
|
519
519
|
function ownerTokenFor(argument) {
|
package/package.json
CHANGED