@hubfluencer/mcp 0.7.0 → 0.7.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/dist/index.js +5 -2
- package/package.json +1 -1
- package/src/index.ts +4 -4
package/dist/index.js
CHANGED
|
@@ -30120,7 +30120,7 @@ function readStoredCredentials() {
|
|
|
30120
30120
|
// package.json
|
|
30121
30121
|
var package_default = {
|
|
30122
30122
|
name: "@hubfluencer/mcp",
|
|
30123
|
-
version: "0.7.
|
|
30123
|
+
version: "0.7.1",
|
|
30124
30124
|
description: "Model Context Protocol server for Hubfluencer — let AI agents generate post-ready shorts and editor ads.",
|
|
30125
30125
|
license: "MIT",
|
|
30126
30126
|
author: "Monocursive <contact@monocursive.com>",
|
|
@@ -31729,7 +31729,10 @@ registerTool("list_projects", {
|
|
|
31729
31729
|
}, tool(async (args, client) => {
|
|
31730
31730
|
const cap = Math.min(100, Math.max(1, args.limit ?? 25));
|
|
31731
31731
|
const [shortsRaw, factoriesRaw] = await Promise.all([
|
|
31732
|
-
client.get("/shorts",
|
|
31732
|
+
client.get("/shorts", {
|
|
31733
|
+
...args.include_completed ? { include_completed: "true" } : {},
|
|
31734
|
+
per_page: String(cap)
|
|
31735
|
+
}).catch(() => ({ data: [] })),
|
|
31733
31736
|
client.get("/video-factories").catch(() => ({ data: [] }))
|
|
31734
31737
|
]);
|
|
31735
31738
|
const rows = (raw) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubfluencer/mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Model Context Protocol server for Hubfluencer — let AI agents generate post-ready shorts and editor ads.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Monocursive <contact@monocursive.com>",
|
package/src/index.ts
CHANGED
|
@@ -1233,10 +1233,10 @@ registerTool(
|
|
|
1233
1233
|
const cap = Math.min(100, Math.max(1, args.limit ?? 25));
|
|
1234
1234
|
const [shortsRaw, factoriesRaw] = await Promise.all([
|
|
1235
1235
|
client
|
|
1236
|
-
.get<{ data: unknown }>(
|
|
1237
|
-
"
|
|
1238
|
-
|
|
1239
|
-
)
|
|
1236
|
+
.get<{ data: unknown }>("/shorts", {
|
|
1237
|
+
...(args.include_completed ? { include_completed: "true" } : {}),
|
|
1238
|
+
per_page: String(cap),
|
|
1239
|
+
})
|
|
1240
1240
|
.catch(() => ({ data: [] })),
|
|
1241
1241
|
client
|
|
1242
1242
|
.get<{ data: unknown }>("/video-factories")
|