brewpage-mcp 1.3.0 → 1.3.2
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/dist/index.js +2 -2
- package/package.json +2 -1
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.
|
|
8
|
+
version: "1.3.1",
|
|
9
9
|
});
|
|
10
10
|
async function apiRequest(method, path, body, headers) {
|
|
11
11
|
const url = `${BASE_URL}${path}`;
|
|
@@ -122,7 +122,7 @@ server.tool("publish_file", "Upload a file to BrewPage via URL. Returns a public
|
|
|
122
122
|
formData.append("file", blob, filename || fileUrl.split("/").pop() || "file");
|
|
123
123
|
if (namespace)
|
|
124
124
|
formData.append("namespace", namespace);
|
|
125
|
-
const res = await fetch(`${BASE_URL}/api/files
|
|
125
|
+
const res = await fetch(`${BASE_URL}/api/files`, {
|
|
126
126
|
method: "POST",
|
|
127
127
|
body: formData,
|
|
128
128
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brewpage-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
|
+
"mcpName": "io.github.kochetkov-ma/brewpage-mcp",
|
|
4
5
|
"description": "MCP server for BrewPage — publish and manage HTML, KV, JSON, and file content from AI assistants",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|