pi: fix pyghidra_mcp_projects folder generation
All checks were successful
Build and Deploy / mreow (push) Successful in 2m48s
Build and Deploy / yarn (push) Successful in 1m11s
Build and Deploy / muffin (push) Successful in 2m42s

This commit is contained in:
2026-05-06 13:09:53 -04:00
parent f1e4f8480e
commit f1321d2223

View File

@@ -203,9 +203,15 @@ in
mcpServers = { mcpServers = {
ghidra = { ghidra = {
command = lib.getExe pyghidra-mcp; command = lib.getExe pyghidra-mcp;
# --project-path defaults to the relative ./pyghidra_mcp_projects, which
# pyghidra-mcp materializes inside whatever cwd OMP launched it from.
# Pin it to a stable cache location so opening any directory doesn't
# litter it with a project folder.
args = [ args = [
"--transport" "--transport"
"stdio" "stdio"
"--project-path"
"${config.home.homeDirectory}/.cache/pyghidra-mcp"
]; ];
}; };
}; };