@sensegrep/mcp 0.1.21 → 1.0.0
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 +190 -190
- package/README.md +39 -6
- package/dist/server.js +85 -87
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,190 +1,190 @@
|
|
|
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,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising 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
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
Copyright 2025 Stahldavid
|
|
179
|
-
|
|
180
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
-
you may not use this file except in compliance with the License.
|
|
182
|
-
You may obtain a copy of the License at
|
|
183
|
-
|
|
184
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
-
|
|
186
|
-
Unless required by applicable law or agreed to in writing, software
|
|
187
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
-
See the License for the specific language governing permissions and
|
|
190
|
-
limitations under the License.
|
|
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,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising 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
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2025 Stahldavid
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -14,10 +14,24 @@ npm install -g @sensegrep/mcp
|
|
|
14
14
|
{
|
|
15
15
|
"mcpServers": {
|
|
16
16
|
"sensegrep": {
|
|
17
|
-
"command": "
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "@sensegrep/mcp"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Or with global install first:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -g @sensegrep/mcp
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"sensegrep": {
|
|
34
|
+
"command": "sensegrep-mcp"
|
|
21
35
|
}
|
|
22
36
|
}
|
|
23
37
|
}
|
|
@@ -25,11 +39,30 @@ npm install -g @sensegrep/mcp
|
|
|
25
39
|
|
|
26
40
|
## Tools
|
|
27
41
|
|
|
42
|
+
Canonical tool names:
|
|
43
|
+
|
|
44
|
+
- `sensegrep_search`
|
|
45
|
+
- `sensegrep_index`
|
|
46
|
+
- `sensegrep_detect_duplicates`
|
|
47
|
+
|
|
48
|
+
Legacy aliases are still accepted for compatibility:
|
|
49
|
+
|
|
28
50
|
- `sensegrep.search`
|
|
29
51
|
- `sensegrep.index`
|
|
30
|
-
- `sensegrep.stats`
|
|
31
52
|
- `sensegrep.detect_duplicates`
|
|
32
|
-
|
|
53
|
+
|
|
54
|
+
## Environment Variables
|
|
55
|
+
|
|
56
|
+
Common MCP/runtime variables:
|
|
57
|
+
|
|
58
|
+
- `SENSEGREP_ROOT` - root directory to index/search
|
|
59
|
+
- `SENSEGREP_WATCH` - watcher toggle (`0`, `false`, `off`, `no` disables)
|
|
60
|
+
- `SENSEGREP_PROVIDER` - `gemini` or `openai`
|
|
61
|
+
- `SENSEGREP_EMBED_MODEL`, `SENSEGREP_EMBED_DIM`
|
|
62
|
+
- `GEMINI_API_KEY` / `GOOGLE_API_KEY`
|
|
63
|
+
- `SENSEGREP_OPENAI_API_KEY` / `FIREWORKS_API_KEY` / `OPENAI_API_KEY`
|
|
64
|
+
|
|
65
|
+
For the complete and official list, see `docs/mcp-setup.md` in the repository.
|
|
33
66
|
|
|
34
67
|
## Documentation
|
|
35
68
|
|
package/dist/server.js
CHANGED
|
@@ -12,10 +12,8 @@ let watchHandle = null;
|
|
|
12
12
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
13
13
|
const TOOL_NAMES = {
|
|
14
14
|
search: "sensegrep_search",
|
|
15
|
-
languages: "sensegrep_languages",
|
|
16
15
|
detectDuplicates: "sensegrep_detect_duplicates",
|
|
17
16
|
index: "sensegrep_index",
|
|
18
|
-
stats: "sensegrep_stats",
|
|
19
17
|
};
|
|
20
18
|
function matchesToolName(name, canonical, ...legacy) {
|
|
21
19
|
return name === canonical || legacy.includes(name);
|
|
@@ -151,24 +149,15 @@ async function generateTools() {
|
|
|
151
149
|
},
|
|
152
150
|
parentScope: { type: "string", description: "Parent scope/class name" },
|
|
153
151
|
imports: { type: "string", description: "Filter by imported module name" },
|
|
154
|
-
rerank: {
|
|
152
|
+
rerank: {
|
|
153
|
+
type: "boolean",
|
|
154
|
+
description: "Compatibility flag. Remote-only mode keeps semantic ranking unchanged",
|
|
155
|
+
},
|
|
155
156
|
rootDir: { type: "string", description: "Root directory (default: cwd)" },
|
|
156
157
|
},
|
|
157
158
|
required: ["query"],
|
|
158
159
|
},
|
|
159
160
|
},
|
|
160
|
-
{
|
|
161
|
-
name: TOOL_NAMES.languages,
|
|
162
|
-
description: "List supported languages, detect project languages, or show available variants",
|
|
163
|
-
inputSchema: {
|
|
164
|
-
type: "object",
|
|
165
|
-
properties: {
|
|
166
|
-
detect: { type: "boolean", description: "Detect languages in project" },
|
|
167
|
-
variants: { type: "boolean", description: "Show all variants by language" },
|
|
168
|
-
rootDir: { type: "string", description: "Root directory for detection" },
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
161
|
{
|
|
173
162
|
name: TOOL_NAMES.detectDuplicates,
|
|
174
163
|
description: "Detect logical duplicates using the existing semantic index.",
|
|
@@ -199,27 +188,21 @@ async function generateTools() {
|
|
|
199
188
|
},
|
|
200
189
|
{
|
|
201
190
|
name: TOOL_NAMES.index,
|
|
202
|
-
description: "Create
|
|
191
|
+
description: "Create/update semantic index or fetch index stats for the given root directory.",
|
|
203
192
|
inputSchema: {
|
|
204
193
|
type: "object",
|
|
205
194
|
properties: {
|
|
195
|
+
action: {
|
|
196
|
+
type: "string",
|
|
197
|
+
enum: ["index", "stats"],
|
|
198
|
+
description: "Operation type: index (default) or stats",
|
|
199
|
+
},
|
|
206
200
|
rootDir: { type: "string", description: "Root directory to index" },
|
|
207
201
|
mode: {
|
|
208
202
|
type: "string",
|
|
209
203
|
enum: ["incremental", "full"],
|
|
210
|
-
description: "Index mode (default: incremental)",
|
|
204
|
+
description: "Index mode when action=index (default: incremental)",
|
|
211
205
|
},
|
|
212
|
-
languages: { type: "string", description: "Languages to index (comma-separated, or 'auto')" },
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
name: TOOL_NAMES.stats,
|
|
218
|
-
description: "Get index stats for the given root directory.",
|
|
219
|
-
inputSchema: {
|
|
220
|
-
type: "object",
|
|
221
|
-
properties: {
|
|
222
|
-
rootDir: { type: "string", description: "Root directory" },
|
|
223
206
|
},
|
|
224
207
|
},
|
|
225
208
|
},
|
|
@@ -228,7 +211,7 @@ async function generateTools() {
|
|
|
228
211
|
}
|
|
229
212
|
const server = new Server({
|
|
230
213
|
name: "sensegrep",
|
|
231
|
-
version: "0.
|
|
214
|
+
version: "1.0.0",
|
|
232
215
|
}, {
|
|
233
216
|
capabilities: {
|
|
234
217
|
tools: {},
|
|
@@ -239,8 +222,12 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
239
222
|
return { tools };
|
|
240
223
|
});
|
|
241
224
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
242
|
-
const { name
|
|
243
|
-
const
|
|
225
|
+
const { name } = request.params;
|
|
226
|
+
const args = (request.params.arguments ?? {});
|
|
227
|
+
const rootDirArg = args.rootDir;
|
|
228
|
+
const rootDir = typeof rootDirArg === "string" && rootDirArg.length > 0
|
|
229
|
+
? rootDirArg
|
|
230
|
+
: process.env.SENSEGREP_ROOT || process.cwd();
|
|
244
231
|
try {
|
|
245
232
|
if (matchesToolName(name, TOOL_NAMES.search, "sensegrep.search")) {
|
|
246
233
|
const { core, tool } = await loadTool();
|
|
@@ -259,57 +246,43 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
259
246
|
});
|
|
260
247
|
return {
|
|
261
248
|
content: [{ type: "text", text: res.output }],
|
|
249
|
+
structuredContent: {
|
|
250
|
+
output: res.output,
|
|
251
|
+
},
|
|
262
252
|
};
|
|
263
253
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
const { getLanguageCapabilities, getVariantsGroupedByLanguage, detectProjectLanguages, formatDetectedLanguages, getAllLanguages, } = core;
|
|
267
|
-
const lines = [];
|
|
268
|
-
if (args?.detect) {
|
|
269
|
-
const detected = await detectProjectLanguages(rootDir);
|
|
270
|
-
if (detected.length === 0) {
|
|
271
|
-
lines.push("No supported languages detected.");
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
lines.push(formatDetectedLanguages(detected));
|
|
275
|
-
lines.push("");
|
|
276
|
-
lines.push(`Recommendation: Use --languages ${detected.map((d) => d.language).join(",")}`);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
else if (args?.variants) {
|
|
280
|
-
const variantsByLang = getVariantsGroupedByLanguage();
|
|
281
|
-
lines.push("Variants by language:\n");
|
|
282
|
-
for (const [lang, variants] of variantsByLang) {
|
|
283
|
-
lines.push(` ${lang}:`);
|
|
284
|
-
for (const v of variants) {
|
|
285
|
-
lines.push(` - ${v.name.padEnd(15)} ${v.description}`);
|
|
286
|
-
}
|
|
287
|
-
lines.push("");
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
else {
|
|
291
|
-
const all = getAllLanguages();
|
|
292
|
-
const caps = getLanguageCapabilities();
|
|
293
|
-
lines.push("Supported languages:\n");
|
|
294
|
-
for (const lang of all) {
|
|
295
|
-
lines.push(` ✅ ${lang.displayName} (${lang.extensions.join(", ")})`);
|
|
296
|
-
}
|
|
297
|
-
lines.push("");
|
|
298
|
-
lines.push(`Symbol types: ${caps.symbolTypes.join(", ")}`);
|
|
299
|
-
lines.push(`Variants: ${caps.variants.length} total`);
|
|
300
|
-
lines.push(`Decorators: ${caps.decorators.length} total`);
|
|
301
|
-
}
|
|
302
|
-
return { content: [{ type: "text", text: lines.join("\n") }] };
|
|
303
|
-
}
|
|
304
|
-
if (matchesToolName(name, TOOL_NAMES.index, "sensegrep.index")) {
|
|
254
|
+
const isLegacyStatsTool = matchesToolName(name, "sensegrep_stats", "sensegrep.stats");
|
|
255
|
+
if (matchesToolName(name, TOOL_NAMES.index, "sensegrep.index") || isLegacyStatsTool) {
|
|
305
256
|
const { core } = await loadTool();
|
|
306
257
|
const { Indexer, Instance } = core;
|
|
258
|
+
const action = String(args.action ?? (isLegacyStatsTool ? "stats" : "index")).toLowerCase();
|
|
259
|
+
if (action !== "index" && action !== "stats") {
|
|
260
|
+
throw new Error(`Invalid action: ${action}. Expected "index" or "stats".`);
|
|
261
|
+
}
|
|
262
|
+
if (action === "stats") {
|
|
263
|
+
const stats = await Instance.provide({
|
|
264
|
+
directory: rootDir,
|
|
265
|
+
fn: () => Indexer.getStats(),
|
|
266
|
+
});
|
|
267
|
+
return {
|
|
268
|
+
content: [{ type: "text", text: JSON.stringify(stats, null, 2) }],
|
|
269
|
+
structuredContent: {
|
|
270
|
+
action: "stats",
|
|
271
|
+
rootDir,
|
|
272
|
+
stats,
|
|
273
|
+
},
|
|
274
|
+
};
|
|
275
|
+
}
|
|
307
276
|
const mode = String(args.mode ?? "incremental").toLowerCase();
|
|
308
277
|
const full = mode === "full";
|
|
309
278
|
const result = (await Instance.provide({
|
|
310
279
|
directory: rootDir,
|
|
311
280
|
fn: () => (full ? Indexer.indexProject() : Indexer.indexProjectIncremental()),
|
|
312
281
|
}));
|
|
282
|
+
const stats = await Instance.provide({
|
|
283
|
+
directory: rootDir,
|
|
284
|
+
fn: () => Indexer.getStats(),
|
|
285
|
+
});
|
|
313
286
|
const files = result.files ?? 0;
|
|
314
287
|
const chunks = result.chunks ?? 0;
|
|
315
288
|
const skipped = result.skipped ?? 0;
|
|
@@ -320,7 +293,15 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
320
293
|
? `Indexed ${files} files (${chunks} chunks), skipped ${skipped}, removed ${removed} in ${duration}s`
|
|
321
294
|
: `Indexed ${files} files (${chunks} chunks) in ${duration}s`;
|
|
322
295
|
return {
|
|
323
|
-
content: [{ type: "text", text }],
|
|
296
|
+
content: [{ type: "text", text: `${text}\n\nStats:\n${JSON.stringify(stats, null, 2)}` }],
|
|
297
|
+
structuredContent: {
|
|
298
|
+
action: "index",
|
|
299
|
+
mode,
|
|
300
|
+
rootDir,
|
|
301
|
+
result,
|
|
302
|
+
stats,
|
|
303
|
+
summary: text,
|
|
304
|
+
},
|
|
324
305
|
};
|
|
325
306
|
}
|
|
326
307
|
if (matchesToolName(name, TOOL_NAMES.detectDuplicates, "sensegrep.detect_duplicates", "sensegrep.detect-duplicates")) {
|
|
@@ -379,7 +360,10 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
379
360
|
fn: () => DuplicateDetector.detect(options),
|
|
380
361
|
});
|
|
381
362
|
if (args?.json) {
|
|
382
|
-
return {
|
|
363
|
+
return {
|
|
364
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
365
|
+
structuredContent: result,
|
|
366
|
+
};
|
|
383
367
|
}
|
|
384
368
|
const lines = [];
|
|
385
369
|
if (!quiet) {
|
|
@@ -423,10 +407,24 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
423
407
|
}
|
|
424
408
|
if (result.duplicates.length === 0) {
|
|
425
409
|
lines.push("✅ No significant duplicates found!");
|
|
426
|
-
return {
|
|
410
|
+
return {
|
|
411
|
+
content: [{ type: "text", text: lines.join("\n") }],
|
|
412
|
+
structuredContent: {
|
|
413
|
+
rootDir,
|
|
414
|
+
summary: result.summary,
|
|
415
|
+
duplicates: [],
|
|
416
|
+
},
|
|
417
|
+
};
|
|
427
418
|
}
|
|
428
419
|
if (quiet) {
|
|
429
|
-
return {
|
|
420
|
+
return {
|
|
421
|
+
content: [{ type: "text", text: lines.join("\n") }],
|
|
422
|
+
structuredContent: {
|
|
423
|
+
rootDir,
|
|
424
|
+
summary: result.summary,
|
|
425
|
+
duplicates: result.duplicates.slice(0, limit),
|
|
426
|
+
},
|
|
427
|
+
};
|
|
430
428
|
}
|
|
431
429
|
const topDuplicates = result.duplicates.slice(0, limit);
|
|
432
430
|
lines.push(`Top ${topDuplicates.length} duplicates (ranked by impact):`);
|
|
@@ -487,24 +485,24 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
487
485
|
if (result.acceptableDuplicates && result.acceptableDuplicates.length > 0) {
|
|
488
486
|
lines.push(`💡 ${result.acceptableDuplicates.length} acceptable duplicates ignored (simple validations, guards, etc.)`);
|
|
489
487
|
}
|
|
490
|
-
return { content: [{ type: "text", text: lines.join("\n") }] };
|
|
491
|
-
}
|
|
492
|
-
if (matchesToolName(name, TOOL_NAMES.stats, "sensegrep.stats")) {
|
|
493
|
-
const { core } = await loadTool();
|
|
494
|
-
const { Indexer, Instance } = core;
|
|
495
|
-
const stats = await Instance.provide({
|
|
496
|
-
directory: rootDir,
|
|
497
|
-
fn: () => Indexer.getStats(),
|
|
498
|
-
});
|
|
499
488
|
return {
|
|
500
|
-
content: [{ type: "text", text:
|
|
489
|
+
content: [{ type: "text", text: lines.join("\n") }],
|
|
490
|
+
structuredContent: {
|
|
491
|
+
rootDir,
|
|
492
|
+
summary: result.summary,
|
|
493
|
+
duplicates: result.duplicates.slice(0, limit),
|
|
494
|
+
},
|
|
501
495
|
};
|
|
502
496
|
}
|
|
503
497
|
throw new Error(`Unknown tool: ${name}`);
|
|
504
498
|
}
|
|
505
499
|
catch (error) {
|
|
500
|
+
const message = error?.message || "Internal error";
|
|
506
501
|
return {
|
|
507
|
-
content: [{ type: "text", text: `Error: ${
|
|
502
|
+
content: [{ type: "text", text: `Error: ${message}` }],
|
|
503
|
+
structuredContent: {
|
|
504
|
+
error: message,
|
|
505
|
+
},
|
|
508
506
|
isError: true,
|
|
509
507
|
};
|
|
510
508
|
}
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GAEvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAExD,IAAI,WAAW,GAAwB,IAAI,CAAC;AAC5C,IAAI,WAAW,GAAwB,IAAI,CAAC;AAC5C,IAAI,WAAW,GAAkB,IAAI,CAAC;AACtC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC,IAAI,WAAW,GAAyC,IAAI,CAAC;AAC7D,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CA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AC;IAClB,CAAC,CAAC;IAEF,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AACjC,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;IACtC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sensegrep/mcp",
|
|
3
3
|
"mcpName": "io.github.Stahldavid/sensegrep",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/server.js",
|
|
7
7
|
"bin": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
26
|
-
"@sensegrep/core": "^0.
|
|
26
|
+
"@sensegrep/core": "^1.0.0",
|
|
27
27
|
"zod": "^4.2.1"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|