@nbiish/cognitive-tools-mcp 8.4.3 → 8.6.1
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/README.md +62 -15
- package/build/index.js +47 -112
- package/package.json +2 -2
- package/README.md.backup +0 -183
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<p><a href="https://raw.githubusercontent.com/nbiish/license-for-all-works/8e9b73b269add9161dc04bbdd79f818c40fca14e/qr-stripe-donation.png">Donate via Stripe</a></p>
|
|
12
12
|
</div>
|
|
13
13
|
<div style="display: flex; align-items: center;">
|
|
14
|
-
<a href="https://www.buymeacoffee.com/nbiish"><img src="
|
|
14
|
+
<a href="https://www.buymeacoffee.com/nbiish"><img src="buymeacoffee-button.svg" alt="Buy me a coffee" /></a>
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
|
|
@@ -24,18 +24,25 @@
|
|
|
24
24
|
|
|
25
25
|
## ᐴ GASHKITOONAN ᔔ [CAPABILITIES] ◈──◆──◇──◆──◈
|
|
26
26
|
|
|
27
|
-
Revolutionary **
|
|
27
|
+
Revolutionary **Enhanced Cognitive Processing MCP Server** - Automatically processes all 6 cognitive stages internally (Scientific Investigation, OOReD Analysis, Critical Thinking, Scientific Review, OOReD Review, Final Action) and returns comprehensive results. Integrates advanced prompting strategies for optimal cognitive enhancement.
|
|
28
28
|
|
|
29
|
-
### ⚡
|
|
29
|
+
### ⚡ INTERNAL 6-STAGE PROCESSING
|
|
30
30
|
|
|
31
|
-
**
|
|
31
|
+
**NEW v8.6.0**: The MCP server now automatically processes all stages internally in a single tool call:
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
**All Stages Processed Internally:**
|
|
34
|
+
1. **Stage 1**: Scientific Investigation (Chain-of-Thought + Role-Based)
|
|
35
|
+
2. **Stage 2**: Initial OOReD Analysis (Tree-of-Thoughts + Meta-Prompting)
|
|
36
|
+
3. **Stage 3**: Critical Thinking & Pre-Action Planning (Self-Consistency + Meta-Prompting)
|
|
37
|
+
4. **Stage 4**: Scientific Review & Validation (Chain-of-Thought + Self-Consistency)
|
|
38
|
+
5. **Stage 5**: OOReD Review & Refinement (Tree-of-Thoughts + Role-Based)
|
|
39
|
+
6. **Stage 6**: Final Action & Recommendations (All strategies integrated)
|
|
40
|
+
|
|
41
|
+
**Benefits:**
|
|
42
|
+
- ✅ Single tool call processes all stages
|
|
43
|
+
- ✅ Comprehensive cognitive analysis
|
|
44
|
+
- ✅ Advanced prompting strategies integrated
|
|
45
|
+
- ✅ No manual phase progression required
|
|
39
46
|
|
|
40
47
|
<div align="center">
|
|
41
48
|
◈──◆──◇───────────────────────────◇──◆──◈
|
|
@@ -49,14 +56,31 @@ npm install -g @nbiish/gikendaasowin-aabajichiganan-mcp
|
|
|
49
56
|
npm install -g @nbiish/cognitive-tools-mcp
|
|
50
57
|
```
|
|
51
58
|
|
|
52
|
-
### Ollama Integration
|
|
59
|
+
### Ollama + PydanticAI Integration (Recommended)
|
|
60
|
+
|
|
61
|
+
The modern way to use this MCP server is through our **PydanticAI + Ollama integration**:
|
|
62
|
+
|
|
53
63
|
```bash
|
|
54
|
-
#
|
|
64
|
+
# Install dependencies
|
|
65
|
+
pip install -r requirements.txt
|
|
66
|
+
|
|
67
|
+
# Run interactive cognitive enhancement
|
|
68
|
+
python cognitive_demo.py --interactive
|
|
69
|
+
|
|
70
|
+
# Process a single question
|
|
71
|
+
python cognitive_demo.py "Your question here"
|
|
72
|
+
|
|
73
|
+
# Use a different Ollama model
|
|
74
|
+
python cognitive_demo.py --model llama3.2:3b "Your question"
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Claude Desktop / MCP Client Configuration
|
|
78
|
+
```json
|
|
55
79
|
{
|
|
56
80
|
"mcpServers": {
|
|
57
81
|
"gikendaasowin": {
|
|
58
|
-
"command": "
|
|
59
|
-
"args": []
|
|
82
|
+
"command": "npx",
|
|
83
|
+
"args": ["-y", "@nbiish/gikendaasowin-aabajichiganan-mcp@latest"]
|
|
60
84
|
}
|
|
61
85
|
}
|
|
62
86
|
}
|
|
@@ -68,6 +92,29 @@ npm install -g @nbiish/cognitive-tools-mcp
|
|
|
68
92
|
|
|
69
93
|
## ᐴ AABAJITOOWIN ᔔ [USAGE] ◈──◆──◇──◆──◈
|
|
70
94
|
|
|
95
|
+
### 🚀 Quick Start with PydanticAI + Ollama
|
|
96
|
+
|
|
97
|
+
The easiest way to experience the 6-stage cognitive enhancement:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# Install Python dependencies
|
|
101
|
+
pip install -r requirements.txt
|
|
102
|
+
|
|
103
|
+
# Run interactive mode (recommended for exploration)
|
|
104
|
+
python cognitive_demo.py --interactive
|
|
105
|
+
|
|
106
|
+
# Process a single question
|
|
107
|
+
python cognitive_demo.py "How can AI help solve climate change?"
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
This will automatically:
|
|
111
|
+
1. Connect to the published MCP server (`@nbiish/gikendaasowin-aabajichiganan-mcp`)
|
|
112
|
+
2. Use your local Ollama installation with `granite3.3:2b` (or specify `--model`)
|
|
113
|
+
3. Process your input through all 6 mandatory cognitive stages
|
|
114
|
+
4. Display beautifully formatted results with real-time progress
|
|
115
|
+
|
|
116
|
+
### Manual MCP Integration (Advanced)
|
|
117
|
+
|
|
71
118
|
### Mandatory Sequential Processing
|
|
72
119
|
|
|
73
120
|
**Stage 1 (Entry Point):**
|
|
@@ -183,7 +230,7 @@ This project is licensed under the Comprehensive Restricted Use License for Indi
|
|
|
183
230
|
```bibtex
|
|
184
231
|
@misc{gikendaasowin-aabajichiganan-mcp2025,
|
|
185
232
|
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), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians},
|
|
186
|
-
title/description = {
|
|
233
|
+
title/description = {Enhanced Cognitive Processing MCP Server - Automatically processes all 6 cognitive stages internally with advanced prompting strategies},
|
|
187
234
|
type_of_work = {Indigenous digital creation/software incorporating traditional knowledge and cultural expressions},
|
|
188
235
|
year = {2025},
|
|
189
236
|
publisher/source/event = {GitHub repository under tribal sovereignty protections},
|
package/build/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* -----------------------------------------------------------------------------
|
|
4
|
-
* Gikendaasowin Aabajichiganan - Enhanced
|
|
4
|
+
* Gikendaasowin Aabajichiganan - Enhanced TWO-PHASE Cognitive Deliberation MCP Server (v8.0.0)
|
|
5
5
|
*
|
|
6
6
|
* Description: Revolutionary MCP server implementing the most advanced cognitive
|
|
7
|
-
* processing engine available. Features a comprehensive
|
|
7
|
+
* processing engine available. Features a comprehensive TWO-PHASE framework combining
|
|
8
8
|
* Scientific Investigation, OOReD analysis, and Critical Thinking methodologies
|
|
9
9
|
* with expertly distributed prompting strategies (CoT, ToT, Self-Consistency,
|
|
10
10
|
* Meta-Prompting, Role-Based).
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* - Complete reimplementation with
|
|
12
|
+
* v8.0.0 REVOLUTIONARY RELEASE - Enhanced Two-Phase Framework:
|
|
13
|
+
* - Complete reimplementation with TWO-PHASE processing (Phase 1: stages 1-2, Phase 2: stages 3-6)
|
|
14
14
|
* - Strategic distribution of 5 advanced prompting strategies across 6 stages
|
|
15
15
|
* - Enhanced reliability with 45-60% error reduction through multi-stage validation
|
|
16
16
|
* - Comprehensive expert perspective integration with domain-specific analysis
|
|
@@ -25,44 +25,10 @@ import { z } from "zod";
|
|
|
25
25
|
// --- Server Definition ---
|
|
26
26
|
const serverInfo = {
|
|
27
27
|
name: "gikendaasowin-aabajichiganan-mcp",
|
|
28
|
-
version: "8.
|
|
29
|
-
description: "
|
|
28
|
+
version: "8.6.0",
|
|
29
|
+
description: "Enhanced Cognitive Processing MCP Server - Automatically processes all 6 cognitive stages internally (Scientific Investigation, OOReD Analysis, Critical Thinking, Scientific Review, OOReD Review, Final Action) and returns comprehensive results. Integrates advanced prompting strategies for optimal cognitive enhancement."
|
|
30
30
|
};
|
|
31
31
|
const server = new McpServer(serverInfo);
|
|
32
|
-
const activeSessions = new Map();
|
|
33
|
-
// Generate session ID based on input hash
|
|
34
|
-
function generateSessionId(input) {
|
|
35
|
-
return Buffer.from(input).toString('base64').slice(0, 12);
|
|
36
|
-
}
|
|
37
|
-
// Validate and enforce mandatory progression
|
|
38
|
-
function validateMandatoryProgression(input, stage, previous_results) {
|
|
39
|
-
const sessionId = generateSessionId(input);
|
|
40
|
-
const stageNum = parseInt(stage.replace('stage', ''));
|
|
41
|
-
if (stageNum === 1) {
|
|
42
|
-
// Starting new session - always allowed
|
|
43
|
-
const session = {
|
|
44
|
-
sessionId,
|
|
45
|
-
currentStage: 1,
|
|
46
|
-
originalInput: input,
|
|
47
|
-
stageResults: [],
|
|
48
|
-
startTime: Date.now()
|
|
49
|
-
};
|
|
50
|
-
activeSessions.set(sessionId, session);
|
|
51
|
-
return { sessionId, isValid: true, currentStage: 1 };
|
|
52
|
-
}
|
|
53
|
-
const existingSession = activeSessions.get(sessionId);
|
|
54
|
-
if (!existingSession) {
|
|
55
|
-
throw new Error(`MANDATORY PROGRESSION VIOLATION: Stage ${stage} attempted without starting from Stage 1. You must begin with stage1 for this input to receive full cognitive enhancement.`);
|
|
56
|
-
}
|
|
57
|
-
const expectedStage = existingSession.currentStage + 1;
|
|
58
|
-
if (stageNum !== expectedStage) {
|
|
59
|
-
throw new Error(`MANDATORY PROGRESSION VIOLATION: Expected stage${expectedStage}, but received ${stage}. Sequential progression required: stage1 → stage2 → stage3 → stage4 → stage5 → stage6`);
|
|
60
|
-
}
|
|
61
|
-
if (!previous_results) {
|
|
62
|
-
throw new Error(`Stage ${stage} requires previous_results parameter containing all accumulated results from stages 1-${stageNum - 1}.`);
|
|
63
|
-
}
|
|
64
|
-
return { sessionId, isValid: true, currentStage: stageNum };
|
|
65
|
-
}
|
|
66
32
|
// --- Logging Helpers (Internal - No changes needed as per user comments) ---
|
|
67
33
|
/**
|
|
68
34
|
* Logs an incoming tool call to stderr.
|
|
@@ -254,27 +220,30 @@ ${nextStepGuidance}
|
|
|
254
220
|
* Tool usage counter for re-deliberation guidance
|
|
255
221
|
* Counts potential external tool calls that might be recommended in each stage
|
|
256
222
|
*/
|
|
257
|
-
|
|
258
|
-
|
|
223
|
+
/**
|
|
224
|
+
* Count tools used in a stage result (for re-deliberation guidance)
|
|
225
|
+
*/
|
|
226
|
+
function countToolsInStage(stageResult) {
|
|
227
|
+
// Count references to tools/websearch/file operations in the stage result
|
|
259
228
|
const toolPatterns = [
|
|
260
|
-
/websearch/gi,
|
|
261
|
-
/file.*
|
|
262
|
-
/
|
|
263
|
-
/
|
|
264
|
-
/mcp.*server/gi,
|
|
265
|
-
/external.*tool/gi,
|
|
229
|
+
/websearch|web_search/gi,
|
|
230
|
+
/file.*tool|read_file|edit_file/gi,
|
|
231
|
+
/code.*tool|run_code|execute/gi,
|
|
232
|
+
/mcp.*server|external.*tool/gi,
|
|
266
233
|
/api.*call/gi,
|
|
267
234
|
/database.*query/gi,
|
|
268
235
|
/search.*tool/gi,
|
|
269
236
|
/knowledge.*base/gi
|
|
270
237
|
];
|
|
271
|
-
let
|
|
238
|
+
let toolCount = 0;
|
|
272
239
|
toolPatterns.forEach(pattern => {
|
|
273
|
-
const matches =
|
|
274
|
-
if (matches)
|
|
275
|
-
|
|
240
|
+
const matches = stageResult.match(pattern);
|
|
241
|
+
if (matches) {
|
|
242
|
+
toolCount += matches.length;
|
|
243
|
+
}
|
|
276
244
|
});
|
|
277
|
-
|
|
245
|
+
// Base count on stage complexity (minimum 1 tool per stage)
|
|
246
|
+
return Math.max(1, toolCount);
|
|
278
247
|
}
|
|
279
248
|
/**
|
|
280
249
|
* Evaluates all prompting strategies in parallel based on modern-prompting.mdc
|
|
@@ -1333,21 +1302,17 @@ function assessMethodologicalRigor(stage1Result) {
|
|
|
1333
1302
|
* - Quality Assurance: 94% validation success rate
|
|
1334
1303
|
*/
|
|
1335
1304
|
/**
|
|
1336
|
-
* Tool: deliberate (Enhanced 6-Stage Cognitive Processing Engine)
|
|
1305
|
+
* Tool: deliberate (Enhanced 6-Stage Cognitive Processing Engine - AUTOMATIC INTERNAL PROCESSING)
|
|
1337
1306
|
*
|
|
1338
|
-
*
|
|
1339
|
-
* -
|
|
1340
|
-
* -
|
|
1341
|
-
* -
|
|
1342
|
-
* -
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
* - Stage
|
|
1346
|
-
* -
|
|
1347
|
-
* - Stage 3: Critical Thinking Pre-Act (10-step framework + prompting strategy selection)
|
|
1348
|
-
* - Stage 4: Scientific Review (Validation + refinement of findings)
|
|
1349
|
-
* - Stage 5: OOReD Deep Analysis (Implementation planning + risk assessment)
|
|
1350
|
-
* - Stage 6: Final Action Planning (Fact-based synthesis + tool recommendations)
|
|
1307
|
+
* AUTOMATIC INTERNAL PROCESSING:
|
|
1308
|
+
* - Internally processes all 6 stages automatically in a single call
|
|
1309
|
+
* - Stage 1: Scientific Investigation (Chain-of-Thought + Role-Based Prompting)
|
|
1310
|
+
* - Stage 2: Initial OOReD Analysis (Tree-of-Thoughts + Meta-Prompting)
|
|
1311
|
+
* - Stage 3: Critical Thinking & Pre-Action Planning (Self-Consistency + Meta-Prompting)
|
|
1312
|
+
* - Stage 4: Scientific Review & Validation (Chain-of-Thought + Self-Consistency)
|
|
1313
|
+
* - Stage 5: OOReD Review & Refinement (Tree-of-Thoughts + Role-Based)
|
|
1314
|
+
* - Stage 6: Final Action & Recommendations (All strategies integrated)
|
|
1315
|
+
* - Returns comprehensive final result with all cognitive enhancement completed
|
|
1351
1316
|
*
|
|
1352
1317
|
* Benefits:
|
|
1353
1318
|
* - 45-60% error reduction through multi-stage validation
|
|
@@ -1356,6 +1321,7 @@ function assessMethodologicalRigor(stage1Result) {
|
|
|
1356
1321
|
* - Comprehensive perspective integration with domain expertise
|
|
1357
1322
|
* - Cross-stage validation with consistency checking
|
|
1358
1323
|
* - Comprehensive action planning with risk mitigation
|
|
1324
|
+
* - Single call convenience - no manual phase management required
|
|
1359
1325
|
*/
|
|
1360
1326
|
server.tool("deliberate", {
|
|
1361
1327
|
input: z
|
|
@@ -1368,53 +1334,22 @@ server.tool("deliberate", {
|
|
|
1368
1334
|
context: z
|
|
1369
1335
|
.string()
|
|
1370
1336
|
.optional()
|
|
1371
|
-
.describe("Optional additional context, constraints, or background information")
|
|
1372
|
-
|
|
1373
|
-
.string()
|
|
1374
|
-
.optional()
|
|
1375
|
-
.describe("REQUIRED for continuing progression: Complete accumulated results from all previous stages. Include ONLY when continuing an existing session (stages 2-6).")
|
|
1376
|
-
}, async ({ input, mode, context, previous_results }) => {
|
|
1337
|
+
.describe("Optional additional context, constraints, or background information")
|
|
1338
|
+
}, async ({ input, mode, context }) => {
|
|
1377
1339
|
const toolName = 'deliberate';
|
|
1378
|
-
logToolCall(toolName, `Mode: ${mode},
|
|
1340
|
+
logToolCall(toolName, `Mode: ${mode}, Context: ${context ? 'Yes' : 'No'}`);
|
|
1379
1341
|
try {
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
originalInput: input,
|
|
1392
|
-
stageResults: [],
|
|
1393
|
-
startTime: Date.now()
|
|
1394
|
-
};
|
|
1395
|
-
activeSessions.set(sessionId, session);
|
|
1396
|
-
logToolCall(toolName, `New session started: ${sessionId}, Stage: 1`);
|
|
1397
|
-
}
|
|
1398
|
-
else {
|
|
1399
|
-
// Continue existing session
|
|
1400
|
-
currentStage = session.currentStage + 1;
|
|
1401
|
-
if (currentStage > 6) {
|
|
1402
|
-
return { content: [{ type: "text", text: "PROGRESSION COMPLETE: All 6 stages already completed for this input. Session finished." }] };
|
|
1403
|
-
}
|
|
1404
|
-
// Use the provided previous_results as the full context
|
|
1405
|
-
accumulatedResults = previous_results;
|
|
1406
|
-
contextualInput = `${input}\n\n[COGNITIVE PROGRESSION CONTEXT - Previous Stages]\n${accumulatedResults}`;
|
|
1407
|
-
logToolCall(toolName, `Continuing session: ${sessionId}, Advancing to Stage: ${currentStage}`);
|
|
1408
|
-
}
|
|
1409
|
-
const stageKey = `stage${currentStage}`;
|
|
1410
|
-
// Process the current stage
|
|
1411
|
-
const stageResult = await processProgressiveStage(contextualInput, mode, context, stageKey, accumulatedResults);
|
|
1412
|
-
// Update session state
|
|
1413
|
-
session.currentStage = currentStage;
|
|
1414
|
-
session.stageResults.push(stageResult); // Append the full result of the current stage
|
|
1415
|
-
activeSessions.set(sessionId, session);
|
|
1416
|
-
logToolResult(toolName, true, `Stage ${currentStage} completed`);
|
|
1417
|
-
return { content: [{ type: "text", text: stageResult }] };
|
|
1342
|
+
// Process all 6 stages internally and automatically
|
|
1343
|
+
const result = await performCognitiveDeliberation(input, mode, context);
|
|
1344
|
+
logToolResult(toolName, true, `All 6 stages processed successfully`);
|
|
1345
|
+
return {
|
|
1346
|
+
content: [
|
|
1347
|
+
{
|
|
1348
|
+
type: "text",
|
|
1349
|
+
text: result
|
|
1350
|
+
}
|
|
1351
|
+
]
|
|
1352
|
+
};
|
|
1418
1353
|
}
|
|
1419
1354
|
catch (error) {
|
|
1420
1355
|
return logToolError(toolName, error);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nbiish/cognitive-tools-mcp",
|
|
3
|
-
"version": "8.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "8.6.1",
|
|
4
|
+
"description": "Enhanced Cognitive Processing MCP Server - Automatically processes all 6 cognitive stages internally (Scientific Investigation, OOReD Analysis, Critical Thinking, Scientific Review, OOReD Review, Final Action) and returns comprehensive results. Integrates advanced prompting strategies for optimal cognitive enhancement.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
package/README.md.backup
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
# ◈──◆──◇ GIKENDAASOWIN AABAJICHIGANAN MCP SERVER / ENHANCED 6-STAGE COGNITIVE TOOLS v8.0.0 ◇──◆──◈
|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
<hr width="50%">
|
|
5
|
-
|
|
6
|
-
<h3>Support This Project</h3>
|
|
7
|
-
<div style="display: flex; justify-content: center; gap: 20px; margin: 20px 0;">
|
|
8
|
-
<div>
|
|
9
|
-
<h4>Stripe</h4>
|
|
10
|
-
<img src="qr-stripe-donation.png" alt="Scan to donate" width="180"/>
|
|
11
|
-
<p><a href="https://raw.githubusercontent.com/nbiish/license-for-all-works/8e9b73b269add9161dc04bbdd79f818c40fca14e/qr-stripe-donation.png">Donate via Stripe</a></p>
|
|
12
|
-
</div>
|
|
13
|
-
<div style="display: flex; align-items: center;">
|
|
14
|
-
<a href="https://www.buymeacoffee.com/nbiish"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=nbiish&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" /></a>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<hr width="50%">
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<div align="center">
|
|
22
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
Revolutionary MCP server with Enhanced 6-Stage Cognitive Deliberation Framework & Parallel Strategy Evaluation System. The `deliberate` tool combines Scientific Investigation, OOReD analysis, and Critical Thinking methodologies with **10 expertly integrated prompting strategies** and intelligent **tool usage tracking** for optimal re-deliberation guidance. *(Integration guidelines in [`latest.md`](latest.md) are licensed under [LICENSE](LICENSE).)*
|
|
26
|
-
|
|
27
|
-
Known as:
|
|
28
|
-
- Anishinaabemowin: [`@nbiish/gikendaasowin-aabajichiganan-mcp`](https://www.npmjs.com/package/@nbiish/gikendaasowin-aabajichiganan-mcp)
|
|
29
|
-
- English: [`@nbiish/cognitive-tools-mcp`](https://www.npmjs.com/package/@nbiish/cognitive-tools-mcp)
|
|
30
|
-
|
|
31
|
-
Both packages are maintained in parallel and receive the same updates. You can use either package name in your projects - they provide identical functionality.
|
|
32
|
-
|
|
33
|
-
**See the latest integration details in [`latest.md`](latest.md).**
|
|
34
|
-
|
|
35
|
-
<div align="center">
|
|
36
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
## ᐴ GASHKITOONAN ᔔ [ENHANCED CAPABILITIES] ◈──◆──◇──◆──◈
|
|
40
|
-
|
|
41
|
-
### 🚀 Revolutionary 6-Stage Cognitive Framework
|
|
42
|
-
|
|
43
|
-
**Stage 1: Scientific Investigation** (Chain-of-Thought + Role-Based)
|
|
44
|
-
- Systematic hypothesis formation using scientific method
|
|
45
|
-
- Expert domain perspective integration
|
|
46
|
-
- Step-by-step reasoning for complex problem decomposition
|
|
47
|
-
|
|
48
|
-
**Stage 2: Initial OOReD** (Tree-of-Thoughts + Meta-Prompting)
|
|
49
|
-
- Multiple parallel reasoning paths exploration
|
|
50
|
-
- Self-reflection on reasoning quality and consistency
|
|
51
|
-
- Alternative solution pathway evaluation
|
|
52
|
-
|
|
53
|
-
**Stage 3: Critical Thinking + Pre-Act** (Self-Consistency + Meta-Prompting)
|
|
54
|
-
- 10-step critical thinking framework application
|
|
55
|
-
- Multiple validation approaches for reliability
|
|
56
|
-
- Pre-action planning with tool identification
|
|
57
|
-
|
|
58
|
-
**Stage 4: Scientific Review** (Chain-of-Thought + Self-Consistency)
|
|
59
|
-
- Systematic review of initial investigation findings
|
|
60
|
-
- Cross-validation using multiple approaches
|
|
61
|
-
- Enhanced evidence quality assessment
|
|
62
|
-
|
|
63
|
-
**Stage 5: OOReD Review** (Tree-of-Thoughts + Role-Based)
|
|
64
|
-
- Multi-path refinement of reasoning processes
|
|
65
|
-
- Expert domain perspectives integration
|
|
66
|
-
- Cross-stage consistency optimization
|
|
67
|
-
|
|
68
|
-
**Stage 6: Final Action** (All Strategies Integrated)
|
|
69
|
-
- Comprehensive synthesis of all previous stages
|
|
70
|
-
- Fact-based actionable recommendations
|
|
71
|
-
- Complete quality assurance and validation
|
|
72
|
-
- **🚀 NEW: Tool usage tracking with re-deliberation count**
|
|
73
|
-
|
|
74
|
-
### 🧠 Revolutionary Parallel Strategy Evaluation (v8.0.0)
|
|
75
|
-
|
|
76
|
-
**During Orient Stage - Intelligent Strategy Selection:**
|
|
77
|
-
|
|
78
|
-
- **10 Prompting Strategies Evaluated:** Cache-Augmented ReAct, Self-Consistency, PAL, Reflexion, ToT-lite, Progressive-Hint, CAG, Cognitive Scaffolding, IKS, KSP
|
|
79
|
-
- **Dual Scoring System:** Solution Level (0.00-0.99) + Efficiency Level (0.00-0.99)
|
|
80
|
-
- **Automatic Strategy Ranking:** Based on combined scores for optimal strategy selection
|
|
81
|
-
- **Dynamic Adaptation:** Intelligent strategy matching based on input complexity and requirements
|
|
82
|
-
- **Re-deliberation Guidance:** Tracks tool usage and provides optimal return timing
|
|
83
|
-
|
|
84
|
-
<div align="center">
|
|
85
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
86
|
-
</div>
|
|
87
|
-
|
|
88
|
-
## ᐴ APITENDAAGOZIJIG ᔔ [PERFORMANCE METRICS] ◈──◆──◇──◆──◈
|
|
89
|
-
|
|
90
|
-
- **Enhanced Reliability:** 45-60% error reduction through 6-stage validation + parallel strategy selection
|
|
91
|
-
- **Improved Depth:** 95% comprehensive coverage with scientific rigor + 10 integrated prompting strategies
|
|
92
|
-
- **Better Actionability:** 88% actionable recommendations with implementation roadmaps + tool usage guidance
|
|
93
|
-
- **Quality Assurance:** 94% validation success rate with cross-stage consistency
|
|
94
|
-
- **🚀 NEW: Intelligent Strategy Selection:** 92% optimal strategy matching based on dual-scoring evaluation
|
|
95
|
-
- **🚀 NEW: Re-deliberation Optimization:** 75% reduction in unnecessary tool usage through smart tracking
|
|
96
|
-
|
|
97
|
-
<div align="center">
|
|
98
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
<div align="center">
|
|
102
|
-
╭────────────[ ◈◆◇ DEVELOPMENT ◇◆◈ ]────────────╮
|
|
103
|
-
</div>
|
|
104
|
-
|
|
105
|
-
## ᐴ OZHITOON ᔔ [BUILDING] ◈──◆──◇──◆──◈
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
╭──────────────────────────────────────────────────────────────────────╮
|
|
109
|
-
│ ᐴ BASH ᔔ [ SHELL COMMANDS ] │
|
|
110
|
-
╰──────────────────────────────────────────────────────────────────────╯
|
|
111
|
-
# Install dependencies
|
|
112
|
-
npm install
|
|
113
|
-
|
|
114
|
-
# Build the package
|
|
115
|
-
npm run build
|
|
116
|
-
|
|
117
|
-
# Test locally with MCP Inspector
|
|
118
|
-
npm run inspector
|
|
119
|
-
|
|
120
|
-
# Publish both packages (maintainer only)
|
|
121
|
-
npm run publish-both
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
<div align="center">
|
|
125
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
## ᐴ AABAJICHIGAN ᔔ [USAGE] ◈──◆──◇──◆──◈
|
|
129
|
-
|
|
130
|
-
### Claude Desktop Integration
|
|
131
|
-
|
|
132
|
-
Add to your `claude_desktop_config.json`:
|
|
133
|
-
|
|
134
|
-
```json
|
|
135
|
-
{
|
|
136
|
-
"mcpServers": {
|
|
137
|
-
"gikendaasowin-aabajichiganan-mcp": {
|
|
138
|
-
"command": "npx",
|
|
139
|
-
"args": ["@nbiish/gikendaasowin-aabajichiganan-mcp"]
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### Available Tools
|
|
146
|
-
|
|
147
|
-
**`deliberate`** - Enhanced 6-Stage Cognitive Processing Engine
|
|
148
|
-
|
|
149
|
-
- **Modes:** analyze, decide, synthesize, evaluate
|
|
150
|
-
- **Input:** Complex problems requiring comprehensive cognitive analysis
|
|
151
|
-
- **Output:** Six-stage structured analysis with actionable recommendations
|
|
152
|
-
|
|
153
|
-
<div align="center">
|
|
154
|
-
╭────────────[ ◈◆◇ CITATION ◇◆◈ ]─────────────╮
|
|
155
|
-
</div>
|
|
156
|
-
|
|
157
|
-
## ᐴ MIŻIWEWIN ᔔ [CITATION/SHARING] ◈──◆──◇──◆──◈
|
|
158
|
-
|
|
159
|
-
Please cite this project using the following BibTeX entry:
|
|
160
|
-
|
|
161
|
-
```bibtex
|
|
162
|
-
@misc{gikendaasowin-aabajichiganan-mcp2025,
|
|
163
|
-
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), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians},
|
|
164
|
-
title/description = {GIKENDAASOWIN AABAJICHIGANAN MCP SERVER / ENHANCED 6-STAGE COGNITIVE TOOLS MCP SERVER},
|
|
165
|
-
type_of_work = {Indigenous digital creation/software incorporating traditional knowledge and cultural expressions},
|
|
166
|
-
year = {2025},
|
|
167
|
-
publisher/source/event = {GitHub repository under tribal sovereignty protections},
|
|
168
|
-
howpublished = {\url{https://github.com/nbiish/gikendaasowin-aabajichiganan-mcp}},
|
|
169
|
-
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), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and 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.}
|
|
170
|
-
}
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
<div align="center">
|
|
174
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
175
|
-
</div>
|
|
176
|
-
|
|
177
|
-
This project is licensed under the [COMPREHENSIVE RESTRICTED USE LICENSE FOR INDIGENOUS CREATIONS WITH TRIBAL SOVEREIGNTY, DATA SOVEREIGNTY, AND WEALTH RECLAMATION PROTECTIONS](LICENSE).
|
|
178
|
-
|
|
179
|
-
<div align="center">
|
|
180
|
-
◈──◆──◇─────────────────────────────────────────────────◇──◆──◈
|
|
181
|
-
</div>
|
|
182
|
-
|
|
183
|
-
Copyright © 2025 ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), a descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band, and an enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians. This work embodies Traditional Knowledge and Traditional Cultural Expressions. All rights reserved.
|