@aiwerk/mcp-bridge 2.8.16 → 2.8.18
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.d.ts +8 -0
- package/dist/src/mcp-router.js +11 -3
- package/package.json +1 -1
package/dist/src/mcp-router.d.ts
CHANGED
|
@@ -83,6 +83,10 @@ export type RouterDispatchResponse = {
|
|
|
83
83
|
description: string;
|
|
84
84
|
category?: string;
|
|
85
85
|
auth?: string;
|
|
86
|
+
origin?: string;
|
|
87
|
+
maturity?: string;
|
|
88
|
+
sideEffects?: string;
|
|
89
|
+
pricing?: string;
|
|
86
90
|
}>;
|
|
87
91
|
} | {
|
|
88
92
|
action: "catalog";
|
|
@@ -92,6 +96,10 @@ export type RouterDispatchResponse = {
|
|
|
92
96
|
description: string;
|
|
93
97
|
category?: string;
|
|
94
98
|
auth?: string;
|
|
99
|
+
origin?: string;
|
|
100
|
+
maturity?: string;
|
|
101
|
+
sideEffects?: string;
|
|
102
|
+
pricing?: string;
|
|
95
103
|
}>;
|
|
96
104
|
} | {
|
|
97
105
|
action: "install";
|
package/dist/src/mcp-router.js
CHANGED
|
@@ -119,7 +119,11 @@ 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
|
+
origin: r.origin,
|
|
124
|
+
maturity: r.maturity,
|
|
125
|
+
sideEffects: r.sideEffects,
|
|
126
|
+
pricing: r.pricing,
|
|
123
127
|
}))
|
|
124
128
|
};
|
|
125
129
|
}
|
|
@@ -136,12 +140,16 @@ export class McpRouter {
|
|
|
136
140
|
const recipeList = await this.catalogClient.list({ limit: 200 });
|
|
137
141
|
return {
|
|
138
142
|
action: "catalog",
|
|
139
|
-
recipes: recipeList.results.map(r => ({
|
|
143
|
+
recipes: recipeList.results.map((r) => ({
|
|
140
144
|
id: r.name,
|
|
141
145
|
name: r.name,
|
|
142
146
|
description: r.description || "",
|
|
143
147
|
category: r.category,
|
|
144
|
-
auth:
|
|
148
|
+
auth: r.authSummary || (r.authRequired ? "required" : "none"),
|
|
149
|
+
origin: r.origin,
|
|
150
|
+
maturity: r.maturity,
|
|
151
|
+
sideEffects: r.sideEffects,
|
|
152
|
+
pricing: r.pricing,
|
|
145
153
|
}))
|
|
146
154
|
};
|
|
147
155
|
}
|