Skip to content

Commit 902617d

Browse files
committed
Explicitly add zod when launching @modelcontextprotocol/server-filesystem
Workaround a problem with the mcp. See here for details: modelcontextprotocol/servers#4288
1 parent a99a7fa commit 902617d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packs/dev/power-pack/config/llm-conf.el‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ MODEL is the model name. DESCRIPTION is optional."
270270
:COMMAND_TIMEOUT 5
271271
:ALLOW_SHELL_OPERATORS "false")))
272272
("workspace-filesystem" . (:command "npx"
273-
:args ("-y" "@modelcontextprotocol/server-filesystem")
273+
:args ("-y" "--package" "zod@^4" "--package" "@modelcontextprotocol/server-filesystem" "mcp-server-filesystem")
274274
:roots ((:uri ,(concat "file://" ar-emacs-projects-dir) :name "Projects")
275275
(:uri ,(concat "file://" ar-emacs-home-tmp-dir) :name "Home Tmp")
276276
(:uri ,(concat "file://" ar-emacs-emacs-config-dir) :name "Emacs Config")

0 commit comments

Comments
 (0)