kratos-mcp 1.3.4 → 1.4.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 +33 -18
- package/bin/kratos-mcp +28 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -76,14 +76,29 @@ npm install kratos-mcp
|
|
|
76
76
|
<details>
|
|
77
77
|
<summary><b>Claude Desktop</b></summary>
|
|
78
78
|
|
|
79
|
-
Add to
|
|
79
|
+
Add to your Claude Desktop config file:
|
|
80
|
+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
81
|
+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
82
|
+
- **Linux**: `~/.config/claude/claude_desktop_config.json`
|
|
80
83
|
|
|
81
84
|
```json
|
|
82
85
|
{
|
|
83
86
|
"mcpServers": {
|
|
84
87
|
"kratos": {
|
|
85
88
|
"command": "npx",
|
|
86
|
-
"args": ["kratos-mcp"]
|
|
89
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Or if you have it installed globally:
|
|
96
|
+
```json
|
|
97
|
+
{
|
|
98
|
+
"mcpServers": {
|
|
99
|
+
"kratos": {
|
|
100
|
+
"command": "kratos-mcp",
|
|
101
|
+
"args": []
|
|
87
102
|
}
|
|
88
103
|
}
|
|
89
104
|
}
|
|
@@ -96,14 +111,14 @@ Add to `~/.config/claude/claude_desktop_config.json`:
|
|
|
96
111
|
Run this command in your terminal:
|
|
97
112
|
|
|
98
113
|
```bash
|
|
99
|
-
claude mcp add kratos -- npx kratos-mcp
|
|
114
|
+
claude mcp add kratos -- npx --yes kratos-mcp@latest
|
|
100
115
|
```
|
|
101
116
|
|
|
102
117
|
Or for global installation:
|
|
103
118
|
|
|
104
119
|
```bash
|
|
105
120
|
# First install globally
|
|
106
|
-
npm install -g kratos-mcp
|
|
121
|
+
npm install -g kratos-mcp@latest
|
|
107
122
|
|
|
108
123
|
# Then add to Claude Code
|
|
109
124
|
claude mcp add kratos -- kratos-mcp
|
|
@@ -122,7 +137,7 @@ Add to `.cursor/mcp_config.json` in your project root:
|
|
|
122
137
|
"mcpServers": {
|
|
123
138
|
"kratos": {
|
|
124
139
|
"command": "npx",
|
|
125
|
-
"args": ["kratos-mcp"]
|
|
140
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
126
141
|
}
|
|
127
142
|
}
|
|
128
143
|
}
|
|
@@ -139,7 +154,7 @@ Add to `~/.windsurf/mcp_config.json`:
|
|
|
139
154
|
"mcpServers": {
|
|
140
155
|
"kratos": {
|
|
141
156
|
"command": "npx",
|
|
142
|
-
"args": ["kratos-mcp"]
|
|
157
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
143
158
|
}
|
|
144
159
|
}
|
|
145
160
|
}
|
|
@@ -189,7 +204,7 @@ Add to Augment settings under MCP configuration:
|
|
|
189
204
|
"mcpServers": {
|
|
190
205
|
"kratos": {
|
|
191
206
|
"command": "npx",
|
|
192
|
-
"args": ["kratos-mcp"]
|
|
207
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
193
208
|
}
|
|
194
209
|
}
|
|
195
210
|
}
|
|
@@ -206,7 +221,7 @@ Add to `.roo/config.json`:
|
|
|
206
221
|
"mcpServers": {
|
|
207
222
|
"kratos": {
|
|
208
223
|
"command": "npx",
|
|
209
|
-
"args": ["kratos-mcp"]
|
|
224
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
210
225
|
}
|
|
211
226
|
}
|
|
212
227
|
}
|
|
@@ -223,7 +238,7 @@ Configure in Zencoder settings:
|
|
|
223
238
|
"mcpServers": {
|
|
224
239
|
"kratos": {
|
|
225
240
|
"command": "npx",
|
|
226
|
-
"args": ["kratos-mcp"]
|
|
241
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
227
242
|
}
|
|
228
243
|
}
|
|
229
244
|
}
|
|
@@ -258,7 +273,7 @@ Add to Qodo configuration:
|
|
|
258
273
|
"mcpServers": {
|
|
259
274
|
"kratos": {
|
|
260
275
|
"command": "npx",
|
|
261
|
-
"args": ["kratos-mcp"]
|
|
276
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
262
277
|
}
|
|
263
278
|
}
|
|
264
279
|
}
|
|
@@ -291,7 +306,7 @@ Add to `~/.warp/mcp_config.json`:
|
|
|
291
306
|
"mcpServers": {
|
|
292
307
|
"kratos": {
|
|
293
308
|
"command": "npx",
|
|
294
|
-
"args": ["kratos-mcp"]
|
|
309
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
295
310
|
}
|
|
296
311
|
}
|
|
297
312
|
}
|
|
@@ -308,7 +323,7 @@ Configure in Opencode settings:
|
|
|
308
323
|
"mcpServers": {
|
|
309
324
|
"kratos": {
|
|
310
325
|
"command": "npx",
|
|
311
|
-
"args": ["kratos-mcp"]
|
|
326
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
312
327
|
}
|
|
313
328
|
}
|
|
314
329
|
}
|
|
@@ -325,7 +340,7 @@ Add to Copilot configuration:
|
|
|
325
340
|
"mcpServers": {
|
|
326
341
|
"kratos": {
|
|
327
342
|
"command": "npx",
|
|
328
|
-
"args": ["kratos-mcp"]
|
|
343
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
329
344
|
}
|
|
330
345
|
}
|
|
331
346
|
}
|
|
@@ -342,7 +357,7 @@ Add to Kiro settings:
|
|
|
342
357
|
"mcpServers": {
|
|
343
358
|
"kratos": {
|
|
344
359
|
"command": "npx",
|
|
345
|
-
"args": ["kratos-mcp"]
|
|
360
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
346
361
|
}
|
|
347
362
|
}
|
|
348
363
|
}
|
|
@@ -359,7 +374,7 @@ Configure in Codex settings:
|
|
|
359
374
|
"mcpServers": {
|
|
360
375
|
"kratos": {
|
|
361
376
|
"command": "npx",
|
|
362
|
-
"args": ["kratos-mcp"]
|
|
377
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
363
378
|
}
|
|
364
379
|
}
|
|
365
380
|
}
|
|
@@ -376,7 +391,7 @@ Add to LM Studio MCP configuration:
|
|
|
376
391
|
"mcpServers": {
|
|
377
392
|
"kratos": {
|
|
378
393
|
"command": "npx",
|
|
379
|
-
"args": ["kratos-mcp"]
|
|
394
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
380
395
|
}
|
|
381
396
|
}
|
|
382
397
|
}
|
|
@@ -393,7 +408,7 @@ Add to Perplexity settings:
|
|
|
393
408
|
"mcpServers": {
|
|
394
409
|
"kratos": {
|
|
395
410
|
"command": "npx",
|
|
396
|
-
"args": ["kratos-mcp"]
|
|
411
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
397
412
|
}
|
|
398
413
|
}
|
|
399
414
|
}
|
|
@@ -447,7 +462,7 @@ For any MCP-compatible VS Code extension, add to `.vscode/settings.json`:
|
|
|
447
462
|
"mcpServers": {
|
|
448
463
|
"kratos": {
|
|
449
464
|
"command": "npx",
|
|
450
|
-
"args": ["kratos-mcp"]
|
|
465
|
+
"args": ["--yes", "kratos-mcp@latest"]
|
|
451
466
|
}
|
|
452
467
|
}
|
|
453
468
|
}
|
package/bin/kratos-mcp
CHANGED
|
@@ -1,2 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// This is the executable wrapper for kratos-mcp
|
|
4
|
+
// It ensures the MCP server runs correctly when installed globally or via npx
|
|
5
|
+
|
|
6
|
+
import { fileURLToPath } from 'url';
|
|
7
|
+
import { dirname, join } from 'path';
|
|
8
|
+
import { spawn } from 'child_process';
|
|
9
|
+
|
|
10
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
11
|
+
const __dirname = dirname(__filename);
|
|
12
|
+
|
|
13
|
+
// Find the actual index.js file
|
|
14
|
+
const indexPath = join(__dirname, '..', 'dist', 'index.js');
|
|
15
|
+
|
|
16
|
+
// Spawn node with the actual server file
|
|
17
|
+
const child = spawn(process.execPath, [indexPath], {
|
|
18
|
+
stdio: 'inherit',
|
|
19
|
+
env: { ...process.env, KRATOS_DEBUG: 'false' }
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
child.on('error', (err) => {
|
|
23
|
+
console.error('Failed to start Kratos MCP:', err);
|
|
24
|
+
process.exit(1);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
child.on('exit', (code) => {
|
|
28
|
+
process.exit(code || 0);
|
|
29
|
+
});
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kratos-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Memory System for AI Coding Tools - MCP server with perfect project isolation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"kratos-mcp": "./
|
|
9
|
-
"kratos": "./
|
|
8
|
+
"kratos-mcp": "./bin/kratos-mcp",
|
|
9
|
+
"kratos": "./bin/kratos-mcp"
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|