René's URL Explorer Experiment


Title: feat: add line range support to get_file_contents tool by aryasoni98 · Pull Request #351 · github/github-mcp-server · GitHub

Open Graph Title: feat: add line range support to get_file_contents tool by aryasoni98 · Pull Request #351 · github/github-mcp-server

X Title: feat: add line range support to get_file_contents tool by aryasoni98 · Pull Request #351 · github/github-mcp-server

Description: GitHub's official MCP Server. Contribute to github/github-mcp-server development by creating an account on GitHub.

Open Graph Description: Closes: #350

X Description: Closes: #350

Opengraph URL: https://github.com/github/github-mcp-server/pull/351

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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/_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:1432ac33-786d-d4a0-c2d7-4fd51f7bc416
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB22:97034:124F906:192B75E:6B06B9CC
html-safe-nonce6c50505bff1cbf2f6fd39a5a5a31fa96c23c0315beb7a7e91ed804fd84091059
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjIyOjk3MDM0OjEyNEY5MDY6MTkyQjc1RTo2QjA2QjlDQyIsInZpc2l0b3JfaWQiOiIzMTIwMzIyMzQyNTI2ODI2OTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac83163f8692bcaa65b6601ef21b0b86cf2cdd43b1b3842f7e835166108abf3c24
hovercard-subject-tagpull_request:2483351806
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/github/github-mcp-server/351/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b42575728b98ba37d9bff67e17802189ad440f7ae7a486d27ee559499252db5a/github/github-mcp-server/pull/351
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b42575728b98ba37d9bff67e17802189ad440f7ae7a486d27ee559499252db5a/github/github-mcp-server/pull/351
og:image:altCloses: #350
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearyasoni98
hostnamegithub.com
expected-hostnamegithub.com
None32031aaff792fa7ad778f7418e1fbfc0d525a5779804329b769aa75230448a18
turbo-cache-controlno-cache
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
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
release37014d914b7d14eede971655595f687a0202af40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/351#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F351
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%2Fgithub%2Fgithub-mcp-server%2Fpull%2F351
Sign uphttps://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=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/pull/351
Reloadhttps://github.com/github/github-mcp-server/pull/351
Reloadhttps://github.com/github/github-mcp-server/pull/351
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues239 (239)https://github.com/github/github-mcp-server/issues
Pull requests228 (228)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
https://github.com/github/github-mcp-server
aryasoni98https://github.com/aryasoni98
github:mainhttps://github.com/github/github-mcp-server/tree/main
aryasoni98:issue-350https://github.com/aryasoni98/github-mcp-server/tree/issue-350
Conversationhttps://github.com/github/github-mcp-server/pull/351
Commits11 (11)https://github.com/github/github-mcp-server/pull/351/commits
Checkshttps://github.com/github/github-mcp-server/pull/351/checks
Findingshttps://github.com/github/github-mcp-server/pull/351/findings
Files changedhttps://github.com/github/github-mcp-server/pull/351/files
feat: add line range support to get_file_contents toolhttps://github.com/github/github-mcp-server/pull/351#top
aryasoni98https://github.com/aryasoni98
github:mainhttps://github.com/github/github-mcp-server/tree/main
aryasoni98:issue-350https://github.com/aryasoni98/github-mcp-server/tree/issue-350
https://github.com/aryasoni98
aryasoni98https://github.com/aryasoni98
Apr 26, 2025https://github.com/github/github-mcp-server/pull/351#issue-3022063812
#350https://github.com/github/github-mcp-server/issues/350
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
aryasoni98https://github.com/aryasoni98
April 11, 2025 23:02https://github.com/github/github-mcp-server/pull/351#commits-pushed-275d315
https://github.com/aryasoni98
docs: add required GitHub token permissions per action (https://github.com/github/github-mcp-server/pull/351/commits/275d31525a3bf410b21374f8c5ab3e172bf2d485
github#128https://github.com/github/github-mcp-server/issues/128
)https://github.com/github/github-mcp-server/pull/351/commits/275d31525a3bf410b21374f8c5ab3e172bf2d485
275d315https://github.com/github/github-mcp-server/pull/351/commits/275d31525a3bf410b21374f8c5ab3e172bf2d485
https://github.com/aryasoni98
Merge branch 'github:main' into mainhttps://github.com/github/github-mcp-server/pull/351/commits/f966e30a2a16aea134ca2d054e82fa41dec9981d
f966e30https://github.com/github/github-mcp-server/pull/351/commits/f966e30a2a16aea134ca2d054e82fa41dec9981d
https://github.com/aryasoni98
Merge branch 'github:main' into mainhttps://github.com/github/github-mcp-server/pull/351/commits/ba78e029795191c69a47ffb86326fad9d5d90958
ba78e02https://github.com/github/github-mcp-server/pull/351/commits/ba78e029795191c69a47ffb86326fad9d5d90958
https://github.com/aryasoni98
Merge branch 'github:main' into mainhttps://github.com/github/github-mcp-server/pull/351/commits/57c8c75944e7a7aec27d305fd40d811402b03bbd
57c8c75https://github.com/github/github-mcp-server/pull/351/commits/57c8c75944e7a7aec27d305fd40d811402b03bbd
https://github.com/aryasoni98
feat: add line range support to get_file_contents toolhttps://github.com/github/github-mcp-server/pull/351/commits/2e797d8801960781d87588db4b124b0fe55b6d93
2e797d8https://github.com/github/github-mcp-server/pull/351/commits/2e797d8801960781d87588db4b124b0fe55b6d93
https://github.com/aryasoni98
aryasoni98https://github.com/aryasoni98
code ownerhttps://github.com/github/github-mcp-server/blob/4e26dce238cc4c3e8489c84a8e84a7f9dd9b4ca0/.github/CODEOWNERS#L1
April 26, 2025 16:02https://github.com/github/github-mcp-server/pull/351#event-17417287984
https://github.com/aryasoni98
Merge branch 'main' into issue-350https://github.com/github/github-mcp-server/pull/351/commits/0c0ce8f196f58b85a372715774d676e8c464c1c7
0c0ce8fhttps://github.com/github/github-mcp-server/pull/351/commits/0c0ce8f196f58b85a372715774d676e8c464c1c7
https://github.com/williammartin
williammartinhttps://github.com/williammartin
Apr 28, 2025 https://github.com/github/github-mcp-server/pull/351#pullrequestreview-2798640986
View reviewed changes https://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7
williammartinhttps://github.com/williammartin
https://github.com/github/github-mcp-server/pull/351#pullrequestreview-2798640986
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
README.mdhttps://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
README.mdhttps://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
pkg/github/repositories.gohttps://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7#diff-396c76ab9d216fd1d9043c561bf2bfe57ade719aa0c0cedb47e85b3277714b92
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
pkg/github/repositories.gohttps://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7#diff-396c76ab9d216fd1d9043c561bf2bfe57ade719aa0c0cedb47e85b3277714b92
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
pkg/github/repositories.gohttps://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7#diff-396c76ab9d216fd1d9043c561bf2bfe57ade719aa0c0cedb47e85b3277714b92
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
pkg/github/repositories.gohttps://github.com/github/github-mcp-server/pull/351/files/0c0ce8f196f58b85a372715774d676e8c464c1c7#diff-396c76ab9d216fd1d9043c561bf2bfe57ade719aa0c0cedb47e85b3277714b92
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
aryasoni98https://github.com/aryasoni98
May 12, 2025 15:19https://github.com/github/github-mcp-server/pull/351#commits-pushed-3a6c4ec
https://github.com/aryasoni98
Merge branch 'main' into issue-350https://github.com/github/github-mcp-server/pull/351/commits/3a6c4ecfe4dc2c74587c8d66a7eb8101013ea6c2
3a6c4echttps://github.com/github/github-mcp-server/pull/351/commits/3a6c4ecfe4dc2c74587c8d66a7eb8101013ea6c2
Fix GetFileContents implementation and tests: handle base64, director…https://github.com/github/github-mcp-server/pull/351/commits/624b3810c7915acf1c3ea4a9695da3dd008244a7
624b381https://github.com/github/github-mcp-server/pull/351/commits/624b3810c7915acf1c3ea4a9695da3dd008244a7
https://github.com/aryasoni98
Merge branch 'main' into issue-350https://github.com/github/github-mcp-server/pull/351/commits/ba9d11b8a3fc4e1ca06d9157146ffb201bf12026
ba9d11bhttps://github.com/github/github-mcp-server/pull/351/commits/ba9d11b8a3fc4e1ca06d9157146ffb201bf12026
https://github.com/aryasoni98
Merge branch 'main' into issue-350https://github.com/github/github-mcp-server/pull/351/commits/b7c44686fad83576347277906f20ae3c0c316785
b7c4468https://github.com/github/github-mcp-server/pull/351/commits/b7c44686fad83576347277906f20ae3c0c316785
https://github.com/aryasoni98
aryasoni98https://github.com/aryasoni98
williammartinhttps://github.com/williammartin
May 16, 2025 17:28https://github.com/github/github-mcp-server/pull/351#event-17692308254
https://github.com/aryasoni98
Merge branch 'main' into issue-350https://github.com/github/github-mcp-server/pull/351/commits/9cd6242cd2d54b3657c8eacf1e04dd9f3db634f7
9cd6242https://github.com/github/github-mcp-server/pull/351/commits/9cd6242cd2d54b3657c8eacf1e04dd9f3db634f7
https://github.com/williammartin
williammartinhttps://github.com/williammartin
May 20, 2025 https://github.com/github/github-mcp-server/pull/351#ref-pullrequest-2990308877
Document add_sub_issue tool functionality #235 https://github.com/github/github-mcp-server/pull/235
https://github.com/williammartin
williammartinhttps://github.com/williammartin
May 20, 2025https://github.com/github/github-mcp-server/pull/351#issuecomment-2892910185
#235 (comment)https://github.com/github/github-mcp-server/pull/235#issuecomment-2892909687
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
https://github.com/williammartin
williammartinhttps://github.com/williammartin
May 20, 2025https://github.com/github/github-mcp-server/pull/351#event-17725795657
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/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%2Fgithub%2Fgithub-mcp-server%2Fpull%2F351
https://github.com/williammartin
williammartin https://github.com/williammartin
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
get_file_contents: Add ability to select line(s) ranges https://github.com/github/github-mcp-server/issues/350
Please reload this pagehttps://github.com/github/github-mcp-server/pull/351
https://github.com/aryasoni98
https://github.com/williammartin
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.