Hide sensitive Twilio credentials from startup output

Replace detailed credential display with simple status message
to prevent account SID, phone numbers from being shown in logs.
This commit is contained in:
Vishal Jain 2025-06-18 12:55:00 +01:00
parent b7735057b3
commit ab21920ad2

View File

@ -29,13 +29,9 @@ fi
# Verify Twilio MCP configuration # Verify Twilio MCP configuration
if [ -n "$TWILIO_ACCOUNT_SID" ] && [ -n "$TWILIO_AUTH_TOKEN" ]; then if [ -n "$TWILIO_ACCOUNT_SID" ] && [ -n "$TWILIO_AUTH_TOKEN" ]; then
echo "Twilio MCP server configured with:" echo "✓ Twilio MCP server configured - SMS notifications enabled"
echo " - Account SID: ${TWILIO_ACCOUNT_SID:0:10}..."
echo " - From Number: $TWILIO_FROM_NUMBER"
echo " - To Number: $TWILIO_TO_NUMBER"
echo " - SMS capability ready via: twilio__send_text"
else else
echo "No Twilio credentials found" echo "No Twilio credentials found - SMS notifications disabled"
fi fi
# Start Claude Code with permissions bypass # Start Claude Code with permissions bypass