brewpage-mcp 1.3.0 → 1.3.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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -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.1.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/uploads`, {
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,6 @@
1
1
  {
2
2
  "name": "brewpage-mcp",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "MCP server for BrewPage — publish and manage HTML, KV, JSON, and file content from AI assistants",
5
5
  "type": "module",
6
6
  "bin": {