A collection of shell scripts and PowerShell utilities for fixing and maintaining Windsurf IDE on Linux, macOS, and Windows, plus system cleanup tools
This is a bash/PowerShell script collection, not an MCP server. No tool registration, no JSON schemas, no structured definitions. Tools are shell functions with inline documentation only. No input validation, no structured output, no error handling guidance. The 35 'tools' are inferred from function definitions in shell scripts, not formally registered. Descriptions exist but are in Chinese and lack LLM-optimized structure. No parameter schemas visible. This does not meet MCP server standards.
清理 Cascade 缓存(清理对话历史和本地设置)
清理扩展缓存(清理 CachedData 和 CachedExtensionVSIXs 目录)
检测系统信息(Windows 版本、系统架构、用户目录)
清理完毕后强制重置设备 ID(默认行为,可通过 FORCE_RESET_ID=0 关闭)
检查当前 PowerShell 会话是否具有管理员权限
检查 Windsurf 是否正在运行,可选自动关闭
检查 Windsurf 是否正在运行,可选自动关闭
检查 Windsurf 是否正在运行,可选自动关闭
清理 AI 工具缓存(包括 Codeium、Windsurf、Claude Code、Gemini CLI、OpenCode、Codex 等的缓存)
Not an MCP server, shell scripts only. No tool registration, no JSON schemas, no structured definitions. Tools are inferred from bash/PowerShell functions, not formally exposed via MCP protocol.
Zero input schemas visible. Tools like fix_chrome_sandbox, get_size_bytes, kill_app_process accept parameters but no JSON Schema definitions are present in the code.
Descriptions in Chinese only, not optimized for LLM parsing. Descriptions are 20 - 50 chars, below the 50 - 200 char baseline for A+ tools. No WHEN/WHY guidance for tool selection.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 19 | 2026-07-28+ | v2 |
清理应用程序缓存(包括 WPS Office、Telegram、QQ、Chrome 等应用的缓存)
清理 Cascade 缓存(清理对话历史和本地设置)
清理 Cascade 缓存(清理对话历史和本地设置)
清理开发工具缓存(包括 Python __pycache__、npm 缓存、Xcode 缓存等)
清理诊断报告和日志文件
清理扩展缓存(清理 CachedData 和 CachedExtensionVSIXs 目录)
清理扩展缓存(清理 CachedData 和 CachedExtensionVSIXs 目录)
清理系统缓存(包括浏览器缓存、应用缓存、临时文件等)
清理废纸篓(清空回收站)
配置终端设置(推荐设置 terminal.integrated.defaultProfile.linux 为 bash)
配置终端设置(推荐设置 terminal.integrated.defaultProfile.osx 为 zsh)
确认操作(交互式提示用户确认)
检测系统信息(处理器类型、macOS 版本、Windsurf 路径)
检测系统信息(发行版、内核版本、架构、Windsurf 路径)
检测 zsh 主题冲突(检测可能导致终端卡住的配置)
修复 chrome-sandbox 权限问题(设置正确的所有者和权限以解决 Windsurf 静默崩溃)
修复 'Windsurf已损坏' 问题(清除隔离属性和代码签名问题)
格式化大小显示(将字节转换为 GB、MB、KB 或 B)
获取目录或文件的大小(字节)
判断路径是否属于绝对保护区(不允许脚本删除的敏感路径)
优雅终止应用进程(先 AppleScript 退出,再 SIGTERM,最后 SIGKILL)
检查路径是否有打开的文件(被应用程序使用)
安全删除目录内容(保留目录本身,需要用户确认)
安全删除整个目录(需要用户确认)
静默清理目录内容(保留目录本身,用于大类合并清理)
静默删除整个目录(用于大类合并清理)
No error handling guidance. Destructive operations (clean_cascade_cache, clean_extension_cache, clean_trash, etc.) lack recovery instructions or confirmation patterns.
No output schemas documented. Tools return shell command output (text, exit codes) with no structured response definition for LLM parsing.