@rolandohuber/mysql-mcp-server
Version:
A comprehensive MCP server for MySQL database operations with 16 tools, multi-transport support, and intelligent test data generation
19 lines • 452 B
JavaScript
export const pingSchema = {
name: 'mysql_ping',
description: 'Tests the connection to the MySQL server',
inputSchema: {
type: 'object',
properties: {},
required: [],
},
};
export async function pingHandler(mysqlService) {
try {
const success = await mysqlService.ping();
return { success };
}
catch (error) {
return { success: false };
}
}
//# sourceMappingURL=ping.js.map