@@ -93,29 +93,29 @@ export const DEVSERVER_START_TOOL: McpToolDeclaration<
9393 typeof devserverStartToolInputSchema . shape ,
9494 typeof devserverStartToolOutputSchema . shape
9595> = declareTool ( {
96- name : 'devserver.start ' ,
96+ name : 'devserver_start ' ,
9797 title : 'Start Development Server' ,
9898 description : `
9999<Purpose>
100- Starts the Angular development server ("ng serve") as a background process. Follow this up with "devserver.wait_for_build " to wait until
100+ Starts the Angular development server ("ng serve") as a background process. Follow this up with "devserver_wait_for_build " to wait until
101101the first build completes.
102102</Purpose>
103103<Use Cases>
104104* **Starting the Server:** Use this tool to begin serving the application. The tool will return immediately while the server runs in the
105105 background.
106- * **Get Initial Build Logs:** Once a dev server has started, use the "devserver.wait_for_build " tool to ensure it's alive. If there are any
107- build errors, "devserver.wait_for_build " would provide them back and you can give them to the user or rely on them to propose a fix.
108- * **Get Updated Build Logs:** Important: as long as a devserver is alive (i.e. "devserver.stop " wasn't called), after every time you
109- make a change to the workspace, re-run "devserver.wait_for_build " to see whether the change was successfully built and wait for the
106+ * **Get Initial Build Logs:** Once a dev server has started, use the "devserver_wait_for_build " tool to ensure it's alive. If there are any
107+ build errors, "devserver_wait_for_build " would provide them back and you can give them to the user or rely on them to propose a fix.
108+ * **Get Updated Build Logs:** Important: as long as a devserver is alive (i.e. "devserver_stop " wasn't called), after every time you
109+ make a change to the workspace, re-run "devserver_wait_for_build " to see whether the change was successfully built and wait for the
110110 devserver to be updated.
111111</Use Cases>
112112<Operational Notes>
113113* This tool manages development servers by itself. It maintains at most a single dev server instance for each project in the monorepo.
114114* This is an asynchronous operation. Subsequent commands can be ran while the server is active.
115- * Use 'devserver.stop ' to gracefully shut down the server and access the full log output.
115+ * Use 'devserver_stop ' to gracefully shut down the server and access the full log output.
116116* **Keeping the Server Alive**: It is often better to keep the server alive between tool calls if you expect the user to request more
117117 changes or run more tests, as it saves time on restarts and maintains the file watcher state. You must still call
118- 'devserver.wait_for_build ' after every change to see whether the change was successfully built and be sure that that app was updated.
118+ 'devserver_wait_for_build ' after every change to see whether the change was successfully built and be sure that the app was updated.
119119* **Consistent Ports**: If making multiple calls, it is recommended to reuse the port you got from the first call for subsequent ones.
120120</Operational Notes>
121121` ,
0 commit comments