René's URL Explorer Experiment


Title: Serve v2 docs at the site root, with permanent per-major paths by maxisbey · Pull Request #3176 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Serve v2 docs at the site root, with permanent per-major paths by maxisbey · Pull Request #3176 · modelcontextprotocol/python-sdk

X Title: Serve v2 docs at the site root, with permanent per-major paths by maxisbey · Pull Request #3176 · modelcontextprotocol/python-sdk

Description: The combined docs site currently serves the v1.x docs at the root and main's v2 docs under /v2/. For the v2 stable release this flips the layout: main's build is served at the root and mirrored under /v2/, and the v1.x maintenance docs are built under /v1/. Per-major paths are meant to be permanent, so every existing /v2/... link keeps resolving, and /v1/... will likewise keep resolving after a future major takes the root. Motivation and Context v2 becomes the stable line, so the site root should serve the current docs. Mirroring /v2/ as a byte copy of the same build (rather than deleting or redirecting it) means nothing already published breaks: release notes, package metadata, and external links that point at /v2/... still land on real pages. Changes: scripts/build-docs.sh builds main once into the root and copies the same tree to /v2/, then builds v1.x under /v1/. mkdocs.yml site_url and both packages' Documentation URLs point at the root as the canonical location. The Deploy Docs workflow drops v1.x from its push triggers: main is the sole deployer of the combined site (the v1.x branch's own deploy workflow is removed in #3177), so a v1.x docs change publishes on the next main deploy or a manual workflow_dispatch. Merge order for release day: this PR first, then #3177 (retires v1.x's own deploy and moves its site_url to /v1/), then a manual Deploy Docs dispatch on main so /v1/ rebuilds with its new site_url, then #3178 (the stable README/docs flip) last before the tag. How Has This Been Tested? Ran scripts/build-docs.sh into a scratch directory: the root serves the v2 build and /v2/ is byte-identical to it (diff -rq reports zero differences across 227 files), and a second run into the populated directory rebuilds cleanly. The combined layout is exercised only at deploy time (PR CI builds the v2 site alone), so the first Deploy Docs run after merge is the confirming run for /v1/; watch it to green. Breaking Changes None for SDK users. For docs URLs: v1 pages previously at the root move to /v1/..., so external deep links to the old v1 root paths will 404 (accepted); v2 pages gain a canonical root URL and keep working under /v2/. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed AI disclosure AI assistance was used to implement and validate this change; I reviewed the result and take responsibility for it. AI Disclaimer

Open Graph Description: The combined docs site currently serves the v1.x docs at the root and main's v2 docs under /v2/. For the v2 stable release this flips the layout: main's build is served at the root and mirr...

X Description: The combined docs site currently serves the v1.x docs at the root and main's v2 docs under /v2/. For the v2 stable release this flips the layout: main's build is served at the root ...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3176

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d7df1ed2-3973-7e45-7e5d-41c0f879a4eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA50:3F0A0F:B8AB88:FD3277:6B05BA0E
html-safe-nonce1d89edd6982b06a4814bf5a708225c44a9fa569e9edfb9be2f6bf45430e3c832
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTUwOjNGMEEwRjpCOEFCODg6RkQzMjc3OjZCMDVCQTBFIiwidmlzaXRvcl9pZCI6Ijc4MDUyNTQ2MDc2NDYwNDk0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3d03fe157cbd7ccf948da11677212c626b5d6281626ed8e478e9d146da8e330e
hovercard-subject-tagpull_request:4135874813
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3176/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altThe combined docs site currently serves the v1.x docs at the root and main's v2 docs under /v2/. For the v2 stable release this flips the layout: main's build is served at the root and mirr...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None708c2f10d746dbcf1dd80dc8309daa7d595df3fce8066244380fc3238618f09c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2a29e3cf4fb57e81fd311774f91f345cc4436f40
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3176%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3176%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues320 (320)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
docs-site-layouthttps://github.com/modelcontextprotocol/python-sdk/tree/docs-site-layout
Conversation 6 https://github.com/modelcontextprotocol/python-sdk/pull/3176
Commits 2 https://github.com/modelcontextprotocol/python-sdk/pull/3176/commits
Checks 37 https://github.com/modelcontextprotocol/python-sdk/pull/3176/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/3176/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
Serve v2 docs at the site root, with permanent per-major paths https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#top
Show all changes 2 commits https://github.com/modelcontextprotocol/python-sdk/pull/3176/files
e07e42f Serve v2 docs at the site root, with permanent per-major paths maxisbey Jul 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3176/commits/e07e42f6422e6e859c5b917de0de0674f3dd998e
2b1620b Point the landing-page banner at the v1.x docs' new /v1/ home maxisbey Jul 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3176/commits/2b1620bdb8c30c77267170879dae40ebe55cbbef
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3176/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
deploy-docs.yml https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-87e860af4b9db6c503ed680b6edb6333c6f8d7659f7d1a779a2487466bbc50f6
index.md https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6
mkdocs.yml https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
build-docs.sh https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-5980041ae745e87cd24b9de0fda031024d4937deac5adf467a8aaa2e0f859f9d
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-30ba5443d8720efcabe65a44541c133d24fb66db17674d738709c24915bf14d8
.github/workflows/deploy-docs.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-87e860af4b9db6c503ed680b6edb6333c6f8d7659f7d1a779a2487466bbc50f6
View file https://github.com/modelcontextprotocol/python-sdk/blob/2b1620bdb8c30c77267170879dae40ebe55cbbef/.github/workflows/deploy-docs.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3176/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-87e860af4b9db6c503ed680b6edb6333c6f8d7659f7d1a779a2487466bbc50f6
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-87e860af4b9db6c503ed680b6edb6333c6f8d7659f7d1a779a2487466bbc50f6
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-87e860af4b9db6c503ed680b6edb6333c6f8d7659f7d1a779a2487466bbc50f6
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-87e860af4b9db6c503ed680b6edb6333c6f8d7659f7d1a779a2487466bbc50f6
docs/index.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6
View file https://github.com/modelcontextprotocol/python-sdk/blob/2b1620bdb8c30c77267170879dae40ebe55cbbef/docs/index.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3176/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6
mkdocs.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
View file https://github.com/modelcontextprotocol/python-sdk/blob/2b1620bdb8c30c77267170879dae40ebe55cbbef/mkdocs.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3176/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
claudehttps://github.com/apps/claude
Jul 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#r3652305321
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
v1.x documentationhttps://py.sdk.modelcontextprotocol.io/
v1.x documentationhttps://py.sdk.modelcontextprotocol.io/
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/modelcontextprotocol/python-sdk/blob/2b1620bdb8c30c77267170879dae40ebe55cbbef/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3176/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
scripts/build-docs.shhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-5980041ae745e87cd24b9de0fda031024d4937deac5adf467a8aaa2e0f859f9d
View file https://github.com/modelcontextprotocol/python-sdk/blob/2b1620bdb8c30c77267170879dae40ebe55cbbef/scripts/build-docs.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3176/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-5980041ae745e87cd24b9de0fda031024d4937deac5adf467a8aaa2e0f859f9d
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-5980041ae745e87cd24b9de0fda031024d4937deac5adf467a8aaa2e0f859f9d
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-5980041ae745e87cd24b9de0fda031024d4937deac5adf467a8aaa2e0f859f9d
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-5980041ae745e87cd24b9de0fda031024d4937deac5adf467a8aaa2e0f859f9d
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jul 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#r3652286408
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jul 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#r3652286403
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
src/mcp-types/pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-30ba5443d8720efcabe65a44541c133d24fb66db17674d738709c24915bf14d8
View file https://github.com/modelcontextprotocol/python-sdk/blob/2b1620bdb8c30c77267170879dae40ebe55cbbef/src/mcp-types/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3176/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-30ba5443d8720efcabe65a44541c133d24fb66db17674d738709c24915bf14d8
https://github.com/modelcontextprotocol/python-sdk/pull/3176/files#diff-30ba5443d8720efcabe65a44541c133d24fb66db17674d738709c24915bf14d8
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3176/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.