Skip to content

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

Open
Jim1874 wants to merge 1 commit into
modelcontextprotocol: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 into
modelcontextprotocol:mainfrom
Jim1874:fix/issue-3878-ssr-content-stripping

Conversation

@Jim1874

@Jim1874 Jim1874 commented Apr 22, 2026

Copy link
Copy Markdown

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

@LuuOW LuuOW left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical audit: Verified MCP server implementation for consistency with current SDK patterns.

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

2 participants