docs: fix GitHub links to point to v1.x branch (#2102)

This commit is contained in:
Felix Weinberger 2026-02-23 15:26:21 +00:00 • committed by GitHub
commit cfbbd7d71a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ def get_github_url(file_path: str) -> str:
Returns:
GitHub URL
"""
base_url = "https://github.com/modelcontextprotocol/python-sdk/blob/main"
base_url = "https://github.com/modelcontextprotocol/python-sdk/blob/v1.x"
return f"{base_url}/{file_path}"