René's URL Explorer Experiment


Title: Enhance resource template to support values with slashes (Fix #159) by g-votte · Pull Request #197 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Enhance resource template to support values with slashes (Fix #159) by g-votte · Pull Request #197 · modelcontextprotocol/python-sdk

X Title: Enhance resource template to support values with slashes (Fix #159) by g-votte · Pull Request #197 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Enhance resource template to support values with slashes (Fix #159) by g-votte · Pull Request #197 · modelcontextprotocol/python-sdk

Open Graph Description: This PR enhances resource templates so that they can handle values containing slashes. Motivation and Context Motivation This PR fixes the bug reported in #159 where the following example raises a...

X Description: This PR enhances resource templates so that they can handle values containing slashes. Motivation and Context Motivation This PR fixes the bug reported in #159 where the following example raises a...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0988d7e2-e1f6-bb22-0504-818e42452d69
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD23E:1451C3:6404CC:88FFD7:6A585185
html-safe-nonce43893da62cbeea93fffb1bc6c5b6c99ffd48247b4cbf78160ff4396e8e8a9ca9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjNFOjE0NTFDMzo2NDA0Q0M6ODhGRkQ3OjZBNTg1MTg1IiwidmlzaXRvcl9pZCI6IjYxMjI5MzM3NTE1MTU3MzAzMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0b9d21e5519df6924c3d3215363cd633f886a67728ec029701e645b62a4a86a9
hovercard-subject-tagpull_request:2324326108
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/197/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8b7b5fd534b47ddca0dd17d1a312d45b75228d3f9b829adf3de08dbff1311b4e/modelcontextprotocol/python-sdk/pull/197
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8b7b5fd534b47ddca0dd17d1a312d45b75228d3f9b829adf3de08dbff1311b4e/modelcontextprotocol/python-sdk/pull/197
og:image:altThis PR enhances resource templates so that they can handle values containing slashes. Motivation and Context Motivation This PR fixes the bug reported in #159 where the following example raises a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameg-votte
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/197#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F197
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F197
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/197
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/197
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/197
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/197
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 252 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 292 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
g-vottehttps://github.com/g-votte
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
g-votte:resource-template-support-slasheshttps://github.com/g-votte/python-sdk/tree/resource-template-support-slashes
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/197
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/197/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/197/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/197/files
Enhance resource template to support values with slashes (Fix #159)https://github.com/modelcontextprotocol/python-sdk/pull/197#top
g-vottehttps://github.com/g-votte
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
g-votte:resource-template-support-slasheshttps://github.com/g-votte/python-sdk/tree/resource-template-support-slashes
https://github.com/g-votte
g-vottehttps://github.com/g-votte
Feb 9, 2025https://github.com/modelcontextprotocol/python-sdk/pull/197#issue-2840446223
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/197
#159https://github.com/modelcontextprotocol/python-sdk/issues/159
https://private-user-images.githubusercontent.com/1061922/411287042-eec2dcd5-22fc-4b0f-8c5c-4be4afc433d9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQxNzMyMzMsIm5iZiI6MTc4NDE3MjkzMywicGF0aCI6Ii8xMDYxOTIyLzQxMTI4NzA0Mi1lZWMyZGNkNS0yMmZjLTRiMGYtOGM1Yy00YmU0YWZjNDMzZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTZUMDMzNTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Mjg1MmE1NGNlMjFiYWE2YzYxZmZjNDFmNTEwY2JlMWJjMmFjMGRkMjUzNWJlZGNkOTE0ODRhN2ZjN2ExMTZlNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.-wuma5UOV0OV2NFnwLFnvREiAM5-rf9pj9xBm1nyshM
python-sdk/src/mcp/server/fastmcp/resources/templates.pyhttps://github.com/modelcontextprotocol/python-sdk/blob/f10665db4c2f676da1131617ad67715952258712/src/mcp/server/fastmcp/resources/templates.py#L58
f10665dhttps://github.com/modelcontextprotocol/python-sdk/commit/f10665db4c2f676da1131617ad67715952258712
https://private-user-images.githubusercontent.com/1061922/411287119-82751d84-1a6d-4c1e-b3b3-cffe1c5b7d0d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQxNzMyMzMsIm5iZiI6MTc4NDE3MjkzMywicGF0aCI6Ii8xMDYxOTIyLzQxMTI4NzExOS04Mjc1MWQ4NC0xYTZkLTRjMWUtYjNiMy1jZmZlMWM1YjdkMGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTZUMDMzNTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTY5NmQzNzk1ZDNmNTEyN2E4NjA3ZmQ4MDIxNzBiYjcxZTBhMzc2MzU3NjllN2VlMzAxYjQ4YzFiZDgyNjhhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.dtSoYK6-uwgjMhSW88-U8AHhmt9D9UK1YUiWB6V2vmM
MCP Documentationhttps://modelcontextprotocol.io
#159https://github.com/modelcontextprotocol/python-sdk/issues/159
python-sdk/tests/issues/test_141_resource_templates.pyhttps://github.com/modelcontextprotocol/python-sdk/blob/f10665db4c2f676da1131617ad67715952258712/tests/issues/test_141_resource_templates.py#L61-L64
f10665dhttps://github.com/modelcontextprotocol/python-sdk/commit/f10665db4c2f676da1131617ad67715952258712
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/197
https://github.com/g-votte
Enhance resource template to support values with slasheshttps://github.com/modelcontextprotocol/python-sdk/pull/197/commits/232da5a5baf96ad90c85dce75e488871dfc58e07
232da5ahttps://github.com/modelcontextprotocol/python-sdk/pull/197/commits/232da5a5baf96ad90c85dce75e488871dfc58e07
https://github.com/g-votte
g-vottehttps://github.com/g-votte
Feb 9, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/197#ref-issue-2799955044
Resource template parameters do not support values with slashes #159 https://github.com/modelcontextprotocol/python-sdk/issues/159
https://github.com/g-votte
Merge branch 'main' into resource-template-support-slasheshttps://github.com/modelcontextprotocol/python-sdk/pull/197/commits/101de1419b1963aa000b4c18c0ad28184aa48920
101de14https://github.com/modelcontextprotocol/python-sdk/pull/197/commits/101de1419b1963aa000b4c18c0ad28184aa48920
https://github.com/ICeZer0
ICeZer0https://github.com/ICeZer0
Feb 15, 2025https://github.com/modelcontextprotocol/python-sdk/pull/197#issuecomment-2660966822
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/197
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Feb 20, 2025https://github.com/modelcontextprotocol/python-sdk/pull/197#issuecomment-2671210959
#159https://github.com/modelcontextprotocol/python-sdk/issues/159
python-sdk/tests/issues/test_141_resource_templates.pyhttps://github.com/modelcontextprotocol/python-sdk/blob/f10665db4c2f676da1131617ad67715952258712/tests/issues/test_141_resource_templates.py#L61-L64
f10665dhttps://github.com/modelcontextprotocol/python-sdk/commit/f10665db4c2f676da1131617ad67715952258712
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/197
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Feb 20, 2025https://github.com/modelcontextprotocol/python-sdk/pull/197#event-16380656362
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/197#ref-pullrequest-4146154436
feat: RFC 6570 URI templates with operator-aware security #2356 https://github.com/modelcontextprotocol/python-sdk/pull/2356
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F197
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/197
https://github.com/g-votte
https://github.com/ICeZer0
https://github.com/dsp-ant
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.