Unfortunately, a Pokémon seen on Battle Spot, in the Battle Chateau or via local battle will not be recorded as seen in your PokéDex. You will have to actually own a Shiny Mew in-game, even if just for a moment, in order for it to be registered in the Dex.
Source: Experience