@verglos/mcp 1.0.0 → 1.0.2

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/LICENSE ADDED
@@ -0,0 +1,163 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the
13
+ copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other
16
+ entities that control, are controlled by, or are under common control with
17
+ that entity. For the purposes of this definition, "control" means (i) the
18
+ power, direct or indirect, to cause the direction or management of such
19
+ entity, whether by contract or otherwise, or (ii) ownership of fifty percent
20
+ (50%) or more of the outstanding shares, or (iii) beneficial ownership of
21
+ such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
24
+ permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation source, and
28
+ configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical transformation
31
+ or translation of a Source form, including but not limited to compiled object
32
+ code, generated documentation, and conversions to other media types.
33
+
34
+ "Work" shall mean the work of authorship, whether in Source or Object form,
35
+ made available under the License, as indicated by a copyright notice that is
36
+ included in or attached to the work.
37
+
38
+ "Derivative Works" shall mean any work, whether in Source or Object form,
39
+ that is based on (or derived from) the Work and for which the editorial
40
+ revisions, annotations, elaborations, or other modifications represent, as a
41
+ whole, an original work of authorship. For the purposes of this License,
42
+ Derivative Works shall not include works that remain separable from, or
43
+ merely link (or bind by name) to the interfaces of, the Work and Derivative
44
+ Works thereof.
45
+
46
+ "Contribution" shall mean any work of authorship, including the original
47
+ version of the Work and any modifications or additions to that Work or
48
+ Derivative Works thereof, that is intentionally submitted to Licensor for
49
+ inclusion in the Work by the copyright owner or by an individual or Legal
50
+ Entity authorized to submit on behalf of the copyright owner. For the
51
+ purposes of this definition, "submitted" means any form of electronic,
52
+ verbal, or written communication sent to the Licensor or its representatives,
53
+ including but not limited to communication on electronic mailing lists,
54
+ source code control systems, and issue tracking systems that are managed by,
55
+ or on behalf of, the Licensor for the purpose of discussing and improving
56
+ the Work, but excluding communication that is conspicuously marked or
57
+ otherwise designated in writing by the copyright owner as "Not a
58
+ Contribution."
59
+
60
+ "Contributor" shall mean Licensor and any individual or Legal Entity on
61
+ behalf of whom a Contribution has been received by Licensor and subsequently
62
+ incorporated within the Work.
63
+
64
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
65
+ License, each Contributor hereby grants to You a perpetual, worldwide,
66
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
67
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
68
+ sublicense, and distribute the Work and such Derivative Works in Source or
69
+ Object form.
70
+
71
+ 3. Grant of Patent License. Subject to the terms and conditions of this
72
+ License, each Contributor hereby grants to You a perpetual, worldwide,
73
+ non-exclusive, no-charge, royalty-free, irrevocable patent license to make,
74
+ have made, use, offer to sell, sell, import, and otherwise transfer the Work,
75
+ where such license applies only to those patent claims licensable by such
76
+ Contributor that are necessarily infringed by their Contribution(s) alone or
77
+ by combination of their Contribution(s) with the Work to which such
78
+ Contribution(s) was submitted. If You institute patent litigation against
79
+ any entity (including a cross-claim or counterclaim in a lawsuit) alleging
80
+ that the Work or a Contribution incorporated within the Work constitutes
81
+ direct or contributory patent infringement, then any patent licenses granted
82
+ to You under this License for that Work shall terminate as of the date such
83
+ litigation is filed.
84
+
85
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
86
+ Derivative Works thereof in any medium, with or without modifications, and in
87
+ Source or Object form, provided that You meet the following conditions:
88
+
89
+ (a) You must give any other recipients of the Work or Derivative Works a
90
+ copy of this License; and
91
+
92
+ (b) You must cause any modified files to carry prominent notices stating
93
+ that You changed the files; and
94
+
95
+ (c) You must retain, in the Source form of any Derivative Works that You
96
+ distribute, all copyright, patent, trademark, and attribution notices from
97
+ the Source form of the Work, excluding those notices that do not pertain to
98
+ any part of the Derivative Works; and
99
+
100
+ (d) If the Work includes a "NOTICE" text file as part of its distribution,
101
+ then any Derivative Works that You distribute must include a readable copy of
102
+ the attribution notices contained within such NOTICE file, excluding those
103
+ notices that do not pertain to any part of the Derivative Works, in at least
104
+ one of the following places: within a NOTICE text file distributed as part of
105
+ the Derivative Works; within the Source form or documentation, if provided
106
+ along with the Derivative Works; or within a display generated by the
107
+ Derivative Works, if and wherever such third-party notices normally appear.
108
+ The contents of the NOTICE file are for informational purposes only and do
109
+ not modify the License. You may add Your own attribution notices within
110
+ Derivative Works that You distribute, alongside or as an addendum to the
111
+ NOTICE text from the Work, provided that such additional attribution notices
112
+ cannot be construed as modifying the License.
113
+
114
+ You may add Your own copyright statement to Your modifications and may
115
+ provide additional or different license terms and conditions for use,
116
+ reproduction, or distribution of Your modifications, or for any such
117
+ Derivative Works as a whole, provided Your use, reproduction, and
118
+ distribution of the Work otherwise complies with the conditions stated in
119
+ this License.
120
+
121
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
122
+ Contribution intentionally submitted for inclusion in the Work by You to the
123
+ Licensor shall be under the terms and conditions of this License, without
124
+ any additional terms or conditions. Notwithstanding the above, nothing herein
125
+ shall supersede or modify the terms of any separate license agreement you
126
+ may have executed with Licensor regarding such Contributions.
127
+
128
+ 6. Trademarks. This License does not grant permission to use the trade names,
129
+ trademarks, service marks, or product names of the Licensor, except as
130
+ required for reasonable and customary use in describing the origin of the
131
+ Work and reproducing the content of the NOTICE file.
132
+
133
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
134
+ writing, Licensor provides the Work (and each Contributor provides its
135
+ Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
136
+ KIND, either express or implied, including, without limitation, any
137
+ warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or
138
+ FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining
139
+ the appropriateness of using or redistributing the Work and assume any risks
140
+ associated with Your exercise of permissions under this License.
141
+
142
+ 8. Limitation of Liability. In no event and under no legal theory, whether
143
+ in tort (including negligence), contract, or otherwise, unless required by
144
+ applicable law (such as deliberate and grossly negligent acts) or agreed to
145
+ in writing, shall any Contributor be liable to You for damages, including
146
+ any direct, indirect, special, incidental, or consequential damages of any
147
+ character arising as a result of this License or out of the use or inability
148
+ to use the Work (including but not limited to damages for loss of goodwill,
149
+ work stoppage, computer failure or malfunction, or any and all other
150
+ commercial damages or losses), even if such Contributor has been advised of
151
+ the possibility of such damages.
152
+
153
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work
154
+ or Derivative Works thereof, You may choose to offer, and charge a fee for,
155
+ acceptance of support, warranty, indemnity, or other liability obligations
156
+ and/or rights consistent with this License. However, in accepting such
157
+ obligations, You may act only on Your own behalf and on Your sole
158
+ responsibility, not on behalf of any other Contributor, and only if You agree
159
+ to indemnify, defend, and hold each Contributor harmless for any liability
160
+ incurred by, or claims asserted against, such Contributor by reason of your
161
+ accepting any such warranty or additional liability.
162
+
163
+ END OF TERMS AND CONDITIONS
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  * verglos_scan full project scan
12
12
  * verglos_explain_finding why + fix, framework-aware
13
13
  *
14
- * All tools are free forever per architecture spec §7. No network
14
+ * All tools are free forever. No network
15
15
  * calls on the free path except registry lookups (which run against
16
16
  * the public npm registry, not Verglos infra).
17
17
  */
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@
11
11
  * verglos_scan full project scan
12
12
  * verglos_explain_finding why + fix, framework-aware
13
13
  *
14
- * All tools are free forever per architecture spec §7. No network
14
+ * All tools are free forever. No network
15
15
  * calls on the free path except registry lookups (which run against
16
16
  * the public npm registry, not Verglos infra).
17
17
  */
package/dist/server.d.ts CHANGED
@@ -3,12 +3,12 @@ import type { CheckBeforeWriteInput as ToolInput, CheckBeforeWriteResult as Tool
3
3
  /**
4
4
  * MCP server for Verglos.
5
5
  *
6
- * All tool handlers are stubs in W6-1 — they respond with a shape
6
+ * All tool handlers are stubs — they respond with a shape
7
7
  * that describes the tool but doesn't execute yet. Real handlers
8
- * land in W6-2 (check_before_write), W6-3 (check_package),
9
- * W6-4 (scan), W6-5 (explain_finding).
8
+ * land (check_before_write), follow-up (check_package),
9
+ * follow-up (scan), follow-up (explain_finding).
10
10
  *
11
- * Design constraints from architecture spec §7:
11
+ * Design constraints from design §7:
12
12
  * - Speaks JSON-RPC over stdio
13
13
  * - Startup banner goes to stderr; stdout is reserved for MCP transport
14
14
  * - Zero extra install (bundled in the CLI)
@@ -19,7 +19,7 @@ export type CheckBeforeWriteResult = ToolResult;
19
19
  export declare function createVerglosMcpServer(): Server;
20
20
  /**
21
21
  * Start an MCP server over stdio. Prints a startup banner to stderr
22
- * so stdout stays clean for the MCP transport (arch spec §7).
22
+ * so stdout stays clean for the MCP transport.
23
23
  */
24
24
  export declare function startStdioServer(): Promise<void>;
25
25
  //# sourceMappingURL=server.d.ts.map
package/dist/server.js CHANGED
@@ -156,7 +156,7 @@ export function createVerglosMcpServer() {
156
156
  }
157
157
  /**
158
158
  * Start an MCP server over stdio. Prints a startup banner to stderr
159
- * so stdout stays clean for the MCP transport (arch spec §7).
159
+ * so stdout stays clean for the MCP transport.
160
160
  */
161
161
  export async function startStdioServer() {
162
162
  const server = createVerglosMcpServer();
@@ -9,14 +9,14 @@ import type { Finding } from "@verglos/shared";
9
9
  * injection High-confidence SQL/command/XSS/NoSQL/path/SSRF.
10
10
  * ai-patterns AI-001..010 — the wedge. All the flagship rules.
11
11
  *
12
- * Skipped in this hot path (spec §7):
12
+ * Skipped in this hot path:
13
13
  * - dependencies (needs a lockfile, network to OSV)
14
14
  * - misconfig (needs project-wide context — .env, headers)
15
15
  * - git-history (needs a git repo)
16
16
  * - slopsquat (needs package.json + network)
17
17
  * - provenance (needs git log + repo scan)
18
18
  *
19
- * Target budget: <300ms per architecture spec §9. On a fresh temp
19
+ * Target budget: <300ms. On a fresh temp
20
20
  * dir + one file the sync detectors run in ~15-40ms; total round-
21
21
  * trip is dominated by the mkdtemp/rm calls (~5ms each on tmpfs).
22
22
  */
@@ -4,8 +4,8 @@ import { tmpdir } from "node:os";
4
4
  import { aiPatternsDetector, injectionDetector, secretsDetector, } from "@verglos/scanner";
5
5
  /**
6
6
  * Try to auto-correct known AI-* patterns. Currently only handles
7
- * AI-002 (Math.random / Date.now → token/OTP). Others land in a
8
- * follow-up commit — spec §7's "correctedCode is best-effort".
7
+ * AI-002 (Math.random / Date.now → token/OTP). Other corrections can be added
8
+ * over time; correctedCode is best-effort.
9
9
  */
10
10
  function tryCorrectCode(original, findings) {
11
11
  const ai002 = findings.find((f) => f.rule === "AI-002");
@@ -75,7 +75,7 @@ export async function checkBeforeWrite(input) {
75
75
  ]);
76
76
  const findings = detectorResults.flat();
77
77
  // Only certain/high-confidence findings drive the verdict per
78
- // arch spec §3 (medium/low sit in "worth a look").
78
+ // arch (medium/low sit in "worth a look").
79
79
  const scoreable = findings.filter((f) => {
80
80
  const conf = typeof f.confidence === "string"
81
81
  ? f.confidence
@@ -1 +1 @@
1
- {"version":3,"file":"check-before-write.js","sourceRoot":"","sources":["../../src/tools/check-before-write.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAEhB,MAAM,kBAAkB,CAAC;AAuC1B;;;;GAIG;AACH,SAAS,cAAc,CACrB,QAAgB,EAChB,QAAmB;IAEnB,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,C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AI,GACR,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ;gBAC9B,CAAC,CAAC,CAAC,CAAC,UAAU;gBACd,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,GAAG;oBACnB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,GAAG;wBACnB,CAAC,CAAC,MAAM;wBACR,CAAC,CAAC,QAAQ,CAAC;YACnB,OAAO,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,MAAM,CAAC;QAC/C,CAAC,CAAC,CAAC;QAEH,IAAI,OAAO,GAA+B,OAAO,CAAC;QAClD,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,UAAU,CAAC;YAAE,OAAO,GAAG,OAAO,CAAC;aACnE,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC;YAAE,OAAO,GAAG,MAAM,CAAC;QAExE,MAAM,aAAa,GAAG,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC3D,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEpD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;IACzD,CAAC;YAAS,CAAC;QACT,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACtD,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verglos/mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Model Context Protocol server for Verglos — lets AI agents scan and get security verdicts before writing code.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@modelcontextprotocol/sdk": "^1.0.4",
23
- "@verglos/shared": "1.0.0",
24
- "@verglos/scanner": "1.0.0"
23
+ "@verglos/scanner": "1.0.2",
24
+ "@verglos/shared": "1.0.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.15.29",
@@ -32,11 +32,11 @@
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
35
- "url": "git+https://github.com/anuragyadav-git/verglos.git",
35
+ "url": "git+https://github.com/Top-Notchh-Solutions/verglos.git",
36
36
  "directory": "packages/mcp"
37
37
  },
38
38
  "bugs": {
39
- "url": "https://github.com/anuragyadav-git/verglos/issues"
39
+ "url": "https://github.com/Top-Notchh-Solutions/verglos/issues"
40
40
  },
41
41
  "homepage": "https://verglos.com",
42
42
  "license": "Apache-2.0",