@aiwerk/mcp-bridge 2.8.15 → 2.8.17
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/src/mcp-router.js +4 -4
- package/package.json +1 -1
package/dist/src/mcp-router.js
CHANGED
|
@@ -119,7 +119,7 @@ export class McpRouter {
|
|
|
119
119
|
name: r.name,
|
|
120
120
|
description: r.description || "",
|
|
121
121
|
category: r.category,
|
|
122
|
-
auth:
|
|
122
|
+
auth: r.authSummary || (r.authRequired ? "required" : "none"),
|
|
123
123
|
}))
|
|
124
124
|
};
|
|
125
125
|
}
|
|
@@ -133,15 +133,15 @@ export class McpRouter {
|
|
|
133
133
|
return this.error("mcp_error", "Catalog client not available");
|
|
134
134
|
}
|
|
135
135
|
try {
|
|
136
|
-
const recipeList = await this.catalogClient.list();
|
|
136
|
+
const recipeList = await this.catalogClient.list({ limit: 200 });
|
|
137
137
|
return {
|
|
138
138
|
action: "catalog",
|
|
139
|
-
recipes: recipeList.results.map(r => ({
|
|
139
|
+
recipes: recipeList.results.map((r) => ({
|
|
140
140
|
id: r.name,
|
|
141
141
|
name: r.name,
|
|
142
142
|
description: r.description || "",
|
|
143
143
|
category: r.category,
|
|
144
|
-
auth:
|
|
144
|
+
auth: r.authSummary || (r.authRequired ? "required" : "none"),
|
|
145
145
|
}))
|
|
146
146
|
};
|
|
147
147
|
}
|