Skip to content

fix(fetch): fallback when Readability strips too much content#4002

Open
Jim1874 wants to merge 1 commit intomodelcontextprotocol:mainfrom
Jim1874:fix/issue-3878-ssr-content-stripping
Open

fix(fetch): fallback when Readability strips too much content#4002
Jim1874 wants to merge 1 commit intomodelcontextprotocol:mainfrom
Jim1874:fix/issue-3878-ssr-content-stripping

Conversation

@Jim1874
Copy link
Copy Markdown

@Jim1874 Jim1874 commented Apr 22, 2026

Summary

Readability was stripping 70KB+ of content from chunked streaming SSR responses.

Fix: When Readability returns <5% of original HTML, retry with raw markdownify
as fallback conversion.

Closes #3878

When Readability returns <5% of original HTML, retry with raw markdownify
as fallback to preserve chunked streaming SSR response content.

Closes modelcontextprotocol#3878
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mcp-server-fetch drops SSR content from streaming/progressive rendering sites

1 participant