pi: fix pyghidra_mcp_projects folder generation
This commit is contained in:
@@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user