As long as SearXNG has access to the internet, the MCP server allows for remote access to the web. You can firewall your LLM and only allow it access to SearXNG if you want, and it'll still work. Just ...
os.path.join (folder, filename) ensures the path is correct for the system. On Windows, it uses backslashes (reports\summary.txt); on Linux and macOS it uses forward slashes (reports/summary.txt).