@insforge/mcp 1.1.7-dev.10 → 1.1.7-dev.11
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.
|
@@ -837,8 +837,8 @@ function registerInsforgeTools(server, config = {}) {
|
|
|
837
837
|
const result = await handleApiResponse(response);
|
|
838
838
|
if (result && typeof result === "object" && "content" in result) {
|
|
839
839
|
let content = result.content;
|
|
840
|
-
content = content.replace(/http:\/\/localhost:7130
|
|
841
|
-
content = content.replace(/https:\/\/your-app\.region\.insforge\.app
|
|
840
|
+
content = content.replace(/http:\/\/localhost:7130/g, API_BASE_URL);
|
|
841
|
+
content = content.replace(/https:\/\/your-app\.region\.insforge\.app/g, API_BASE_URL);
|
|
842
842
|
return content;
|
|
843
843
|
}
|
|
844
844
|
throw new Error("Invalid response format from documentation endpoint");
|
package/dist/http-server.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED