fix(integrations): use npx directly instead of sh -c wrapper (#61)

The librefang MCP security check blocks shell interpreters (sh, bash)
as commands. Use `command = "npx"` with `$HOME` in args — the runtime
now expands env vars in args natively.
This commit is contained in:
Evan authored and GitHub committed 2026-04-16 13:03:27 +09:00
1 parent fb09c1b895
commit c439b1bb00
1 file changed
+2 -5
+2 -5
View File
@@ -7,11 +7,8 @@ tags = ["files", "local", "read", "write", "search"]
[transport]
type = "stdio"
command = "sh"
args = [
"-c",
"exec npx -y @modelcontextprotocol/server-filesystem@latest \"$HOME\"",
]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem@latest", "$HOME"]
[health_check]
interval_secs = 60