in src/lindorm_mcp_server/lindorm_wide_table.py [0:0]
def show_tables(self) -> str:
try:
self.cursor.execute(f"SHOW TABLES")
tables = self.cursor.fetchall()
result = ["Tables_in_" + self.config["database"]] # Header
result.extend([table[0] for table in tables])
return "\n".join(result)
except Error as e:
return f"Error executing SHOW TABLES: {str(e)}"