@devpad/mcp 2.2.0 → 2.2.3

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 +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12010,9 +12010,10 @@ var ApiClient2 = class {
12010
12010
  session: () => wrap(() => this.clients.auth_root.get("/auth/session")),
12011
12011
  keys: {
12012
12012
  list: () => wrap(() => this.clients.auth.get("/keys")),
12013
- create: (name) => wrap(() => this.clients.auth.post("/keys", {
12014
- body: name ? { name } : {}
12015
- })),
12013
+ create: (input) => {
12014
+ const body = typeof input === "string" ? { name: input } : input ?? {};
12015
+ return wrap(() => this.clients.auth.post("/keys", { body }));
12016
+ },
12016
12017
  revoke: (key_id) => wrap(() => this.clients.auth.delete(`/keys/${key_id}`)),
12017
12018
  remove: (key_id) => wrap(() => this.clients.auth.delete(`/keys/${key_id}`))
12018
12019
  }
@@ -12480,7 +12481,7 @@ var ApiClient2 = class {
12480
12481
  tags: new ApiClient({ ...clientOptions, category: "tags" }),
12481
12482
  blog: new ApiClient({ ...clientOptions, category: "blog" }),
12482
12483
  media: new ApiClient({ ...clientOptions, category: "media" }),
12483
- pulse: new ApiClient({ ...clientOptions, category: "pulse" })
12484
+ pulse: new ApiClient({ ...clientOptions, base_url: `${base_url}/pulse`, category: "pulse" })
12484
12485
  };
12485
12486
  }
12486
12487
  history() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/mcp",
3
- "version": "2.2.0",
3
+ "version": "2.2.3",
4
4
  "description": "MCP server for devpad - exposes devpad API functionality via Model Context Protocol",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",