What I’m doing wrong? I generated some Flutter code (with the help of visual code/copilot and the Figma MCP server) from my Figma design:
class IPhone161 extends StatelessWidget {
// Bild-URLs vom lokalen MCP-Server
static const imgScreenshot202505181133481 = 'http://localhost:3845/assets/40302311985739cf5b0d629966628c418a2cb3ae.png';
static const imgEllipse1 = 'http://localhost:3845/assets/5747de95ba735346045eb9f07a9e21c55e00f7b8.svg';
static const imgFrame = 'http://localhost:3845/assets/2d63044c4aee77ef3b5702988be5cbcb4764e5a5.svg';
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xFFFFFFFF),
But if I start the app, it is blank. Then I tried to access the asset (PNG file) directly from my browser and got a 404 error (This localhost page can’t be found). Seems that the MCP Server can’t serve the assets?