Commit 46b6b9d
GitLab CI
feat: add serve command — zero-config WebMCP server with hot reload detection
- flutter-skill serve <url> — auto-discovers all interactive elements
- Exposes as MCP-compatible REST API (tools/list, tools/call)
- DOM MutationObserver for real-time tool updates
- Hot reload detection: Vite HMR, Webpack HMR, React Fast Refresh, Flutter Web
- Zero config, zero dependencies, zero code changes needed
- Supports --headless, --no-launch, --cdp-port, --port flags
- Text snapshot + screenshot endpoints
- CORS enabled for browser-based MCP clients1 parent e486cc1 commit 46b6b9d
3 files changed
Lines changed: 508 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1155 | 1155 | | |
1156 | 1156 | | |
1157 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
1158 | 1163 | | |
1159 | 1164 | | |
1160 | 1165 | | |
| |||
0 commit comments