René's URL Explorer Experiment


Title: Add an MQTT 5 transport example by Kludex · Pull Request #3520 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add an MQTT 5 transport example by Kludex · Pull Request #3520 · modelcontextprotocol/python-sdk

X Title: Add an MQTT 5 transport example by Kludex · Pull Request #3520 · modelcontextprotocol/python-sdk

Description: Review scope Stacked on #3519 for the shared example package and CI setup. This diff contains only the MQTT 5 adapter, Mosquitto configuration, broker examples, configuration tests, and MQTT documentation; there are no gRPC implementation changes. The existing review follow-ups are preserved, including Last Will setup and client-ID isolation. Negative publish acknowledgments, queue-overflow behavior, broker recording/coverage, and production authorization remain open merge gates. Validation Six MQTT configuration tests and pre-commit pass after the split; the dedicated CI job also runs the live broker programs. AI Disclaimer This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

Open Graph Description: Review scope Stacked on #3519 for the shared example package and CI setup. This diff contains only the MQTT 5 adapter, Mosquitto configuration, broker examples, configuration tests, and MQTT docume...

X Description: Review scope Stacked on #3519 for the shared example package and CI setup. This diff contains only the MQTT 5 adapter, Mosquitto configuration, broker examples, configuration tests, and MQTT docume...

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

X: @github

direct link

Domain: github.com

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:c1baf7bf-a2fc-ee9b-9704-62f9be48c63c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC120:20AA01:17FCFF2:1E875B4:6B012AA0
html-safe-nonce32b92b7cb4796015648ae82633cff22a49f5fb70f4e59dc0bc46ef4aff7ae879
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTIwOjIwQUEwMToxN0ZDRkYyOjFFODc1QjQ6NkIwMTJBQTAiLCJ2aXNpdG9yX2lkIjoiMzYzMzU3NDIwNzE2MzU0MjE3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac39d6d41e0e59e6da53aac08aad348a4d693dd8313248d98ae9602fdee930edcc
hovercard-subject-tagpull_request:4559104309
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/3520/files
twitter:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
og:image:altReview scope Stacked on #3519 for the shared example package and CI setup. This diff contains only the MQTT 5 adapter, Mosquitto configuration, broker examples, configuration tests, and MQTT docume...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3520%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%2F3520%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/3520/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues313 (313)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
Kludexhttps://github.com/Kludex
transport-grpchttps://github.com/modelcontextprotocol/python-sdk/tree/transport-grpc
transport-mqtthttps://github.com/modelcontextprotocol/python-sdk/tree/transport-mqtt
Conversation 16 https://github.com/modelcontextprotocol/python-sdk/pull/3520
Commits 1 https://github.com/modelcontextprotocol/python-sdk/pull/3520/commits
Checks 36 https://github.com/modelcontextprotocol/python-sdk/pull/3520/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Add an MQTT 5 transport example https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#top
Show all changes 1 commit https://github.com/modelcontextprotocol/python-sdk/pull/3520/files
e4eca70 Add an MQTT 5 transport example Kludex Sep 17, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3520/commits/e4eca70c46418defbac4935fa20fc8203223684f
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
shared.yml https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee
README.md https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-441fc0781551b663a2a229147f418c99294e337afe554501ffeaf6e3c5fea995
mosquitto.acl https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-85a6e1ef8bb3430533bedda121b9896ad34da5338e0c51f687407c194f63ff54
mosquitto.conf https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-5dd32cd282567702f7834e07095315b24e8618ce4beb080cffb03bd1dca3713b
compose.yaml https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-0034882026739b9f6b488f2067e3b3cc8a1be11dbe34faac5509af579cc85c67
demo_common.py https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-7bf5226f1cbc0128f5fd3d36ec045a49dd5d16cc5b26970bc2de6a9bd9f583c5
demo_mqtt.py https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-f252ada5d7fc65af583f6f564d9282dd62bfb92791bd4007c0867eaaaf5aa6b9
demo_mqtt_disconnect.py https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-78d3fb18993587120c140ce48de74bf3126c045a1a2d3b41d5972c9ea68ac90d
mqtt.py https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-1796d633908691c0522442f06c237c9bd4428f307792c2c19555248d62b0a488
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-ddcf3040ab42b260983a15fe513375ad76bfbd99b3207c975e25dc66f9a219cd
test_mqtt.py https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-0dc3852ac2b2ed93acff59235bc808055020a51455b10da5b0c38f9302a02893
uv.lock https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
.github/workflows/shared.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/.github/workflows/shared.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee
https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-9852c0f7d79fa9d5200f11511ffdbadc321f7115fe1c5e8d2f2e63863d2441ee
examples/transports/README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-441fc0781551b663a2a229147f418c99294e337afe554501ffeaf6e3c5fea995
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-441fc0781551b663a2a229147f418c99294e337afe554501ffeaf6e3c5fea995
examples/transports/brokers/mosquitto.aclhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-85a6e1ef8bb3430533bedda121b9896ad34da5338e0c51f687407c194f63ff54
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/brokers/mosquitto.acl
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
examples/transports/brokers/mosquitto.confhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-5dd32cd282567702f7834e07095315b24e8618ce4beb080cffb03bd1dca3713b
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/brokers/mosquitto.conf
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
examples/transports/compose.yamlhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-0034882026739b9f6b488f2067e3b3cc8a1be11dbe34faac5509af579cc85c67
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/compose.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
examples/transports/demo_common.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-7bf5226f1cbc0128f5fd3d36ec045a49dd5d16cc5b26970bc2de6a9bd9f583c5
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/demo_common.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
examples/transports/demo_mqtt.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-f252ada5d7fc65af583f6f564d9282dd62bfb92791bd4007c0867eaaaf5aa6b9
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/demo_mqtt.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Sep 17, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#r4037569289
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
claudehttps://github.com/apps/claude
Sep 17, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#r4037717469
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
examples/transports/demo_mqtt_disconnect.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files#diff-78d3fb18993587120c140ce48de74bf3126c045a1a2d3b41d5972c9ea68ac90d
View file https://github.com/modelcontextprotocol/python-sdk/blob/e4eca70c46418defbac4935fa20fc8203223684f/examples/transports/demo_mqtt_disconnect.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3520/{{ revealButtonHref }}
claudehttps://github.com/apps/claude
Sep 17, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3520/files#r4037717413
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3520/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

Viewport: width=device-width


URLs of crawlers that visited me.