René's URL Explorer Experiment


Title: fix: add MCP initialize handshake to mcpcurl by ra-n-dom · Pull Request #2009 · github/github-mcp-server · GitHub

Open Graph Title: fix: add MCP initialize handshake to mcpcurl by ra-n-dom · Pull Request #2009 · github/github-mcp-server

X Title: fix: add MCP initialize handshake to mcpcurl by ra-n-dom · Pull Request #2009 · github/github-mcp-server

Description: mcpcurl was sending tools/list and tools/call requests without first performing the MCP initialize handshake, causing the server to silently reject all requests and discover zero tools. Before: $ mcpcurl --stdio-server-cmd "github-mcp-server stdio" tools --help (no tools listed) After: $ mcpcurl --stdio-server-cmd "github-mcp-server stdio" tools --help Available Commands: add_comment_to_pending_review ... add_issue_comment ... create_branch ... Summary Added MCP initialize handshake (initialize → read response → notifications/initialized) before sending actual requests Switched from buffered stdout to line-by-line scanning via bufio.Scanner for proper JSON-RPC message handling Added readJSONRPCResponse to skip server-initiated notifications interleaved with responses Ignore server exit code after stdin close (expected EOF) Added 7 unit tests in cmd/mcpcurl/main_test.go Why mcpcurl has never worked — it silently discovers zero tools because the MCP protocol requires an initialization handshake before any requests. The server rejects pre-handshake requests but mcpcurl swallowed the error. What changed cmd/mcpcurl/main.go: Rewrote executeServerCommand() to perform MCP handshake; added buildInitializeRequest(), buildInitializedNotification(), readJSONRPCResponse() cmd/mcpcurl/main_test.go: New file with 7 unit tests MCP impact No tool or API changes Security / limits No security or limits impact Tool renaming I am not renaming tools as part of this PR Lint & tests go test -v ./cmd/mcpcurl/ — 7/7 passing go vet ./cmd/mcpcurl/ — clean

Open Graph Description: mcpcurl was sending tools/list and tools/call requests without first performing the MCP initialize handshake, causing the server to silently reject all requests and discover zero tools. Before: $ m...

X Description: mcpcurl was sending tools/list and tools/call requests without first performing the MCP initialize handshake, causing the server to silently reject all requests and discover zero tools. Before: $ m...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9f60a5c6-b6f8-69b0-dc09-195b809c4cf0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4A0:FB091:DCF250:13C4A60:6A634F68
html-safe-noncec7fab8fdd8026948a34385ccbf79369f828d6e79b54004314c6f5f03e4d0b299
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEEwOkZCMDkxOkRDRjI1MDoxM0M0QTYwOjZBNjM0RjY4IiwidmlzaXRvcl9pZCI6IjM4NDg1NDEzMjc1MjI0ODQwNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac863145cfd7378d9f4b123d0315f8f089a8f8e9db2cf8977541eb438edaf705cb
hovercard-subject-tagpull_request:3279222170
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/github/github-mcp-server/pull/2009/files
twitter:imagehttps://avatars.githubusercontent.com/u/94629641?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/94629641?s=400&v=4
og:image:altmcpcurl was sending tools/list and tools/call requests without first performing the MCP initialize handshake, causing the server to silently reject all requests and discover zero tools. Before: $ m...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/2009/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F2009%2Ffiles
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%2Fpull%2F2009%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/pull/2009/files
Reloadhttps://github.com/github/github-mcp-server/pull/2009/files
Reloadhttps://github.com/github/github-mcp-server/pull/2009/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
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.7k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Code https://github.com/github/github-mcp-server
Issues 172 https://github.com/github/github-mcp-server/issues
Pull requests 162 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
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
SamMorrowDrumshttps://github.com/SamMorrowDrums
github:mainhttps://github.com/github/github-mcp-server/tree/main
ra-n-dom:fix/mcpcurl-initializationhttps://github.com/ra-n-dom/github-mcp-server/tree/fix/mcpcurl-initialization
Conversation 17 https://github.com/github/github-mcp-server/pull/2009
Findings https://github.com/github/github-mcp-server/pull/2009/findings
Commits 3 https://github.com/github/github-mcp-server/pull/2009/commits
Checks 13 https://github.com/github/github-mcp-server/pull/2009/checks
Files changed https://github.com/github/github-mcp-server/pull/2009/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
fix: add MCP initialize handshake to mcpcurl https://github.com/github/github-mcp-server/pull/2009/files#top
Show all changes 3 commits https://github.com/github/github-mcp-server/pull/2009/files
ae5bc07 fix: add MCP initialize handshake to mcpcurl ra-n-dom Feb 13, 2026 https://github.com/github/github-mcp-server/pull/2009/commits/ae5bc077e7e052d2e9eee096a2ca0cc7accd251f
9d5a700 fix: surface JSON-RPC error responses in mcpcurl ra-n-dom Feb 14, 2026 https://github.com/github/github-mcp-server/pull/2009/commits/9d5a7002f12d8af9d36bcb07fa5e21c06bc1097e
26573e9 review: switch cleanup to defer 7cea4701430283a4267f819a278be05d_pingqa May 31, 2026 https://github.com/github/github-mcp-server/pull/2009/commits/26573e9b92ff63be63c972a96d0a938c24c74e2c
Clear filters https://github.com/github/github-mcp-server/pull/2009/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
main.go https://github.com/github/github-mcp-server/pull/2009/files#diff-fed23412546d6c7013571d4047edd78175ad4bb0a8b16534524b0e3eff5d2c18
main_test.go https://github.com/github/github-mcp-server/pull/2009/files#diff-9a9b86e8935eb38f386faf4b4a914f0f5a7a1d9cd6ed5f6bdf9102a363b550f1
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
cmd/mcpcurl/main.gohttps://github.com/github/github-mcp-server/pull/2009/files#diff-fed23412546d6c7013571d4047edd78175ad4bb0a8b16534524b0e3eff5d2c18
View file https://github.com/ra-n-dom/github-mcp-server/blob/26573e9b92ff63be63c972a96d0a938c24c74e2c/cmd/mcpcurl/main.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/2009/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/2009/files#diff-fed23412546d6c7013571d4047edd78175ad4bb0a8b16534524b0e3eff5d2c18
https://github.com/github/github-mcp-server/pull/2009/files#diff-fed23412546d6c7013571d4047edd78175ad4bb0a8b16534524b0e3eff5d2c18
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 13, 2026https://github.com/github/github-mcp-server/pull/2009/files#r2802185604
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
ra-n-domhttps://github.com/ra-n-dom
Feb 13, 2026https://github.com/github/github-mcp-server/pull/2009/files#r2804612743
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
https://github.com/github/github-mcp-server/pull/2009/files#diff-fed23412546d6c7013571d4047edd78175ad4bb0a8b16534524b0e3eff5d2c18
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 13, 2026https://github.com/github/github-mcp-server/pull/2009/files#r2802185593
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
ra-n-domhttps://github.com/ra-n-dom
Feb 13, 2026https://github.com/github/github-mcp-server/pull/2009/files#r2804612500
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 13, 2026https://github.com/github/github-mcp-server/pull/2009/files#r2804636126
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/github/github-mcp-server/pull/2009/files#diff-fed23412546d6c7013571d4047edd78175ad4bb0a8b16534524b0e3eff5d2c18
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
cmd/mcpcurl/main_test.gohttps://github.com/github/github-mcp-server/pull/2009/files#diff-9a9b86e8935eb38f386faf4b4a914f0f5a7a1d9cd6ed5f6bdf9102a363b550f1
View file https://github.com/ra-n-dom/github-mcp-server/blob/26573e9b92ff63be63c972a96d0a938c24c74e2c/cmd/mcpcurl/main_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/2009/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2009/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.