serena-slim 0.0.1-slim.1.7 β 0.0.1-slim.1.9
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 +5 -5
- package/index.js +5 -5
- package/package.json +1 -1
- package/recipes/serena.json +52 -33
- package/bin/mcpslim-darwin-arm64 +0 -0
- package/bin/mcpslim-darwin-x64 +0 -0
- package/bin/mcpslim-linux-x64 +0 -0
- package/bin/mcpslim-windows-x64.exe +0 -0
package/README.md
CHANGED
|
@@ -54,13 +54,13 @@ Done! Restart your app to use serena.
|
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
# Claude Code (creates .mcp.json in project root)
|
|
57
|
-
claude mcp add serena -s project -- npx -y serena-slim
|
|
57
|
+
claude mcp add serena -s project -- npx -y serena-slim@latest
|
|
58
58
|
|
|
59
59
|
# Windows: use cmd /c wrapper
|
|
60
|
-
claude mcp add serena -s project -- cmd /c npx -y serena-slim
|
|
60
|
+
claude mcp add serena -s project -- cmd /c npx -y serena-slim@latest
|
|
61
61
|
|
|
62
62
|
# VS Code (Copilot, Cline, Roo Code)
|
|
63
|
-
code --add-mcp '{"name":"serena","command":"npx","args":["-y","serena-slim"]}'
|
|
63
|
+
code --add-mcp '{"name":"serena","command":"npx","args":["-y","serena-slim@latest"]}'
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
## Manual Setup
|
|
@@ -82,7 +82,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
82
82
|
"mcpServers": {
|
|
83
83
|
"serena": {
|
|
84
84
|
"command": "npx",
|
|
85
|
-
"args": ["-y", "serena-slim"]
|
|
85
|
+
"args": ["-y", "serena-slim@latest"]
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -97,7 +97,7 @@ Add to `.cursor/mcp.json` (global) or `<project>/.cursor/mcp.json` (project):
|
|
|
97
97
|
"mcpServers": {
|
|
98
98
|
"serena": {
|
|
99
99
|
"command": "npx",
|
|
100
|
-
"args": ["-y", "serena-slim"]
|
|
100
|
+
"args": ["-y", "serena-slim@latest"]
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
package/index.js
CHANGED
|
@@ -117,15 +117,15 @@ async function interactiveSetup() {
|
|
|
117
117
|
case '3':
|
|
118
118
|
console.log('\nRun this command:\n');
|
|
119
119
|
if (REQUIRED_ENV_VARS.length > 0) {
|
|
120
|
-
console.log(` claude mcp add ${MCP_NAME} -s project ${envFlags} -- npx -y ${PACKAGE_NAME}\n`);
|
|
120
|
+
console.log(` claude mcp add ${MCP_NAME} -s project ${envFlags} -- npx -y ${PACKAGE_NAME}@latest\n`);
|
|
121
121
|
} else {
|
|
122
|
-
console.log(` claude mcp add ${MCP_NAME} -s project -- npx -y ${PACKAGE_NAME}\n`);
|
|
122
|
+
console.log(` claude mcp add ${MCP_NAME} -s project -- npx -y ${PACKAGE_NAME}@latest\n`);
|
|
123
123
|
}
|
|
124
124
|
console.log(' (Windows: use "cmd /c npx" instead of "npx")\n');
|
|
125
125
|
return true;
|
|
126
126
|
case '4':
|
|
127
127
|
console.log('\nRun this command:\n');
|
|
128
|
-
console.log(` code --add-mcp '{"name":"${MCP_NAME}","command":"npx","args":["-y","${PACKAGE_NAME}"]${envJson}}'\n`);
|
|
128
|
+
console.log(` code --add-mcp '{"name":"${MCP_NAME}","command":"npx","args":["-y","${PACKAGE_NAME}@latest"]${envJson}}'\n`);
|
|
129
129
|
return true;
|
|
130
130
|
case '5':
|
|
131
131
|
default:
|
|
@@ -145,7 +145,7 @@ function setupClaudeCode() {
|
|
|
145
145
|
if (REQUIRED_ENV_VARS.length > 0) {
|
|
146
146
|
cmd += ` ${envFlags}`;
|
|
147
147
|
}
|
|
148
|
-
cmd += ` -- ${npxCmd} -y ${PACKAGE_NAME}`;
|
|
148
|
+
cmd += ` -- ${npxCmd} -y ${PACKAGE_NAME}@latest`;
|
|
149
149
|
|
|
150
150
|
console.log(`\nπ§ Adding ${MCP_NAME} to Claude Code...\n`);
|
|
151
151
|
console.log(`Running: ${cmd}\n`);
|
|
@@ -183,7 +183,7 @@ function setupClient(client) {
|
|
|
183
183
|
|
|
184
184
|
const mcpConfig = {
|
|
185
185
|
command: 'npx',
|
|
186
|
-
args: ['-y', PACKAGE_NAME]
|
|
186
|
+
args: ['-y', PACKAGE_NAME + '@latest']
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
// νκ²½λ³μκ° νμν κ²½μ° env λΈλ‘ μΆκ° (νλ μ΄μ€νλ)
|
package/package.json
CHANGED
package/recipes/serena.json
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
"algorithm_version": "v2.1",
|
|
5
5
|
"rules": {
|
|
6
6
|
"default_minifier": "first_sentence",
|
|
7
|
-
"remove_params_description":
|
|
7
|
+
"remove_params_description": false
|
|
8
8
|
},
|
|
9
9
|
"groups": [
|
|
10
10
|
{
|
|
11
11
|
"name": "read",
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "read operations",
|
|
13
13
|
"mapping": {
|
|
14
14
|
"file": "read_file",
|
|
15
15
|
"memory": "read_memory"
|
|
@@ -25,18 +25,22 @@
|
|
|
25
25
|
]
|
|
26
26
|
},
|
|
27
27
|
"relative_path": {
|
|
28
|
-
"type": "string"
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "relative path to the file to read."
|
|
29
30
|
},
|
|
30
31
|
"start_line": {
|
|
31
32
|
"type": "integer",
|
|
32
|
-
"default": 0
|
|
33
|
+
"default": 0,
|
|
34
|
+
"description": "0-based index of the first line to be retrieved."
|
|
33
35
|
},
|
|
34
36
|
"end_line": {
|
|
35
|
-
"default": null
|
|
37
|
+
"default": null,
|
|
38
|
+
"description": "0-based index of the last line to be retrieved (inclusive)."
|
|
36
39
|
},
|
|
37
40
|
"max_answer_chars": {
|
|
38
41
|
"type": "integer",
|
|
39
|
-
"default": -1
|
|
42
|
+
"default": -1,
|
|
43
|
+
"description": "If the file (chunk) is longer than this number of characters,\nno content will be returned."
|
|
40
44
|
},
|
|
41
45
|
"memory_file_name": {
|
|
42
46
|
"type": "string"
|
|
@@ -51,7 +55,7 @@
|
|
|
51
55
|
},
|
|
52
56
|
{
|
|
53
57
|
"name": "list",
|
|
54
|
-
"description": "
|
|
58
|
+
"description": "list operations",
|
|
55
59
|
"mapping": {
|
|
56
60
|
"dir": "list_dir",
|
|
57
61
|
"memories": "list_memories"
|
|
@@ -67,18 +71,22 @@
|
|
|
67
71
|
]
|
|
68
72
|
},
|
|
69
73
|
"relative_path": {
|
|
70
|
-
"type": "string"
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "relative path to the directory to list; pass \"."
|
|
71
76
|
},
|
|
72
77
|
"recursive": {
|
|
73
|
-
"type": "boolean"
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Whether to scan subdirectories recursively."
|
|
74
80
|
},
|
|
75
81
|
"skip_ignored_files": {
|
|
76
82
|
"type": "boolean",
|
|
77
|
-
"default": false
|
|
83
|
+
"default": false,
|
|
84
|
+
"description": "Whether to skip files and directories that are ignored."
|
|
78
85
|
},
|
|
79
86
|
"max_answer_chars": {
|
|
80
87
|
"type": "integer",
|
|
81
|
-
"default": -1
|
|
88
|
+
"default": -1,
|
|
89
|
+
"description": "If the output is longer than this number of characters,\nno content will be returned."
|
|
82
90
|
}
|
|
83
91
|
},
|
|
84
92
|
"required": [
|
|
@@ -90,7 +98,7 @@
|
|
|
90
98
|
},
|
|
91
99
|
{
|
|
92
100
|
"name": "find",
|
|
93
|
-
"description": "
|
|
101
|
+
"description": "find operations",
|
|
94
102
|
"mapping": {
|
|
95
103
|
"file": "find_file",
|
|
96
104
|
"symbol": "find_symbol",
|
|
@@ -108,10 +116,12 @@
|
|
|
108
116
|
]
|
|
109
117
|
},
|
|
110
118
|
"file_mask": {
|
|
111
|
-
"type": "string"
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "filename or file mask (using the wildcards * or ?"
|
|
112
121
|
},
|
|
113
122
|
"relative_path": {
|
|
114
|
-
"type": "string"
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "relative path to the directory to search in; pass \"."
|
|
115
125
|
},
|
|
116
126
|
"name_path_pattern": {
|
|
117
127
|
"type": "string"
|
|
@@ -161,7 +171,7 @@
|
|
|
161
171
|
},
|
|
162
172
|
{
|
|
163
173
|
"name": "replace",
|
|
164
|
-
"description": "
|
|
174
|
+
"description": "replace operations",
|
|
165
175
|
"mapping": {
|
|
166
176
|
"content": "replace_content",
|
|
167
177
|
"symbol_body": "replace_symbol_body"
|
|
@@ -177,24 +187,29 @@
|
|
|
177
187
|
]
|
|
178
188
|
},
|
|
179
189
|
"relative_path": {
|
|
180
|
-
"type": "string"
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "relative path to the file."
|
|
181
192
|
},
|
|
182
193
|
"needle": {
|
|
183
|
-
"type": "string"
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "string or regex pattern to search for."
|
|
184
196
|
},
|
|
185
197
|
"repl": {
|
|
186
|
-
"type": "string"
|
|
198
|
+
"type": "string",
|
|
199
|
+
"description": "replacement string (verbatim)."
|
|
187
200
|
},
|
|
188
201
|
"mode": {
|
|
189
202
|
"type": "string",
|
|
190
203
|
"enum": [
|
|
191
204
|
"literal",
|
|
192
205
|
"regex"
|
|
193
|
-
]
|
|
206
|
+
],
|
|
207
|
+
"description": "Either \"literal\" or \"regex\", specifying how the `needle` parameter is to be interpreted."
|
|
194
208
|
},
|
|
195
209
|
"allow_multiple_occurrences": {
|
|
196
210
|
"type": "boolean",
|
|
197
|
-
"default": false
|
|
211
|
+
"default": false,
|
|
212
|
+
"description": "If True, the regex may match multiple occurrences in the file\nand all of them will be replaced."
|
|
198
213
|
},
|
|
199
214
|
"name_path": {
|
|
200
215
|
"type": "string"
|
|
@@ -216,7 +231,7 @@
|
|
|
216
231
|
},
|
|
217
232
|
{
|
|
218
233
|
"name": "get",
|
|
219
|
-
"description": "
|
|
234
|
+
"description": "get operations",
|
|
220
235
|
"mapping": {
|
|
221
236
|
"symbols_overview": "get_symbols_overview",
|
|
222
237
|
"current_config": "get_current_config"
|
|
@@ -232,15 +247,18 @@
|
|
|
232
247
|
]
|
|
233
248
|
},
|
|
234
249
|
"relative_path": {
|
|
235
|
-
"type": "string"
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "relative path to the file to get the overview of."
|
|
236
252
|
},
|
|
237
253
|
"depth": {
|
|
238
254
|
"type": "integer",
|
|
239
|
-
"default": 0
|
|
255
|
+
"default": 0,
|
|
256
|
+
"description": "Depth up to which descendants of top-level symbols shall be retrieved\n(e."
|
|
240
257
|
},
|
|
241
258
|
"max_answer_chars": {
|
|
242
259
|
"type": "integer",
|
|
243
|
-
"default": -1
|
|
260
|
+
"default": -1,
|
|
261
|
+
"description": "If the overview is longer than this number of characters,\nno content will be returned."
|
|
244
262
|
}
|
|
245
263
|
},
|
|
246
264
|
"required": [
|
|
@@ -251,7 +269,7 @@
|
|
|
251
269
|
},
|
|
252
270
|
{
|
|
253
271
|
"name": "insert",
|
|
254
|
-
"description": "
|
|
272
|
+
"description": "insert operations",
|
|
255
273
|
"mapping": {
|
|
256
274
|
"after_symbol": "insert_after_symbol",
|
|
257
275
|
"before_symbol": "insert_before_symbol"
|
|
@@ -267,13 +285,16 @@
|
|
|
267
285
|
]
|
|
268
286
|
},
|
|
269
287
|
"name_path": {
|
|
270
|
-
"type": "string"
|
|
288
|
+
"type": "string",
|
|
289
|
+
"description": "Name path of the symbol after which to insert content (definitions in the `find_symbol` tool apply)."
|
|
271
290
|
},
|
|
272
291
|
"relative_path": {
|
|
273
|
-
"type": "string"
|
|
292
|
+
"type": "string",
|
|
293
|
+
"description": "relative path to the file containing the symbol."
|
|
274
294
|
},
|
|
275
295
|
"body": {
|
|
276
|
-
"type": "string"
|
|
296
|
+
"type": "string",
|
|
297
|
+
"description": "body/content to be inserted."
|
|
277
298
|
}
|
|
278
299
|
},
|
|
279
300
|
"required": [
|
|
@@ -286,7 +307,7 @@
|
|
|
286
307
|
},
|
|
287
308
|
{
|
|
288
309
|
"name": "think",
|
|
289
|
-
"description": "
|
|
310
|
+
"description": "think operations",
|
|
290
311
|
"mapping": {
|
|
291
312
|
"about_collected_information": "think_about_collected_information",
|
|
292
313
|
"about_task_adherence": "think_about_task_adherence",
|
|
@@ -311,7 +332,7 @@
|
|
|
311
332
|
},
|
|
312
333
|
{
|
|
313
334
|
"name": "memory",
|
|
314
|
-
"description": "
|
|
335
|
+
"description": "memory operations",
|
|
315
336
|
"mapping": {
|
|
316
337
|
"write": "write_memory",
|
|
317
338
|
"delete": "delete_memory",
|
|
@@ -374,7 +395,5 @@
|
|
|
374
395
|
"onboarding",
|
|
375
396
|
"prepare_for_new_conversation",
|
|
376
397
|
"initial_instructions"
|
|
377
|
-
]
|
|
378
|
-
"ai_enhanced": true,
|
|
379
|
-
"enhanced_at": "2026-01-07T00:34:17.033Z"
|
|
398
|
+
]
|
|
380
399
|
}
|
package/bin/mcpslim-darwin-arm64
DELETED
|
Binary file
|
package/bin/mcpslim-darwin-x64
DELETED
|
Binary file
|
package/bin/mcpslim-linux-x64
DELETED
|
Binary file
|
|
Binary file
|