# Claude Code：先設定環境變數 SMARTINVEST_KEY，再執行對應系統的一行指令

# macOS／Linux
claude mcp add --transport http smartinvest https://smartinvest-api.smartinvest-lab.workers.dev/mcp --header "Authorization: Bearer $SMARTINVEST_KEY"

# Windows PowerShell
claude mcp add --transport http smartinvest https://smartinvest-api.smartinvest-lab.workers.dev/mcp --header "Authorization: Bearer $env:SMARTINVEST_KEY"

# 確認：在 Claude Code 輸入 /mcp ；移除：claude mcp remove smartinvest
