stop-metro
Stop the Metro bundler process on a specified port to end a React Native session or enable a restart. Confirmation required before execution.
Instructions
Stop the Metro bundler process listening on a given port (default 8081). Use when ending a React Native session or when Metro must be restarted. Returns { stopped, port, pids }; stopped=false if no process is found on the port. Fails if the port lookup command times out or the process cannot be killed. This is DESTRUCTIVE — always ask the user for confirmation before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | TCP port Metro is listening on (default 8081) |