René's URL Explorer Experiment


Title: `get_file_contents` is not working properly (Path did not point to a file or directory, but resolved git ref) · Issue #864 · github/github-mcp-server · GitHub

Open Graph Title: `get_file_contents` is not working properly (Path did not point to a file or directory, but resolved git ref) · Issue #864 · github/github-mcp-server

X Title: `get_file_contents` is not working properly (Path did not point to a file or directory, but resolved git ref) · Issue #864 · github/github-mcp-server

Description: Describe the bug It's not able to resolve a file. Affected version GitHub MCP Server Version: v0.10.0 Commit: 45e90ae Build Date: 2025-08-01T14:36:17Z Steps to reproduce the behavior Type "Read file X in repo Y" Expected vs actual behavi...

Open Graph Description: Describe the bug It's not able to resolve a file. Affected version GitHub MCP Server Version: v0.10.0 Commit: 45e90ae Build Date: 2025-08-01T14:36:17Z Steps to reproduce the behavior Type "Read fil...

X Description: Describe the bug It's not able to resolve a file. Affected version GitHub MCP Server Version: v0.10.0 Commit: 45e90ae Build Date: 2025-08-01T14:36:17Z Steps to reproduce the behavior Type "...

Opengraph URL: https://github.com/github/github-mcp-server/issues/864

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`get_file_contents` is not working properly (Path did not point to a file or directory, but resolved git ref)","articleBody":"### Describe the bug\n\nIt's not able to resolve a file.\n\n### Affected version\n\nGitHub MCP Server\nVersion: v0.10.0\nCommit: 45e90aedd4445e0e61ead8cb165b45cc8e249f1e\nBuild Date: 2025-08-01T14:36:17Z\n\n### Steps to reproduce the behavior\n\n1. Type \"Read file X in repo Y\"\n\n### Expected vs actual behavior\n\nFile should be correctly retrieved from the Github.\n\n### Logs\n\n```\n⏺ I found the file localenv.config.yaml. Let me read its contents:\n\n⏺ github_twdcgrid - Get file or directory contents (MCP)(owner: \"COST\", repo: \"baymax\", path: \"localenv.config.yaml\")\n  ⎿ Path did not point to a file or directory, but resolved git ref to {\"Ref\":\"refs/heads/main\",\"SHA\":\"b32ec16443d8f6fef6ba16913d33f0abfc3aa02d\"} with possible path matches: [\"\n    localenv.config.yaml\"]\n\n  ⎿  Interrupted by user\n\n\u003e supply \"Ref\":\"refs/heads/main\"\n\n✻ Thinking…\n\n  The user wants me to supply the ref parameter with \"refs/heads/main\" when making the request to get the file contents.\n\n⏺ github_twdcgrid - Get file or directory contents (MCP)(owner: \"COST\", repo: \"baymax\", path: \"localenv.config.yaml\", ref: \"refs/heads/main\")\n  ⎿ Path did not point to a file or directory, but resolved git ref to {\"Ref\":\"refs/heads/main\",\"SHA\":\"b32ec16443d8f6fef6ba16913d33f0abfc3aa02d\"} with possible path matches: [\"\n    localenv.config.yaml\"]\n\n  ⎿  Interrupted by user\n\n\u003e supply sha as well\n\n✻ Thinking…\n\n  The user wants me to supply the SHA as well when making the request. Let me use the SHA that was returned in the previous response.\n\n⏺ github_twdcgrid - Get file or directory contents (MCP)(owner: \"COST\", repo: \"baymax\", path: \"localenv.config.yaml\", sha: \"b32ec16443d8f6fef6ba16913d33f0abfc3aa02d\")\n  ⎿ Path did not point to a file or directory, but resolved git ref to {\"Ref\":\"\",\"SHA\":\"b32ec16443d8f6fef6ba16913d33f0abfc3aa02d\"} with possible path matches: [\"localenv.config\n    .yaml\"]\n\n  ⎿  Interrupted by user\n\n\u003e sha and ref\n\n✻ Thinking…\n\n  The user wants me to supply both sha and ref parameters. Let me try that.\n\n⏺ github_twdcgrid - Get file or directory contents (MCP)(owner: \"COST\", repo: \"baymax\", path: \"localenv.config.yaml\", ref: \"refs/heads/main\", sha:\n                                                        \"b32ec16443d8f6fef6ba16913d33f0abfc3aa02d\")\n  ⎿ Path did not point to a file or directory, but resolved git ref to {\"Ref\":\"\",\"SHA\":\"b32ec16443d8f6fef6ba16913d33f0abfc3aa02d\"} with possible path matches: [\"localenv.config\n    .yaml\"]\n\n  ⎿  Interrupted by user\n```\n","author":{"url":"https://github.com/nasxisbest","@type":"Person","name":"nasxisbest"},"datePublished":"2025-08-13T00:09:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/864/github-mcp-server/issues/864"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:235740af-75ed-9fd4-45ad-d2a86701f63f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAC4E:7B7E7:188BE92:2247116:6A60DF77
html-safe-noncee9df78b05b9f6b856fc70107a51855afea50199f13772638e607a68817872563
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzRFOjdCN0U3OjE4OEJFOTI6MjI0NzExNjo2QTYwREY3NyIsInZpc2l0b3JfaWQiOiI3NzY3MDIwOTA0Mjc1NTY2NDU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac24b5c09659f83e1a7887f56ebac7953bbb6834eaaffd991ec06fca9f48d6b350
hovercard-subject-tagissue:3316421096
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/864/issue_layout
twitter:imagehttps://opengraph.githubassets.com/95eb471e440fec9f83df158aea80c84b66d0480293e620789efc756e75e1116c/github/github-mcp-server/issues/864
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/95eb471e440fec9f83df158aea80c84b66d0480293e620789efc756e75e1116c/github/github-mcp-server/issues/864
og:image:altDescribe the bug It's not able to resolve a file. Affected version GitHub MCP Server Version: v0.10.0 Commit: 45e90ae Build Date: 2025-08-01T14:36:17Z Steps to reproduce the behavior Type "Read fil...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenasxisbest
hostnamegithub.com
expected-hostnamegithub.com
None8302bdfafed4cf34ac9c1d3593108fafa53bc3f86b893907e38fa6bdd74361ac
turbo-cache-controlno-preview
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
releasec3c2ff0c76b34772c83c9498a08cefee28f53da0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/864#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F864
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fgithub%2Fgithub-mcp-server%2Fissues%2F864
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/issues/864
Reloadhttps://github.com/github/github-mcp-server/issues/864
Reloadhttps://github.com/github/github-mcp-server/issues/864
Please reload this pagehttps://github.com/github/github-mcp-server/issues/864
github https://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Notifications https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Fork 4.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Star 31.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Code https://github.com/github/github-mcp-server
Issues 169 https://github.com/github/github-mcp-server/issues
Pull requests 169 https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality 2 https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
Code https://github.com/github/github-mcp-server
Issues https://github.com/github/github-mcp-server/issues
Pull requests https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
get_file_contents is not working properly (Path did not point to a file or directory, but resolved git ref)https://github.com/github/github-mcp-server/issues/864#top
https://github.com/tonytrg
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/nasxisbest
nasxisbesthttps://github.com/nasxisbest
on Aug 13, 2025https://github.com/github/github-mcp-server/issues/864#issue-3316421096
45e90aehttps://github.com/github/github-mcp-server/commit/45e90aedd4445e0e61ead8cb165b45cc8e249f1e
tonytrghttps://github.com/tonytrg
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
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.