Add file cleanup code to MCP