I asked cc the best pattern for this in a frontend + backend project just days ago and it suggested mcp server on backend