Extracts SQL statements from MyBatis Mapper XML files, generates mock parameters, and executes tests against databases.
This project transforms the original MyBatis Mapper2SQL tool into a Model Context Protocol (MCP) service, enabling it to function as an "expert tool" for AI models. It provides a robust, standardized interface for extracting, mocking, and testing SQL from MyBatis XML files, leveraging Spring AI and standard I/O for inter-process communication. This setup empowers more powerful SQL analysis and facilitates seamless collaboration with AI systems, ensuring deterministic parsing results based on the official MyBatis engine.