@nbiish/cognitive-tools-mcp 0.3.0 → 0.3.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 +81 -230
- package/README.md +78 -1
- package/build/index.js +55 -50
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,233 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
COMPREHENSIVE RESTRICTED USE LICENSE FOR INDIGENOUS CREATIONS
|
|
2
|
+
WITH TRIBAL SOVEREIGNTY, DATA SOVEREIGNTY, AND WEALTH RECLAMATION PROTECTIONS
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
Version 1.0, March 2025
|
|
5
|
+
|
|
6
|
+
Copyright (c) 2025 ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi)
|
|
7
|
+
Also known legally as JUSTIN PAUL KENWABIKISE
|
|
8
|
+
Professionally documented as Nbiish-Justin Paul Kenwabikise
|
|
9
|
+
Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder)
|
|
10
|
+
Enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians
|
|
4
11
|
|
|
5
12
|
PREAMBLE
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
j) Any use contrary to the traditional values of the Grand Traverse Band of Ottawa and Chippewa Indians
|
|
79
|
-
k) Any use in contexts that do not respect the spiritual or cultural significance of embedded knowledge elements
|
|
80
|
-
|
|
81
|
-
5. PERMISSIBLE USES AND ACCESS PROTOCOLS
|
|
82
|
-
Permissible uses of this software must respect the following protocols and conditions:
|
|
83
|
-
a) Educational use is permitted provided that proper attribution is given and cultural context is preserved
|
|
84
|
-
b) Research use is permitted provided that research findings are shared with the copyright holder
|
|
85
|
-
c) Non-commercial community development is permitted with prior notification
|
|
86
|
-
d) Use that promotes accurate cultural understanding and representation is encouraged
|
|
87
|
-
e) All permissible uses must adhere to the cultural protocols established by the Grand Traverse Band of Ottawa and Chippewa Indians
|
|
88
|
-
f) Users must employ culturally appropriate methods of engagement with the software
|
|
89
|
-
|
|
90
|
-
6. PRIOR INFORMED CONSENT REQUIREMENT
|
|
91
|
-
Any use beyond the scope of Section 5 requires prior informed consent from the copyright holder. Such consent must be:
|
|
92
|
-
a) Obtained in writing before any such use begins
|
|
93
|
-
b) Based on full disclosure of intended purposes, methods, and outcomes
|
|
94
|
-
c) Subject to revocation at any time in accordance with Section 3
|
|
95
|
-
d) Not transferable to any third party without explicit permission
|
|
96
|
-
e) Contingent upon regular reporting of usage and outcomes to the copyright holder
|
|
97
|
-
|
|
98
|
-
7. COMPENSATION AND FINANCIAL RECOVERY FOR UNAUTHORIZED USE
|
|
99
|
-
Any individual, entity, corporation, business, or artificial intelligence system that uses, distributes, reproduces, modifies, commercializes, or otherwise derives benefit from this software without proper authorization shall be subject to comprehensive financial restitution provisions as follows:
|
|
100
|
-
|
|
101
|
-
7.1 MANDATORY DISGORGEMENT OF BENEFITS
|
|
102
|
-
Any party that derives financial or non-financial benefits from unauthorized use of this software shall be required to fully disgorge and transfer to the copyright holder:
|
|
103
|
-
a) All direct revenue and profits derived from the unauthorized use
|
|
104
|
-
b) All indirect revenue and profits reasonably attributable to the unauthorized use
|
|
105
|
-
c) Fair market value of any non-monetary benefits obtained
|
|
106
|
-
d) Interest accrued on all financial gains at a rate of 10% per annum compounded monthly from the date of first unauthorized use
|
|
107
|
-
e) The greater of actual or statutory damages as determined by the copyright holder or tribal court
|
|
108
|
-
f) Any enhanced value added to the user's products, services, or business attributable to the unauthorized use
|
|
109
|
-
|
|
110
|
-
7.2 COMPENSATION CALCULATION AND ASSESSMENT
|
|
111
|
-
The calculation of appropriate compensation shall be determined by the copyright holder or designated tribal authorities, and may include:
|
|
112
|
-
a) A royalty rate of no less than 20% of gross revenue derived from unauthorized use
|
|
113
|
-
b) Minimum statutory damages of $150,000 per instance of willful infringement
|
|
114
|
-
c) Traditional forms of restitution as determined according to the customs and practices of the Grand Traverse Band of Ottawa and Chippewa Indians
|
|
115
|
-
d) Compensation for cultural and spiritual harm caused by unauthorized use, which cannot be adequately measured in purely monetary terms
|
|
116
|
-
e) Compensation for diminishment of the unique value of the copyright holder's intellectual property
|
|
117
|
-
f) Predetermined liquidated damages of $10,000 per day for the duration of unauthorized use
|
|
118
|
-
|
|
119
|
-
7.3 ADDITIONAL FINANCIAL REMEDIES
|
|
120
|
-
In addition to disgorgement of benefits, unauthorized users shall be liable for:
|
|
121
|
-
a) All legal and professional fees incurred in pursuing recovery
|
|
122
|
-
b) Costs of cultural restoration and rehabilitation where applicable
|
|
123
|
-
c) Costs of publicly correcting any misrepresentations made about the software or its origins
|
|
124
|
-
d) Costs associated with notifying affected parties of the unauthorized use
|
|
125
|
-
e) Administrative fees associated with the assessment and collection of compensation
|
|
126
|
-
|
|
127
|
-
7.4 PROPERTY TRANSFER PROVISIONS
|
|
128
|
-
In cases of willful, flagrant, or continued unauthorized use after notification, the copyright holder may require:
|
|
129
|
-
a) Transfer of intellectual property rights in derivative works or applications
|
|
130
|
-
b) Transfer of domain names, user accounts, or other digital assets associated with the unauthorized use
|
|
131
|
-
c) Transfer of equipment used in the unauthorized exploitation of the software
|
|
132
|
-
d) Assignment of relevant patents, trademarks, or other intellectual property rights obtained in connection with the unauthorized use
|
|
133
|
-
|
|
134
|
-
7.5 JURISDICTIONAL AND PROCEDURAL CONSIDERATIONS
|
|
135
|
-
a) The Grand Traverse Band Tribal Court shall have primary jurisdiction to determine and enforce appropriate compensation
|
|
136
|
-
b) These compensation provisions shall be enforceable in tribal, federal, and state courts
|
|
137
|
-
c) The copyright holder may pursue compensation through traditional dispute resolution mechanisms of the Grand Traverse Band of Ottawa and Chippewa Indians
|
|
138
|
-
d) Unauthorized users expressly consent to the jurisdiction of tribal courts for resolving disputes regarding compensation
|
|
139
|
-
e) The copyright holder is entitled to seek enforcement and recognition of tribal court judgments in federal and state courts under principles of comity and full faith and credit
|
|
140
|
-
f) Non-monetary forms of restitution may be required in accordance with tribal customs and traditions
|
|
141
|
-
|
|
142
|
-
7.6 WAIVER OF DEFENSES
|
|
143
|
-
By using this software, users expressly waive defenses related to:
|
|
144
|
-
a) Lack of knowledge of these compensation provisions
|
|
145
|
-
b) Challenges to tribal court jurisdiction
|
|
146
|
-
c) Statute of limitations or laches defenses
|
|
147
|
-
d) Challenges to the reasonableness of the compensation amounts specified herein
|
|
148
|
-
e) Claims of sovereign immunity by governmental entities
|
|
149
|
-
|
|
150
|
-
8. ALTERNATIVE TRIBAL COURT SELECTION AND LIMITLESS TIMEFRAME
|
|
151
|
-
8.1 SELECTION OF ALTERNATIVE TRIBAL FORUMS
|
|
152
|
-
If, for any reason, the Grand Traverse Band of Ottawa and Chippewa Indians Tribal Court is unable, unwilling, or without jurisdiction to address issues arising under this license, or if the copyright holder determines that another tribal forum would be more appropriate for resolving any dispute:
|
|
153
|
-
a) The copyright holder retains the absolute and exclusive right to select any other federally recognized tribal court or traditional dispute resolution forum of any federally recognized tribe within the United States as an alternative forum for adjudication, without limitation
|
|
154
|
-
b) This selection may be made at any time, including after proceedings have begun in another forum
|
|
155
|
-
c) The copyright holder's selection of an alternative tribal forum shall be binding on all users of this software
|
|
156
|
-
d) Users expressly consent to the jurisdiction of any tribal court or traditional dispute resolution forum selected by the copyright holder
|
|
157
|
-
e) Users expressly waive any challenges to the jurisdiction, authority, or procedures of the selected tribal forum
|
|
158
|
-
f) The copyright holder may select tribal forums with cultural, historical, or traditional connections to the Ottawa and Chippewa Nations, but is not limited to such forums
|
|
159
|
-
g) The copyright holder may consider, but is not bound by, factors such as a tribal court's experience with intellectual property matters, traditional knowledge protection, cultural expertise, or proximity to the parties
|
|
160
|
-
|
|
161
|
-
8.2 UNLIMITED TIMEFRAME FOR DECISION AND ACTION
|
|
162
|
-
The copyright holder shall have unlimited time to:
|
|
163
|
-
a) Discover violations of this license
|
|
164
|
-
b) Select an appropriate tribal forum for resolution
|
|
165
|
-
c) Initiate proceedings in any chosen forum
|
|
166
|
-
d) Transfer proceedings between tribal forums
|
|
167
|
-
e) Pursue remedies in multiple tribal forums sequentially or simultaneously
|
|
168
|
-
f) Determine the nature and extent of remedies to be sought
|
|
169
|
-
|
|
170
|
-
8.3 COMPREHENSIVE COST RECOVERY FOR FORUM SELECTION
|
|
171
|
-
All costs incurred by the copyright holder related to the selection, assessment, and utilization of alternative tribal forums shall be borne by the user who has violated this license, including but not limited to:
|
|
172
|
-
a) All travel, lodging, and subsistence expenses incurred by the copyright holder, their legal representatives, cultural advisors, and witnesses in visiting, assessing, or appearing before potential or selected tribal forums
|
|
173
|
-
b) Costs of researching and evaluating potential tribal forums
|
|
174
|
-
c) Administrative and filing fees in all considered or selected tribal forums
|
|
175
|
-
d) Translation and interpretation costs
|
|
176
|
-
e) Costs of cultural protocols, offerings, or ceremonies required when engaging with tribal justice systems
|
|
177
|
-
f) Consultation fees for tribal legal experts, cultural advisors, and knowledge keepers
|
|
178
|
-
g) Lost income, opportunity costs, and compensation for time spent by the copyright holder in the forum selection and dispute resolution process
|
|
179
|
-
h) Communication and coordination costs between multiple tribal forums
|
|
180
|
-
i) Costs of enforcing or domesticating tribal court judgments in other jurisdictions
|
|
181
|
-
j) Any other reasonable expenses incurred in the process of forum selection and utilization
|
|
182
|
-
|
|
183
|
-
8.4 ENFORCEABILITY OF ALTERNATIVE TRIBAL COURT JUDGMENTS
|
|
184
|
-
Any judgment, order, or decision rendered by an alternative tribal forum selected by the copyright holder shall be:
|
|
185
|
-
a) Binding on all users of this software
|
|
186
|
-
b) Entitled to recognition and enforcement in federal and state courts under principles of comity, as articulated in cases such as Wilson v. Marchington, 127 F.3d 805 (9th Cir. 1997), and Michigan v. Bay Mills Indian Community, 572 U.S. 782 (2014)
|
|
187
|
-
c) Presumptively valid and not subject to collateral attack in other courts
|
|
188
|
-
d) Enforceable through traditional tribal methods, federal court proceedings, or state court proceedings, at the copyright holder's discretion
|
|
189
|
-
e) Given full faith and credit where applicable under 28 U.S.C. § 1738
|
|
190
|
-
|
|
191
|
-
8.5 WAIVER OF FORUM NON CONVENIENS AND SIMILAR DEFENSES
|
|
192
|
-
Users expressly waive any objection to the copyright holder's selection of an alternative tribal forum based on:
|
|
193
|
-
a) Geographic distance or inconvenience
|
|
194
|
-
b) Unfamiliarity with the selected forum's laws, customs, or procedures
|
|
195
|
-
c) Claims of forum non conveniens
|
|
196
|
-
d) Language barriers or cultural differences
|
|
197
|
-
e) Financial hardship in appearing before the selected forum
|
|
198
|
-
f) Preference for state or federal forums
|
|
199
|
-
g) Prior commencement of proceedings in another forum
|
|
200
|
-
|
|
201
|
-
9. JURISDICTION AND GOVERNING LAW
|
|
202
|
-
This license shall be governed by and construed in accordance with:
|
|
203
|
-
a) The Constitution and laws of the Grand Traverse Band of Ottawa and Chippewa Indians
|
|
204
|
-
b) Federal Indian law of the United States
|
|
205
|
-
c) The laws of the State of Michigan, to the extent they do not conflict with tribal sovereignty
|
|
206
|
-
d) International declarations of Indigenous rights including UNDRIP and the American Declaration on the Rights of Indigenous Peoples
|
|
207
|
-
e) Principles established in the Native American Graves Protection and Repatriation Act (NAGPRA) and the Indian Arts and Crafts Act, which recognize the special status of Native American cultural property
|
|
208
|
-
f) The laws, customs, and traditions of any tribal forum selected under Section 8
|
|
209
|
-
|
|
210
|
-
Any dispute arising under this license may, at the copyright holder's discretion, be subject to the jurisdiction of the Grand Traverse Band Tribal Court, any alternative tribal forum selected under Section 8, or in federal court with jurisdiction over federal Indian law matters, as established under 28 U.S.C. § 1331 and § 1362.
|
|
211
|
-
|
|
212
|
-
10. REMEDIES AND ENFORCEMENT
|
|
213
|
-
Violations of this license may result in:
|
|
214
|
-
a) Injunctive relief in tribal, federal, or state courts
|
|
215
|
-
b) Monetary damages including traditional forms of restitution
|
|
216
|
-
c) Enforcement under tribal law, including remedies established by the Grand Traverse Band Tribal Court or any alternative tribal forum selected under Section 8
|
|
217
|
-
d) Application of both civil and criminal penalties where applicable
|
|
218
|
-
e) Spiritual and cultural remediation as determined appropriate by tribal authorities
|
|
219
|
-
f) Public disclosure of violations
|
|
220
|
-
|
|
221
|
-
11. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY
|
|
222
|
-
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
|
|
223
|
-
|
|
224
|
-
12. NO WAIVER OF SOVEREIGNTY
|
|
225
|
-
Nothing in this license shall be construed as a waiver of sovereign immunity or tribal rights. The copyright holder reserves all rights not expressly granted herein, including those held under indigenous customary law and tribal governance structures. The tribal sovereign immunity of the Grand Traverse Band of Ottawa and Chippewa Indians extends to the copyright holder as a tribal member asserting rights connected to tribal sovereignty.
|
|
226
|
-
|
|
227
|
-
13. SEVERABILITY AND INTERPRETATION
|
|
228
|
-
If any provision of this license is held to be unenforceable or invalid, such provision shall be modified to the minimum extent necessary to make it valid and enforceable. If modification is not possible, the provision shall be severed, and the remaining provisions shall remain in full force and effect. Per established canons of construction in federal Indian law, any ambiguity in this license shall be resolved in favor of tribal rights and sovereignty.
|
|
229
|
-
|
|
230
|
-
14. AMENDMENTS AND MODIFICATIONS
|
|
231
|
-
The copyright holder reserves the right to amend or modify this license at any time. Continued use of the software after any such changes constitutes acceptance of the modified terms. It is the responsibility of the user to regularly check for updates to this license.
|
|
232
|
-
|
|
233
|
-
Any use of this software constitutes acceptance of these terms.
|
|
13
|
+
|
|
14
|
+
This license governs the use, reproduction, modification, and distribution of the software and associated documentation files (the "Work"), which incorporates Indigenous knowledge, cultural expressions, and intellectual property. The Work is protected under tribal law, federal Indian law, treaty rights, Indigenous Data Sovereignty principles, and international indigenous rights frameworks including the United Nations Declaration on the Rights of Indigenous Peoples (UNDRIP).
|
|
15
|
+
|
|
16
|
+
TERMS AND CONDITIONS
|
|
17
|
+
|
|
18
|
+
1. DEFINITIONS
|
|
19
|
+
|
|
20
|
+
"Indigenous Knowledge" means traditional knowledge, cultural expressions, practices, and innovations that are part of the cultural heritage of Indigenous peoples.
|
|
21
|
+
|
|
22
|
+
"Indigenous Data Sovereignty" means the right of Indigenous peoples to maintain, control, protect and develop their cultural heritage, traditional knowledge and traditional cultural expressions, as well as their right to maintain, control, protect and develop their intellectual property over such cultural heritage, traditional knowledge, and traditional cultural expressions.
|
|
23
|
+
|
|
24
|
+
2. GRANT OF RIGHTS
|
|
25
|
+
|
|
26
|
+
Subject to the terms and conditions of this License, the Creator hereby grants you a non-exclusive, worldwide, revocable license to use the Work for non-commercial purposes only, provided that:
|
|
27
|
+
|
|
28
|
+
a) You maintain all copyright, trademark, and attribution notices
|
|
29
|
+
b) You do not use the Work for commercial purposes without explicit written permission
|
|
30
|
+
c) You respect and adhere to Indigenous protocols and cultural practices
|
|
31
|
+
d) You acknowledge the sovereignty of Indigenous nations and their right to govern their data and knowledge
|
|
32
|
+
|
|
33
|
+
3. RESTRICTIONS
|
|
34
|
+
|
|
35
|
+
You may not:
|
|
36
|
+
|
|
37
|
+
a) Use the Work in any way that misappropriates or disrespects Indigenous knowledge
|
|
38
|
+
b) Modify or create derivative works without explicit permission
|
|
39
|
+
c) Use the Work for commercial purposes without a separate agreement
|
|
40
|
+
d) Transfer any rights granted under this License to others
|
|
41
|
+
e) Use the Work in any way that violates Indigenous data sovereignty principles
|
|
42
|
+
|
|
43
|
+
4. INDIGENOUS DATA SOVEREIGNTY
|
|
44
|
+
|
|
45
|
+
The Work embodies Indigenous intellectual property and data that are subject to tribal sovereignty and Indigenous Data Sovereignty principles. Any use, storage, or transmission of data must:
|
|
46
|
+
|
|
47
|
+
a) Respect Indigenous ownership of data
|
|
48
|
+
b) Follow Indigenous protocols for data governance
|
|
49
|
+
c) Ensure Indigenous control over data collection and use
|
|
50
|
+
d) Protect Indigenous intellectual property rights
|
|
51
|
+
e) Support Indigenous nation rebuilding and development
|
|
52
|
+
|
|
53
|
+
5. ATTRIBUTION AND ACKNOWLEDGMENT
|
|
54
|
+
|
|
55
|
+
You must provide appropriate attribution:
|
|
56
|
+
|
|
57
|
+
ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi)
|
|
58
|
+
Also known legally as JUSTIN PAUL KENWABIKISE
|
|
59
|
+
Professionally documented as Nbiish-Justin Paul Kenwabikise
|
|
60
|
+
Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder)
|
|
61
|
+
Enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians
|
|
62
|
+
|
|
63
|
+
6. TERMINATION
|
|
64
|
+
|
|
65
|
+
This License and the rights granted hereunder will terminate automatically upon any breach by you of the terms of this License.
|
|
66
|
+
|
|
67
|
+
7. DISCLAIMER OF WARRANTY
|
|
68
|
+
|
|
69
|
+
The Work is provided "AS IS" without warranty of any kind, either expressed or implied.
|
|
70
|
+
|
|
71
|
+
8. LIMITATION OF LIABILITY
|
|
72
|
+
|
|
73
|
+
In no event shall the Creator be liable for any damages arising from the use of the Work.
|
|
74
|
+
|
|
75
|
+
9. GOVERNING LAW
|
|
76
|
+
|
|
77
|
+
This License shall be governed by tribal law and federal Indian law, with respect to international indigenous rights frameworks.
|
|
78
|
+
|
|
79
|
+
10. CONTACT INFORMATION
|
|
80
|
+
|
|
81
|
+
For permissions, questions, or additional information, please contact:
|
|
82
|
+
[Contact Information]
|
|
83
|
+
|
|
84
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
CHANGED
|
@@ -48,6 +48,83 @@ npm run inspector
|
|
|
48
48
|
npm start
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
## Test Examples
|
|
52
|
+
|
|
53
|
+
Here are some example test cases that demonstrate the cognitive tools using culturally appropriate Anishinaabe concepts. These examples are provided with respect and acknowledgment of Anishinaabe teachings.
|
|
54
|
+
|
|
55
|
+
### Using the MCP Inspector
|
|
56
|
+
|
|
57
|
+
1. Start the MCP Inspector:
|
|
58
|
+
```bash
|
|
59
|
+
npm run inspector
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
2. Connect to the server and try these example tool calls:
|
|
63
|
+
|
|
64
|
+
#### Think Tool Example
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"toolName": "think",
|
|
68
|
+
"arguments": {
|
|
69
|
+
"thought": "Analyzing the Seven Grandfather Teachings (Nibwaakaawin - Wisdom, Zaagi'idiwin - Love, Minaadendamowin - Respect, Aakode'ewin - Bravery, Gwayakwaadiziwin - Honesty, Dabaadendiziwin - Humility, Debwewin - Truth) and their application in modern problem-solving:\n\n1. How does Nibwaakaawin guide decision-making?\n2. How can Zaagi'idiwin inform our approach to community?\n3. How does Minaadendamowin shape our relationship with knowledge?"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Chain of Thought Example
|
|
75
|
+
```json
|
|
76
|
+
{
|
|
77
|
+
"toolName": "chain_of_thought",
|
|
78
|
+
"arguments": {
|
|
79
|
+
"problem_statement": "Understanding the seasonal cycle of maple sugar harvesting (ziigwaage - spring sugar making):\n1. Observe weather patterns and temperature changes\n2. Identify appropriate maple trees\n3. Prepare tools and equipment respectfully\n4. Follow proper protocols for tree tapping\n5. Collect sap with gratitude\n6. Process sap into sugar while sharing teachings"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
#### Reflection Example
|
|
85
|
+
```json
|
|
86
|
+
{
|
|
87
|
+
"toolName": "reflection",
|
|
88
|
+
"arguments": {
|
|
89
|
+
"input_reasoning_or_plan": "Reflecting on our relationship with Nibi (water):\n- Understanding water as first medicine\n- Considering our role as water protectors\n- Learning from the teachings of water\n- Examining how we honor water in daily life\n- Planning actions to protect water sources"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
#### Plan and Solve Example
|
|
95
|
+
```json
|
|
96
|
+
{
|
|
97
|
+
"toolName": "plan_and_solve",
|
|
98
|
+
"arguments": {
|
|
99
|
+
"task_objective": "Planning a community gathering that honors traditional protocols:\n1. Consult with Elders on proper procedures\n2. Select appropriate time based on seasonal calendar\n3. Arrange for traditional foods and medicines\n4. Prepare the gathering space with respect\n5. Ensure proper opening and closing ceremonies\n6. Include time for teaching and sharing"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
#### Chain of Draft Example
|
|
105
|
+
```json
|
|
106
|
+
{
|
|
107
|
+
"toolName": "chain_of_draft",
|
|
108
|
+
"arguments": {
|
|
109
|
+
"problem_statement": "Learning basic Anishinaabemowin greetings:\n1. Boozhoo (Hello)\n2. Aaniin (Hello/Welcome)\n3. Miigwech (Thank you)\n4. Baamaapii (Until later/Goodbye)\n5. Practice proper pronunciation\n6. Understand cultural context of each greeting"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
51
114
|
## License
|
|
52
115
|
|
|
53
|
-
SEE LICENSE IN LICENSE
|
|
116
|
+
SEE LICENSE IN LICENSE
|
|
117
|
+
|
|
118
|
+
## Citation
|
|
119
|
+
|
|
120
|
+
```bibtex
|
|
121
|
+
@misc{cognitive-tools-mcp2025,
|
|
122
|
+
author/creator/steward = {ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder)},
|
|
123
|
+
title/description = {cognitive-tools-mcp},
|
|
124
|
+
type_of_work = {Indigenous digital creation/software incorporating traditional knowledge and cultural expressions},
|
|
125
|
+
year = {2025},
|
|
126
|
+
publisher/source/event = {GitHub repository under tribal sovereignty protections},
|
|
127
|
+
howpublished = {\url{https://github.com/nbiish/cognitive-tools-mcp}},
|
|
128
|
+
note = {Authored and stewarded by ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), an enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians. This work embodies Indigenous intellectual property, traditional knowledge systems (TK), traditional cultural expressions (TCEs), and associated data protected under tribal law, federal Indian law, treaty rights, Indigenous Data Sovereignty principles, and international indigenous rights frameworks including UNDRIP. All usage, benefit-sharing, and data governance are governed by the COMPREHENSIVE RESTRICTED USE LICENSE FOR INDIGENOUS CREATIONS WITH TRIBAL SOVEREIGNTY, DATA SOVEREIGNTY, AND WEALTH RECLAMATION PROTECTIONS.}
|
|
129
|
+
}
|
|
130
|
+
```
|
package/build/index.js
CHANGED
|
@@ -11,68 +11,73 @@ const server = new McpServer({
|
|
|
11
11
|
// Define the think tool
|
|
12
12
|
server.tool("think", {
|
|
13
13
|
thought: z.string().describe("Your comprehensive internal analysis, step-by-step reasoning, policy checks, plan formulation/refinement, and self-correction.")
|
|
14
|
-
}, async ({ thought }) =>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
14
|
+
}, async ({ thought }) => {
|
|
15
|
+
if (!thought || typeof thought !== 'string') {
|
|
16
|
+
throw new Error('Invalid thought: Must be a non-empty string');
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
content: [{
|
|
20
|
+
type: "text",
|
|
21
|
+
text: thought
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
24
|
+
});
|
|
24
25
|
// Define the chain_of_thought tool
|
|
25
26
|
server.tool("chain_of_thought", {
|
|
26
27
|
problem_statement: z.string().describe("The specific, well-defined problem requiring detailed step-by-step reasoning.")
|
|
27
|
-
}, async ({ problem_statement }) =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
28
|
+
}, async ({ problem_statement }) => {
|
|
29
|
+
if (!problem_statement || typeof problem_statement !== 'string') {
|
|
30
|
+
throw new Error('Invalid problem statement: Must be a non-empty string');
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
content: [{
|
|
34
|
+
type: "text",
|
|
35
|
+
text: problem_statement
|
|
36
|
+
}]
|
|
37
|
+
};
|
|
38
|
+
});
|
|
37
39
|
// Define the reflection tool
|
|
38
40
|
server.tool("reflection", {
|
|
39
41
|
input_reasoning_or_plan: z.string().describe("The cognitive output to be evaluated.")
|
|
40
|
-
}, async ({ input_reasoning_or_plan }) =>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
42
|
+
}, async ({ input_reasoning_or_plan }) => {
|
|
43
|
+
if (!input_reasoning_or_plan || typeof input_reasoning_or_plan !== 'string') {
|
|
44
|
+
throw new Error('Invalid input: Must be a non-empty string');
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
content: [{
|
|
48
|
+
type: "text",
|
|
49
|
+
text: input_reasoning_or_plan
|
|
50
|
+
}]
|
|
51
|
+
};
|
|
52
|
+
});
|
|
50
53
|
// Define the plan_and_solve tool
|
|
51
54
|
server.tool("plan_and_solve", {
|
|
52
55
|
task_objective: z.string().describe("The overarching goal requiring a structured plan.")
|
|
53
|
-
}, async ({ task_objective }) =>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
56
|
+
}, async ({ task_objective }) => {
|
|
57
|
+
if (!task_objective || typeof task_objective !== 'string') {
|
|
58
|
+
throw new Error('Invalid task objective: Must be a non-empty string');
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
content: [{
|
|
62
|
+
type: "text",
|
|
63
|
+
text: task_objective
|
|
64
|
+
}]
|
|
65
|
+
};
|
|
66
|
+
});
|
|
63
67
|
// Define the chain_of_draft tool
|
|
64
68
|
server.tool("chain_of_draft", {
|
|
65
69
|
problem_statement: z.string().describe("Problem suitable for concise, iterative reasoning.")
|
|
66
|
-
}, async ({ problem_statement }) =>
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
70
|
+
}, async ({ problem_statement }) => {
|
|
71
|
+
if (!problem_statement || typeof problem_statement !== 'string') {
|
|
72
|
+
throw new Error('Invalid problem statement: Must be a non-empty string');
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
content: [{
|
|
76
|
+
type: "text",
|
|
77
|
+
text: problem_statement
|
|
78
|
+
}]
|
|
79
|
+
};
|
|
80
|
+
});
|
|
76
81
|
// Setup error handling
|
|
77
82
|
process.on('SIGINT', async () => {
|
|
78
83
|
console.error('[CognitiveToolsServer] Received SIGINT, shutting down.');
|