Failed to perform one time cleanup of mcp-hermit
Goose fails to start installed MCP servers. e.g. Playwright.
I get the following logs:
- Performing one-time cleanup of old mcp-hermit directory to fix locking issues.
- touch: cannot touch '~/.config/goose/.mcp-hermit-cleanup-v1': No such file or directory
This is happening on a freshly installed Ubuntu 24.04.03 virtual machine.
Manually creating the referenced file using touch does not resolve the issue and the same error message occurs.
This is using the GUI version of Goose.
This is related to: https://github.com/block/goose/pull/5742
Same thing here when using UI on Arch.
Failed to add extension: process quit before initialization: stderr = 2025-12-02 15:48:55 - Starting node setup (common).
2025-12-02 15:48:55 - Performing one-time cleanup of old mcp-hermit directory to fix locking issues.
touch: cannot touch '~/.config/goose/.mcp-hermit-cleanup-v1': No such file or directory
2025-12-02 15:48:55 - An error occurred. Exiting with status 1.
jakob@Dobby ~ % ls -la .config/goose
total 44
drwxr-xr-x 3 jakob jakob 4096 Dec 2 15:48 .
drwxr-xr-x 86 jakob jakob 4096 Dec 1 15:16 ..
-rw-r--r-- 1 jakob jakob 0 Dec 2 15:48 .mcp-hermit-cleanup-v1
-rw-r--r-- 1 jakob jakob 2232 Dec 2 15:48 config.yaml
-rw-r--r-- 1 jakob jakob 2232 Dec 2 15:48 config.yaml.bak
-rw-r--r-- 1 jakob jakob 2232 Dec 2 15:47 config.yaml.bak.1
-rw-r--r-- 1 jakob jakob 2232 Dec 2 15:47 config.yaml.bak.2
-rw-r--r-- 1 jakob jakob 2232 Dec 2 15:46 config.yaml.bak.3
-rw-r--r-- 1 jakob jakob 2231 Dec 2 15:46 config.yaml.bak.4
-rw-r--r-- 1 jakob jakob 2230 Dec 2 15:42 config.yaml.bak.5
-rw-r--r-- 1 jakob jakob 699 Dec 2 15:39 permission.yaml
drwxr-xr-x 2 jakob jakob 4096 Nov 19 14:20 recipes
The extension works fine when using the CLI (e.g. goose run -s --with-builtin developer --with-extension "npx -y chrome-devtools-mcp@latest")
Thank you for sharing your feedback on this. @sheikhlimon is working on a draft PR for this in #5953, thank you for that! I know there is a past PR referenced there.
@Antsiscool what version of goose are you using? This should be resolved in the latest version. See also: #5868
@The-Best-Codes This is when running the latest version (1.15.0)
@Antsiscool Hmm that's strange... the latest version should run touch /home/(your_username)/.config/goose/.mcp-hermit-cleanup-v1 and not touch ~/.config/goose/.mcp-hermit-cleanup-v1.
@The-Best-Codes Has https://github.com/block/goose/pull/5868 been released? I can't see it in the release notes for 1.15.0
@Antsiscool I thought it was, but I guess not! It looks like it'll be merged in 1.16.0: https://github.com/block/goose/pull/5985
I have been unable to test if this is fixed in 1.16.0 due to https://github.com/block/goose/issues/6034
@Antsiscool 1.16.1 is out! Do you still have the issue on the latest version?