File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,32 @@ Add the following to `claude_desktop_config.json`:
15
15
" -y" ,
16
16
" mcp-server-sqlite-npx" ,
17
17
" /absolute/path/to/database.db"
18
- ]
18
+ ],
19
+ "env" : {
20
+ "PATH" : " /absolute/path/to/executables" ,
21
+ "NODE_PATH" : " /absolute/path/to/node_modules"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ ```
27
+
28
+ Here's a full example when using nvm:
29
+
30
+ ``` json
31
+ {
32
+ "mcpServers" : {
33
+ "sqlite-" : {
34
+ "command" : " /Users/johnny/.nvm/versions/node/v22.12.0/bin/npx" ,
35
+ "args" : [
36
+ " -y" ,
37
+ " mcp-server-sqlite-npx" ,
38
+ " /Users/johnny/projects/database.db"
39
+ ],
40
+ "env" : {
41
+ "PATH" : " /Users/johnny/.nvm/versions/node/v22.12.0/bin:/usr/local/bin:/usr/bin:/bin" ,
42
+ "NODE_PATH" : " /Users/johnny/.nvm/versions/node/v22.12.0/lib/node_modules"
43
+ }
19
44
}
20
45
}
21
46
}
You can’t perform that action at this time.
0 commit comments