Title: get_file_contents: Add ability to select line(s) ranges · Issue #350 · github/github-mcp-server · GitHub
Open Graph Title: get_file_contents: Add ability to select line(s) ranges · Issue #350 · github/github-mcp-server
X Title: get_file_contents: Add ability to select line(s) ranges · Issue #350 · github/github-mcp-server
Description: Describe the feature or problem you’d like to solve get_file_contents - Get contents of a file or directory owner: Repository owner (string, required) repo: Repository name (string, required) path: File path (string, required) ref: Git r...
Open Graph Description: Describe the feature or problem you’d like to solve get_file_contents - Get contents of a file or directory owner: Repository owner (string, required) repo: Repository name (string, required) path:...
X Description: Describe the feature or problem you’d like to solve get_file_contents - Get contents of a file or directory owner: Repository owner (string, required) repo: Repository name (string, required) path:...
Opengraph URL: https://github.com/github/github-mcp-server/issues/350
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"get_file_contents: Add ability to select line(s) ranges","articleBody":"### Describe the feature or problem you’d like to solve\nget_file_contents - Get contents of a file or directory\n\nowner: Repository owner (string, required)\nrepo: Repository name (string, required)\npath: File path (string, required)\nref: Git reference (string, optional)\n**begin: begin line# (number, optional)\nend: end line# (number, optional)**\n\nrequested addition in bold\n### Proposed solution\nSee above\n\n### Additional context\n\nThis may help reduce model context consumed by parsing large files if we only want to request a subset..","author":{"url":"https://github.com/kaovilai","@type":"Person","name":"kaovilai"},"datePublished":"2025-04-25T23:20:11Z","url":"https://github.com/github/github-mcp-server/issues/350"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:948e9cde-9dde-4a0d-c1c2-3b4a69239b9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C234:F7C62:240043:330EBD:6B06BBD9 |
| html-safe-nonce | 4ff73b5fe2284fb78ed50904a4a8597463cbf98e4ef3eaea6e37c31c97b01e39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjM0OkY3QzYyOjI0MDA0MzozMzBFQkQ6NkIwNkJCRDkiLCJ2aXNpdG9yX2lkIjoiMzgyODE5MzcyMjM5OTg5ODU4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1838e959b513fb3df105b4daa31973adaa2094f9f432075fe12c797b5d822c80 |
| hovercard-subject-tag | issue:3021209224 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/350/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6fa6f3f8fc90c5ee4b125a220588069f9ca0b44d87ddefbcbd63310cda4973a6/github/github-mcp-server/issues/350 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6fa6f3f8fc90c5ee4b125a220588069f9ca0b44d87ddefbcbd63310cda4973a6/github/github-mcp-server/issues/350 |
| og:image:alt | Describe the feature or problem you’d like to solve get_file_contents - Get contents of a file or directory owner: Repository owner (string, required) repo: Repository name (string, required) path:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kaovilai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 32031aaff792fa7ad778f7418e1fbfc0d525a5779804329b769aa75230448a18 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 37014d914b7d14eede971655595f687a0202af40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width