Commit 9ee8f9b
fix(@angular/cli): declare devserver_start and devserver_stop as isReadOnly:false
Both tools are declared isReadOnly:true, so they remain registered and
callable when the MCP server is started with --read-only, and MCP host
clients that use readOnlyHint to auto-approve tool calls without asking
the user will call them without confirmation.
devserver_start spawns a background ng serve child process and binds a
network port. devserver_stop sends SIGTERM to that process. Neither is
a read-only operation. devserver_wait_for_build only polls status and
logs of an already-running server, so it correctly stays isReadOnly:true.
run_target.ts already declares isReadOnly:false for the same reason, so
this aligns the two devserver lifecycle tools with the existing pattern.
(cherry picked from commit 1f36380)1 parent beac493 commit 9ee8f9b
2 files changed
Lines changed: 2 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments