This study proposes a machine learning-driven approach for the analysis of the feature importance of seismic parameters on tunnel damage and seismic fragility prediction. The Incremental Dynamic Analysis (IDA) method serves as the fundamental database for vulnerability analysis. Strength and deformation yield criteria are chosen to comprehensively assess the impact of different seismic parameters on the vulnerability of tunnels to seismic events. Three machine learning algorithms, namely Extreme Gradient Boosting (XGBoost), Random Forest (RF), and Support Vector Machine (SVM), are utilized to develop models for classifying and regressing tunnel damage under seismic conditions. Following parameter tuning, the models' performance in multi-classification, binary classification, and regression prediction is assessed, with XGBoost and RF models exhibiting outstanding performance. Feature importance analysis of seismic parameters in XGBoost and RF models for multi-classification, binary classification, and regression is performed using Shapley additive explanations (SHAP). The correlation analysis between SHAP-based feature values and predictions reveals that Peak Ground Displacement (PGD) has the highest influence in the regression model. Utilizing the interaction dependencies among crucial features in the regression model, fragility curves for tunnels based on these key features are effectively derived. The predicted fragility curves closely align with those derived from IDA, illustrating the time-saving and high-performance capabilities of machine learning in nonlinear dynamic computations.