@sassoftware/sas-score-mcp-serverjs 0.3.15 → 0.3.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/sas-score-mcp-serverjs",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "A mcp server for SAS Viya",
5
5
  "author": "Deva Kumar <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
@@ -236,6 +236,18 @@ app.options("/mcp", (_, res) => res.sendStatus(204));
236
236
  app.post("/mcp", requireBearer, handleRequest);
237
237
  app.get("/mcp", handleGetDelete);
238
238
  app.delete("/mcp", handleGetDelete);
239
+ app.get("/startup", (_req, res) => {
240
+ if (appServer == null) {
241
+ return res.status(500).json({ status: "starting" });
242
+ }
243
+ return res.status(200).json({ status: "started" });
244
+ });
245
+ app.get("/ready", (_req, res) => {
246
+ if (appServer == null) {
247
+ return res.status(500).json({ status: "not ready" });
248
+ }
249
+ return res.status(200).json({ status: "ready" });
250
+ });
239
251
 
240
252
  // Start the server
241
253
  let appEnvBase = cache.get("appEnvBase");