Skip to content

docs(fetch): Add Windows PYTHONIOENCODING configuration #2565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

olaservo
Copy link
Member

Add troubleshooting section for Windows users experiencing timeout issues.

Setting PYTHONIOENCODING=utf-8 fixes character encoding problems that can cause the server to timeout on Windows systems.

Fixes #65

Generated with Claude Code

Add troubleshooting section for Windows users experiencing timeout issues.
Setting PYTHONIOENCODING=utf-8 fixes character encoding problems that
can cause the server to timeout on Windows systems.

Fixes #65

Co-authored-by: Ola Hungerford <olaservo@users.noreply.github.com>
@olaservo olaservo requested a review from domdomegg August 17, 2025 16:50
@olaservo olaservo added documentation Improvements or additions to documentation server-fetch Reference implementation for the Fetch MCP server - src/fetch labels Aug 17, 2025
Copy link
Member

@domdomegg domdomegg left a comment

Choose a reason for hiding this comment

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

Seems fine! Happy to merge as-is.

Optional suggestion/question: Would it be reasonable to just always configure PYTHONIOENCODING to be utf-8 regardless of operating system, just to reduce the number of setup paths? (Alternatively is there maybe some way to do this in the code rather than as an environment variable - I'm not super familiar with Python's Windows quirks so this may well not be possible!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation server-fetch Reference implementation for the Fetch MCP server - src/fetch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PYTHONIOENCODING needs to be set for fetch server on Windows
2 participants