MCP Bash Framework von Yaniv Golan
Yaniv Golan: MCP Bash Framework 1.9.5
Der Server verweigert Tool-Aufrufe, wenn die Datei server.d/policy.sh nicht sicher geladen werden kann (z. B. wegen unsicherer Berechtigungen oder Syntaxfehlern) und meldet den Grund beim Start auf stderr.
Behaviour changes to check before upgrading
- Tool calls are refused while
server.d/policy.shcan't be loaded safely: the server refuses to source apolicy.shthat it,server.dor the project root lets group or other users write, that is a symlink or that you don't own, or that has a syntax error. Before, it then ran without it: the operator allowlist still applied, but the project's own restrictions (a read-only mode, say) were silently dropped, the warning reached only the log, and with a syntax error bash 3.2 stopped the call with no response. Now every tool call gets an error result naming the file, the reason and the fix (for examplechmod go-w), and the reason is printed on stderr at startup. Projects whose directories are group-writable (aumaskof002, common on Ubuntu and Debian) must fix the permissions.