René's URL Explorer Experiment


Title: bug: `get_me` tool fails without parameters due to empty JSON object `{}` not being accepted as valid input · Issue #2587 · github/github-mcp-server · GitHub

Open Graph Title: bug: `get_me` tool fails without parameters due to empty JSON object `{}` not being accepted as valid input · Issue #2587 · github/github-mcp-server

X Title: bug: `get_me` tool fails without parameters due to empty JSON object `{}` not being accepted as valid input · Issue #2587 · github/github-mcp-server

Description: Description The get_me tool is documented as requiring no parameters, but when called without any arguments it returns an error in certain MCP clients. Passing a dummy parameter (e.g. {"_": ""}) makes the call succeed. This is inconsiste...

Open Graph Description: Description The get_me tool is documented as requiring no parameters, but when called without any arguments it returns an error in certain MCP clients. Passing a dummy parameter (e.g. {"_": ""}) ma...

X Description: Description The get_me tool is documented as requiring no parameters, but when called without any arguments it returns an error in certain MCP clients. Passing a dummy parameter (e.g. {"_"...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: `get_me` tool fails without parameters due to empty JSON object `{}` not being accepted as valid input","articleBody":"## Description\n\nThe `get_me` tool is documented as requiring **no parameters**, but when called\nwithout any arguments it returns an error in certain MCP clients. Passing a\ndummy parameter (e.g. `{\"_\": \"\"}`) makes the call succeed.\n\nThis is inconsistent with the tool's own schema declaration and creates friction\nfor any client that strictly follows the declared schema.\n\n## Steps to Reproduce\n\n1. Start the GitHub MCP Server (local or remote).\n2. Call `get_me` with an empty argument object (as the schema says no parameters\n   are required):\n```json\n   {\n     \"jsonrpc\": \"2.0\",\n     \"id\": 1,\n     \"method\": \"tools/call\",\n     \"params\": {\n       \"name\": \"get_me\",\n       \"arguments\": {}\n     }\n   }\n```\n3. Observe the error response.\n4. Retry with a dummy parameter:\n```json\n   {\n     \"jsonrpc\": \"2.0\",\n     \"id\": 2,\n     \"method\": \"tools/call\",\n     \"params\": {\n       \"name\": \"get_me\",\n       \"arguments\": { \"_\": \"\" }\n     }\n   }\n```\n5. Observe that this call succeeds.\n\n## Expected Behavior\n\n`get_me` should succeed when called with an empty arguments object `{}`, since\nthe tool schema declares **no required arguments**.\n\n## Actual Behavior\n\n`get_me` returns an error when called with `{}`. The call only succeeds if a\ndummy/extra parameter is included.\n\n## Root Cause (Hypothesis)\n\nLooking at `pkg/github/context_tools.go`, `get_me` is registered with\n`mcp.NewTool` with no input schema properties. After the recent migration from\n`mark3labs/mcp-go` to the official `modelcontextprotocol/go-sdk`, the SDK may\nbe rejecting a `null` or missing `arguments` field differently than an explicit\n`{}`.\n\nTwo possible causes:\n\n1. **SDK-level validation**: The Go SDK may require `arguments` to be a\n   non-null JSON object. If the client omits the field entirely (or sends\n   `null`), it gets rejected before the handler is invoked.\n2. **Handler-level parsing**: The tool handler may attempt to parse\n   `request.Params.Arguments` and fail on a nil/empty map before returning\n   early for the no-param case.\n\n## Environment\n\n- GitHub MCP Server version: `main` (latest)\n- MCP SDK: `modelcontextprotocol/go-sdk` (post-migration)\n- Transport: stdio / streamable-http (reproduced on both)\n- Client: Claude Code with Local LLM\n\n## Suggested Fix\n\nEnsure the `get_me` handler (and any other zero-parameter tool) gracefully\nhandles both a missing `arguments` field and an explicit empty object `{}`.\nA guard like the following at the top of the handler should suffice:\n\n```go\n// No parameters expected; nothing to parse.\n// Handle both nil and empty arguments map to stay robust.\n```\n\nAlternatively, if this is an SDK-level issue, the tool registration could\nexplicitly set an empty-object schema (`\"properties\": {}, \"type\": \"object\"`)\nto signal that an empty object is valid input, which some validators require.\n\n## Additional Context\n\n- The README documents `get_me` as: _\"No parameters required\"_\n- Other zero-parameter tools (if any) may be affected by the same issue.\n- A workaround is to pass any dummy key, but this should not be necessary.","author":{"url":"https://github.com/doheonlee","@type":"Person","name":"doheonlee"},"datePublished":"2026-06-01T07:51:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2587/github-mcp-server/issues/2587"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e832557c-21cb-4304-1079-d03ae95868cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD006:121CE8:14F185:1DA757:6A5F0DD8
html-safe-nonceebb5d94e861b018dd8bdeb9d1ef307cadb7d78c586d5138b10d45ac75879267b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA2OjEyMUNFODoxNEYxODU6MURBNzU3OjZBNUYwREQ4IiwidmlzaXRvcl9pZCI6IjUyODk0ODQ4NTk0MTcyMzQ5MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3c352650589800facb7ab85c2b8718027105a14f66c1c1d5d9015e8d38f50170
hovercard-subject-tagissue:4561325127
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/2587/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8e2fa07aed6bcb779e20ff45d0e1b9e1c26cbecb1c101398971d06a736aeec27/github/github-mcp-server/issues/2587
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e2fa07aed6bcb779e20ff45d0e1b9e1c26cbecb1c101398971d06a736aeec27/github/github-mcp-server/issues/2587
og:image:altDescription The get_me tool is documented as requiring no parameters, but when called without any arguments it returns an error in certain MCP clients. Passing a dummy parameter (e.g. {"_": ""}) ma...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedoheonlee
hostnamegithub.com
expected-hostnamegithub.com
Nonebf8fa4b42b6d150def6175efb9b0f1ec8e9628d7229ee2bdf6e850e7bdad923e
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
release7debc3c6cd5de09c6e22b47a1b9982acb2aabb7b
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/2587#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F2587
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%2F2587
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/2587
Reloadhttps://github.com/github/github-mcp-server/issues/2587
Reloadhttps://github.com/github/github-mcp-server/issues/2587
Please reload this pagehttps://github.com/github/github-mcp-server/issues/2587
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 170 https://github.com/github/github-mcp-server/issues
Pull requests 173 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
bug: get_me tool fails without parameters due to empty JSON object {} not being accepted as valid inputhttps://github.com/github/github-mcp-server/issues/2587#top
#2689https://github.com/github/github-mcp-server/pull/2689
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
https://github.com/doheonlee
doheonleehttps://github.com/doheonlee
on Jun 1, 2026https://github.com/github/github-mcp-server/issues/2587#issue-4561325127
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%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.