Picking a default port based on the server hash

This commit is contained in:
Glen Maddern 2025-05-14 21:21:38 +10:00 committed by Glen Maddern
parent 6f2399bbfb
commit b1dfa9fe5b
3 changed files with 21 additions and 14 deletions

View file

@ -135,7 +135,7 @@ to the CA certificate file. If using claude_desktop_config.json, this might look
}
// Parse command-line arguments and run the proxy
parseCommandLineArgs(process.argv.slice(2), 3334, 'Usage: npx tsx proxy.ts <https://server-url> [callback-port]')
parseCommandLineArgs(process.argv.slice(2), 'Usage: npx tsx proxy.ts <https://server-url> [callback-port]')
.then(({ serverUrl, callbackPort, headers, transportStrategy }) => {
return runProxy(serverUrl, callbackPort, headers, transportStrategy)
})