Skip to content

v1.0.3 — Cloudflare Cookie-Bounce Fix

Choose a tag to compare

@devag7 devag7 released this 13 Jun 06:39
· 45 commits to main since this release

🔴 Critical: All Data Tools Now Work Against Live LinkedIn

v1.0.2 and earlier: every data tool (get_my_profile, search_people, etc.) returned {"error":"fetch failed"} after 29s when used against real LinkedIn.

Root cause: Cloudflare bot-management returns HTTP 302 with Set-Cookie: __cf_bm. Node fetch() auto-followed without storing the cookie → infinite redirect loop.

Fix: redirect: 'manual' + persistent cookie jar. Every response's Set-Cookie is captured and merged into subsequent requests.

Also Fixed

  • CSRF token now required — previously fabricated ajax:<timestamp> was rejected by LinkedIn. Now throws clear error: "Copy the JSESSIONID cookie value from your browser."
  • validateCookie() also handles Cloudflare bounces
  • 53 tests (4 new), all passing

Install

npx -y linkedin-mcp-tools@1.0.3

Full Changelog: v1.0.2...v1.0.3