viewgate-mcp 1.0.18 → 1.0.20

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/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -118,7 +118,8 @@ function createMcpServer(apiKey, personalKey) {
118
118
  path: { type: "string", description: "The relative path of the endpoint" },
119
119
  method: { type: "string", description: "HTTP method (GET, POST, etc.)" },
120
120
  description: { type: "string", description: "Human-readable description of what the endpoint does. MUST be in the preferredLanguage." },
121
- hash: { type: "string", description: "Optional SHA256 hash of the endpoint definition for efficient diffing." }
121
+ hash: { type: "string", description: "Optional SHA256 hash of the endpoint definition for efficient diffing." },
122
+ contract: { type: "string", description: "Optional JSON string or description of the request/response contract (payload)." }
122
123
  },
123
124
  required: ["path", "method", "description"]
124
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viewgate-mcp",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "viewgate-mcp": "./dist/index.js"
@@ -37,4 +37,4 @@
37
37
  "tsx": "^4.21.0",
38
38
  "typescript": "^5.9.3"
39
39
  }
40
- }
40
+ }