Troubleshooting Guide
Common issues and their solutions for MCP Wallet.
Installation Issues
Build Errors on macOS
Problem: Build fails with "Command not found" or dependency errors
Solutions:
Install Xcode Command Line Tools
bashxcode-select --installUpdate Homebrew and Node
bashbrew update brew upgrade nodeClear cache and reinstall
bashrm -rf node_modules rm -rf src-tauri/target npm install
Build Errors on Windows
Problem: Build fails with "MSVC not found" or similar errors
Solutions:
Install Visual C++ Build Tools
- Download from Microsoft
- Install "Desktop development with C++"
Install WebView2
- Download from Microsoft
Restart computer after installation
Rust Installation Issues
Problem: rustc: command not found
Solutions:
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$HOME/.cargo/bin:$PATH"
# Reload shell
source ~/.bashrc # or source ~/.zshrc
# Verify installation
rustc --version
cargo --versionWallet Issues
Can't Unlock Wallet
Problem: "Incorrect password" or wallet won't unlock
Solutions:
Check password carefully
- Passwords are case-sensitive
- Check Caps Lock is off
- Try typing in notepad first to verify
Database corruption
bash# Backup first! # macOS cp ~/Library/Application\ Support/com.mcp-wallet.app/wallet.db ~/wallet-backup.db # Then try deleting and re-importing with seed phraseRecover with seed phrase
- Delete the app data
- Restart MCP Wallet
- Choose "Import Wallet"
- Enter your 12-word seed phrase
Backup First
Always backup your seed phrase before deleting wallet data!
Seed Phrase Invalid
Problem: "Invalid seed phrase" when importing
Solutions:
Check word spelling
- All words must be from BIP39 word list
- No extra spaces
- Correct order
Check word count
- Must be exactly 12 words
- No extra or missing words
Try different word variations
- Some words have similar spellings
- Check against BIP39 word list
Balance Shows Zero
Problem: Imported wallet but balance is zero
Solutions:
Check correct network
- Go to Settings → Network
- Verify you're on the same network where you have funds
- BSC Mainnet vs Testnet
Wait for sync
- Sometimes takes a few seconds to load balance
- Click refresh button
Check block explorer
- Copy your address
- Check on BSCScan
- Verify funds are actually there
OAuth & AI Integration
Authorization Dialog Not Appearing
Problem: Clicked "Auth" but no dialog shows in MCP Wallet
Solutions:
Check wallet is unlocked
- MCP Wallet must be running and unlocked
- Unlock screen should not be showing
Check API enabled
- Go to Settings → Accounts
- Find your account
- Ensure "Enable API" is ON
Check MCP Server running
- Go to Settings → MCP Server
- Status should show "Running"
- If not, click "Start Server"
Restart MCP Wallet
- Close completely
- Reopen and unlock
- Try authorization again
HTTP 500 Error in Claude Code
Problem: Claude Code shows "HTTP 500: Internal Server Error"
Solutions:
Update MCP Wallet
- Make sure you have the latest version
- OAuth server was fixed in recent updates
Check MCP Server logs
- Go to Settings → Logs
- Look for error messages
- Share logs when reporting issues
Restart services
bash# Close MCP Wallet completely # Restart Claude Code # Reopen MCP Wallet and unlock # Try againVerify OAuth server
- Server should be:
https://mcp-wallet-oauth.dev-taoist.workers.dev - Check it's accessible: try visiting in browser
- Server should be:
401 Unauthorized Error
Problem: "401 Unauthorized" or "Invalid token"
Solutions:
Re-authorize
- Run
/mcpcommand in Claude Code again - Complete authorization flow
- Tokens may have expired
- Run
Check token expiry
- Access tokens expire after 1 hour
- Refresh tokens expire after 30 days
- Need to re-auth if expired
Clear Claude Code cache
bash# macOS/Linux rm -rf ~/.claude/mcp-cache/ # Windows del /s /q %APPDATA%\.claude\mcp-cache\
"Connection Refused" Error
Problem: Can't connect to localhost:8580
Solutions:
Check MCP Server port
- Default is 8580
- Go to Settings → MCP Server
- Verify port number
Check firewall
- Allow MCP Wallet through firewall
- Allow localhost connections
Check port not in use
bash# macOS/Linux lsof -i :8580 # Windows netstat -ano | findstr :8580Try different port
- Go to Settings → MCP Server
- Change to 8581 or 8582
- Update Claude Code config
Transaction Issues
Transaction Rejected
Problem: Transaction rejected with error
Solutions:
Check balance
- Need enough tokens + gas fees
- For BNB transfer: need extra BNB for gas
- For USDT transfer: need BNB for gas
Check network
- Verify correct network selected
- Testnet vs Mainnet
- Recipient address on same network
Check API access (for AI transactions)
- API enabled in Settings → Accounts
- OAuth token still valid
Insufficient Funds Error
Problem: "Insufficient funds for gas"
Solutions:
Get more BNB
- Need BNB to pay gas fees
- Even for USDT transfers
- Typical gas fee: ~0.0005 BNB
Check total cost
Total needed = Amount + Gas Fee Example: Send 10 USDT - USDT: 10 - Gas (in BNB): ~0.0005 - Need: 10 USDT + 0.0005 BNB
Transaction Stuck/Pending
Problem: Transaction shows "pending" for long time
Solutions:
Wait - Network may be congested
- Normal: 5-30 seconds
- Congested: 1-5 minutes
- If >10 minutes, investigate
Check block explorer
- Copy transaction hash
- Check on BSCScan
- See actual status
Check wallet balance
- Transaction may have failed due to insufficient gas
- Check if balance changed
Wrong Network Error
Problem: "Wrong network" or transaction failed
Solutions:
Verify network
- Settings → Network
- Check matches intended network
- Testnet (97) vs Mainnet (56)
Switch network
- Change in Settings
- Restart if needed
Verify recipient address
- Make sure address is valid for network
- Don't send Ethereum addresses BSC tokens
Performance Issues
App Slow to Start
Solutions:
Clear cache
bash# macOS rm -rf ~/Library/Caches/com.mcp-wallet.app/ # Windows del /s /q %APPDATA%\com.mcp-wallet.app\Cache\Check database size
- Large transaction history may slow things
- Consider archiving old data
Restart app
- Complete close (not just minimize)
- Reopen
High Memory Usage
Solutions:
- Restart app
- Close unused tabs/windows
- Update to latest version
Error Messages
"Database locked"
Solutions:
Close other instances
- Only run one instance of MCP Wallet
- Check Task Manager (Windows) or Activity Monitor (macOS)
Delete lock file
bash# Find and delete .lock files in app data directory # macOS find ~/Library/Application\ Support/com.mcp-wallet.app/ -name "*.lock" -delete
"Failed to fetch"
Solutions:
- Check internet connection
- Check RPC endpoint
- Settings → Network → Advanced
- Try different RPC endpoint
- Firewall blocking
- Allow MCP Wallet through firewall
"Nonce too low"
Solutions:
Wait for previous transaction
- Previous transaction still pending
- Wait for confirmation
Restart app
- Refreshes nonce tracking
Logging & Debugging
Enable Debug Logs
- Go to Settings → Advanced
- Enable "Debug Logging"
- Logs saved to:
- macOS:
~/Library/Logs/mcp-wallet/ - Windows:
%APPDATA%\mcp-wallet\logs\ - Linux:
~/.local/share/mcp-wallet/logs/
- macOS:
View Logs
# macOS/Linux
tail -f ~/Library/Logs/mcp-wallet/app.log
# Windows
type %APPDATA%\mcp-wallet\logs\app.logReport Issue with Logs
When reporting issues:
- Enable debug logging
- Reproduce the issue
- Export logs
- Settings → Logs → Export
- Create GitHub issue
- Include log file
- Describe steps to reproduce
- Include screenshots
Recovery Scenarios
Lost Password
You have seed phrase: ✅ Can recover
- Delete wallet data
- Import with seed phrase
- Set new password
No seed phrase: ❌ Cannot recover
- Funds are permanently inaccessible
- This is why seed phrase backup is critical
Lost Seed Phrase
Wallet still unlocked: ✅ Can view seed
- Settings → Security → Show Seed Phrase
- Enter password
- Write down seed phrase NOW
Wallet locked + no seed: ❌ Cannot recover
- If you forget password and lost seed phrase
- Funds are permanently inaccessible
Corrupted Database
Have seed phrase: ✅ Can recover
- Delete database
- Re-import wallet
- Transaction history lost, but funds safe
No seed phrase: Try recovery
bash# Backup corrupted DB first cp wallet.db wallet.db.backup # Try SQLite recovery sqlite3 wallet.db ".recover" | sqlite3 wallet-recovered.db
Still Need Help?
If you couldn't find a solution:
- Check FAQ - /guide/faq
- Telegram - Community discussion and support
- GitHub Issues - Report a bug
When asking for help, include:
- Operating system and version
- MCP Wallet version
- Steps to reproduce
- Error messages
- Screenshots (remove sensitive info!)
- Logs (if applicable)
Never Share
Never share:
- Seed phrase
- Private keys
- Password
- Full wallet address (in public forums)