- Step 1: Install the MCP server or configure via Docker or NPX.
- Step 2: Register the port cleaning tool following the MCP protocol.
- Step 3: Send a request with the specific port number you want to clean.
- Step 4: The server scans for processes occupying that port.
- Step 5: It terminates the identified processes and returns the process IDs.
- Step 6: Confirm the port is now free for use.