@sassoftware/sas-score-mcp-serverjs 0.3.9 → 0.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/openAPIJson.js +16 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/sas-score-mcp-serverjs",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "description": "A mcp server for SAS Viya",
5
5
  "author": "Deva Kumar <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
@@ -17,8 +17,9 @@ function openAPIJson(version) {
17
17
  "produces": ["application/json"],
18
18
  "paths": {
19
19
  "/health": {
20
- "get": {
20
+ "GET": {
21
21
  "summary": "Health check",
22
+ "operationId": "GetHealth",
22
23
  "description": "Returns health and version information.",
23
24
  "responses": {
24
25
  "200": {
@@ -38,9 +39,9 @@ function openAPIJson(version) {
38
39
  }
39
40
  },
40
41
  "/apiMeta": {
41
- "get": {
42
- "summary": "API metadata",
43
- "description": "Returns the OpenAPI specification for this server.",
42
+ "GET": {
43
+ "summary": "API metadata using apiMeta",
44
+ "operationId": "GetApiMeta",
44
45
  "responses": {
45
46
  "200": {
46
47
  "description": "OpenAPI document",
@@ -50,8 +51,9 @@ function openAPIJson(version) {
50
51
  }
51
52
  },
52
53
  "/openapi.json": {
53
- "get": {
54
- "summary": "API metadata",
54
+ "GET": {
55
+ "summary": "API metadata using openapi.json",
56
+ "operationId": "GetOpenApiJson",
55
57
  "description": "Returns the OpenAPI specification for this server.",
56
58
  "responses": {
57
59
  "200": {
@@ -62,16 +64,17 @@ function openAPIJson(version) {
62
64
  }
63
65
  },
64
66
  "/mcp": {
65
- "options": {
67
+ "OPTIONS": {
66
68
  "summary": "CORS preflight",
69
+ "operationId": "OptionsMcp",
67
70
  "description": "CORS preflight endpoint.",
68
71
  "responses": {
69
72
  "204": { "description": "No Content" }
70
73
  }
71
74
  },
72
- "post": {
75
+ "POST": {
73
76
  "summary": "MCP request",
74
- "description": "Handles MCP JSON-RPC requests.",
77
+ "operationId": "PostMcp",
75
78
  "parameters": [
76
79
  {
77
80
  "name": "body",
@@ -119,8 +122,9 @@ function openAPIJson(version) {
119
122
  }
120
123
  }
121
124
  },
122
- "get": {
125
+ "GET": {
123
126
  "summary": "Get MCP session",
127
+ "operationId": "GetMcp",
124
128
  "description": "Retrieves information for an MCP session.",
125
129
  "parameters": [
126
130
  {
@@ -141,9 +145,9 @@ function openAPIJson(version) {
141
145
  }
142
146
  }
143
147
  },
144
- "delete": {
148
+ "DELETE": {
145
149
  "summary": "Delete MCP session",
146
- "description": "Deletes an MCP session.",
150
+ "operationId": "DeleteMcp",
147
151
  "parameters": [
148
152
  {
149
153
  "name": "mcp-session-id",