Files
schwab-mcp-custom/server.py
b3nw 8c196b7f65
All checks were successful
Build and Push Docker Image / build (push) Successful in 38s
fix(server): repair login tool and harden upload_cookies
- login tool was calling api.login() which did not exist in unified_api,
  causing AttributeError on every invocation. Now calls login_to_schwab
  directly with proper credential fallback to config.json.
- upload_cookies hardcoded 'cookies.json' instead of get_cookies_path(),
  and did not handle wrapped export formats ({cookies: [...]}). Both fixed.
- Result envelopes now match the standard {success, data, error, error_type,
  retryable} shape used by other tools.
2026-04-28 04:15:18 +00:00

17 KiB