angular-signal-forms-migration-mcp
v0.9.1Finds Angular Reactive Forms and returns verified Signal Forms recipes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_form_candidates Find Angular Reactive Forms migration candidates
Scans .ts and .html files (or a directory) for Angular Reactive Forms constructs and classifies each finding as "mechanical" (safe to transliterate) or "judgment" (a human must decide the target design). Read-only: this tool never modifies your files. Results are PAGED (default 200 findings) — check `incomplete`: non-null means there is more, and says how to get it. Filter with `constructs` / `classification` to work one decision at a time.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a .ts file or a directory to scan recursively. |
classification | string | Return only "mechanical" or only "judgment" findings. |
constructs | array | Return only these construct names (e.g. ["FormArray.push"]). Use it to pull one decision at a time. Filtering is announced in `incomplete`. |
limit | integer | Maximum findings to return. Defaults to 200. A whole workspace can be far larger than one context window, so the response is a window and says so when it is. |
offset | integer | Index of the first finding to return. Defaults to 0. Page with page.nextOffset. |
get_signalforms_recipe Get an Angular Signal Forms migration recipe
Returns a verified before/after migration recipe for a single Reactive Forms construct (e.g. "FormControl", "FormBuilder.group", "Validators.required"). An unknown construct returns found:false plus the list of available constructs — it is never an error. Read-only: this tool never modifies your files.
| Parameter | Type | Description |
|---|---|---|
construct * | string | Reactive Forms construct to look up, e.g. "FormControl", "FormBuilder.group", "Validators.required". |
analyze_migration_complexity Summarise the size and shape of a Signal Forms migration
Scans .ts and .html files (or a directory) and summarises the migration: total findings, counts per construct, the mechanical/judgment split, and a suggested file order (simplest first, so all-mechanical files land before the ones needing design decisions). Read-only: this tool never modifies your files.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a .ts file or a directory to scan recursively. |
get_migration_report Generate a Signal Forms migration report
Scans .ts and .html files (or a directory) and returns a MARKDOWN REPORT combining findings, complexity, a suggested file order, the constructs present with their recipe names, and a warning for any version-sensitive recipe involved. Returns the report as a string — it does NOT write a file; you decide whether to save it. Read-only: this tool never modifies your files.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a .ts file or a directory to scan recursively. |
get_angular_upgrade_plan Plan the Angular upgrade that Signal Forms requires
Signal Forms needs Angular 21+. When a project is older, this returns the upgrade plan as markdown, reproducing angular.dev/update-guide from Angular's own published step data — not written by this server. The current version is detected from the project; you choose application complexity (1 Basic, 2 Medium, 3 Advanced) and whether you use ngUpgrade, Angular Material or Windows, exactly as the official guide asks. Read-only: this tool never modifies your files.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path inside the Angular project. The current version is read from its package.json. |
fromMajor | integer | Override the detected current major version. |
level | Application complexity, as on angular.dev/update-guide: 1 Basic, 2 Medium, 3 Advanced. Defaults to 3. | |
material | boolean | "I use Angular Material." |
ngUpgrade | boolean | "I use ngUpgrade to combine AngularJS & Angular." |
toMajor | integer | Target major. Defaults to the version the recipes are verified against. |
windows | boolean | "I use Windows." Swaps in cmd-compatible commands. |
verify_migration Verify an already-migrated Signal Forms file
Reads code you have ALREADY migrated and reports Signal Forms traps that COMPILE and are still wrong — a missed signal call in a position TypeScript does not check, a deprecated-but-valid v21 rule shape, a pre-release API name, an AbstractControl left in a form() model, Reactive Forms imports left behind. Run it after tsc, not instead of it: anything the compiler already reports is deliberately not repeated here. Read-only. It proves the ABSENCE OF KNOWN DEFECTS, never correctness.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to an ALREADY-MIGRATED .ts file, or a directory to scan. |