68 const std::string& tool_name,
69 const std::string&
args_json)
const override;
94 std::filesystem::path working_dir_;
96 std::unique_ptr<ExecuteTool> execute_tool_;
Bash MCP server for shell command execution.
int timeout() const
Get the enforced per-command timeout.
const std::filesystem::path & working_dir() const
Get the working directory.
bool set_working_dir(const std::string &path) override
Set working directory.
~BashServer() override
Destructor.
std::string get_permission_pattern(const std::string &tool_name, const std::string &args_json) const override
Permission pattern: "execute:{base_cmd} *".
Concrete base class for MCP servers (80% logic).
Activate model on GPU (WARM → ACTIVE).
@ optional
optional: every escape asks the host's path approver
MCPServerBase concrete base class + ServerResponse.