René's URL Explorer Experiment


Title: Conform list tools by williammartin · Pull Request #90 · github/github-mcp-server · GitHub

Open Graph Title: Conform list tools by williammartin · Pull Request #90 · github/github-mcp-server

X Title: Conform list tools by williammartin · Pull Request #90 · github/github-mcp-server

Description: Description In this PR you will find a conformance test to check this server against Anthropic's list/tools method. This is gated by a conformance build tag because it's really a point in time test that we would expect to remove later. It intentionally ignores any fields named description because there were too many minor differences in text. Here is the test output: --- FAIL: TestListTools (0.60s) conformance_test.go:123: waiting for anthropic server to start... conformance_test.go:123: waiting for github server to start... conformance_test.go:36: sending anthropic: {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}} conformance_test.go:36: received from anthropic: {"result":{"tools":[{"name":"create_or_update_file","description":"Create or update a single file in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"path":{"type":"string","description":"Path where to create/update the file"},"content":{"type":"string","description":"Content of the file"},"message":{"type":"string","description":"Commit message"},"branch":{"type":"string","description":"Branch to create/update the file in"},"sha":{"type":"string","description":"SHA of the file being replaced (required when updating existing files)"}},"required":["owner","repo","path","content","message","branch"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"search_repositories","description":"Search for GitHub repositories","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query (see GitHub search syntax)"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"perPage":{"type":"number","description":"Number of results per page (default: 30, max: 100)"}},"required":["query"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"create_repository","description":"Create a new GitHub repository in your account","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Repository name"},"description":{"type":"string","description":"Repository description"},"private":{"type":"boolean","description":"Whether the repository should be private"},"autoInit":{"type":"boolean","description":"Initialize with README.md"}},"required":["name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_file_contents","description":"Get the contents of a file or directory from a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"path":{"type":"string","description":"Path to the file or directory"},"branch":{"type":"string","description":"Branch to get contents from"}},"required":["owner","repo","path"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"push_files","description":"Push multiple files to a GitHub repository in a single commit","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"branch":{"type":"string","description":"Branch to push to (e.g., 'main' or 'master')"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path where to create the file"},"content":{"type":"string","description":"Content of the file"}},"required":["path","content"],"additionalProperties":false},"description":"Array of files to push"},"message":{"type":"string","description":"Commit message"}},"required":["owner","repo","branch","files","message"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"create_issue","description":"Create a new issue in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"title":{"type":"string","description":"Issue title"},"body":{"type":"string","description":"Issue body/description"},"assignees":{"type":"array","items":{"type":"string"},"description":"Array of usernames to assign"},"labels":{"type":"array","items":{"type":"string"},"description":"Array of label names"},"milestone":{"type":"number","description":"Milestone number to assign"}},"required":["owner","repo","title"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"create_pull_request","description":"Create a new pull request in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"title":{"type":"string","description":"Pull request title"},"body":{"type":"string","description":"Pull request body/description"},"head":{"type":"string","description":"The name of the branch where your changes are implemented"},"base":{"type":"string","description":"The name of the branch you want the changes pulled into"},"draft":{"type":"boolean","description":"Whether to create the pull request as a draft"},"maintainer_can_modify":{"type":"boolean","description":"Whether maintainers can modify the pull request"}},"required":["owner","repo","title","head","base"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"fork_repository","description":"Fork a GitHub repository to your account or specified organization","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"organization":{"type":"string","description":"Optional: organization to fork to (defaults to your personal account)"}},"required":["owner","repo"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"create_branch","description":"Create a new branch in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"branch":{"type":"string","description":"Name for the new branch"},"from_branch":{"type":"string","description":"Optional: source branch to create from (defaults to the repository's default branch)"}},"required":["owner","repo","branch"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_commits","description":"Get list of commits of a branch in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"perPage":{"type":"number","description":"Number of results per page (default: 30, max: 100)"},"sha":{"type":"string","description":"SHA of the file being replaced (required when updating existing files)"}},"required":["owner","repo"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_issues","description":"List issues in a GitHub repository with filtering options","inputSchema":{"type":"object","properties":{"owner":{"type":"string"},"repo":{"type":"string"},"state":{"type":"string","enum":["open","closed","all"]},"labels":{"type":"array","items":{"type":"string"}},"sort":{"type":"string","enum":["created","updated","comments"]},"direction":{"type":"string","enum":["asc","desc"]},"since":{"type":"string"},"page":{"type":"number"},"per_page":{"type":"number"}},"required":["owner","repo"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"update_issue","description":"Update an existing issue in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"type":"string"},"repo":{"type":"string"},"issue_number":{"type":"number"},"title":{"type":"string"},"body":{"type":"string"},"state":{"type":"string","enum":["open","closed"]},"labels":{"type":"array","items":{"type":"string"}},"assignees":{"type":"array","items":{"type":"string"}},"milestone":{"type":"number"}},"required":["owner","repo","issue_number"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"add_issue_comment","description":"Add a comment to an existing issue","inputSchema":{"type":"object","properties":{"owner":{"type":"string"},"repo":{"type":"string"},"issue_number":{"type":"number"},"body":{"type":"string"}},"required":["owner","repo","issue_number","body"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"search_code","description":"Search for code across GitHub repositories","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"Search query. See GitHub code search syntax: https://docs.github.com/en/search-github/searching-on-github/searching-code"},"order":{"type":"string","enum":["asc","desc"],"description":"Sort order (asc or desc)"},"per_page":{"type":"number","minimum":1,"maximum":100,"description":"Results per page (max 100)"},"page":{"type":"number","minimum":1,"description":"Page number"}},"required":["q"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"search_issues","description":"Search for issues and pull requests across GitHub repositories","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"Search query. See GitHub issues search syntax: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests"},"sort":{"type":"string","enum":["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],"description":"Sort field"},"order":{"type":"string","enum":["asc","desc"],"description":"Sort order (asc or desc)"},"per_page":{"type":"number","minimum":1,"maximum":100,"description":"Results per page (max 100)"},"page":{"type":"number","minimum":1,"description":"Page number"}},"required":["q"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"search_users","description":"Search for users on GitHub","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"Search query. See GitHub users search syntax: https://docs.github.com/en/search-github/searching-on-github/searching-users"},"sort":{"type":"string","enum":["followers","repositories","joined"],"description":"Sort field"},"order":{"type":"string","enum":["asc","desc"],"description":"Sort order (asc or desc)"},"per_page":{"type":"number","minimum":1,"maximum":100,"description":"Results per page (max 100)"},"page":{"type":"number","minimum":1,"description":"Page number"}},"required":["q"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_issue","description":"Get details of a specific issue in a GitHub repository.","inputSchema":{"type":"object","properties":{"owner":{"type":"string","description":"Repository owner (username or organization)"},"repo":{"type":"string","description":"Repository name"},"issue_number":{"type":"number","description":"Issue number"}},"required":["owner","repo","issue_number"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}]},"jsonrpc":"2.0","id":1} conformance_test.go:36: sending github: {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}} conformance_test.go:36: received from github: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"description":"Add a comment to an existing issue","inputSchema":{"type":"object","properties":{"body":{"description":"Comment text","type":"string"},"issue_number":{"description":"Issue number to comment on","type":"number"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","issue_number","body"]},"name":"add_issue_comment"},{"description":"Create a new branch in a GitHub repository","inputSchema":{"type":"object","properties":{"branch":{"description":"Name for new branch","type":"string"},"from_branch":{"description":"Source branch (defaults to repo default)","type":"string"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","branch"]},"name":"create_branch"},{"description":"Create a new issue in a GitHub repository","inputSchema":{"type":"object","properties":{"assignees":{"description":"Usernames to assign to this issue","items":{"type":"string"},"type":"array"},"body":{"description":"Issue body content","type":"string"},"labels":{"description":"Labels to apply to this issue","items":{"type":"string"},"type":"array"},"milestone":{"description":"New milestone number","type":"number"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"},"title":{"description":"Issue title","type":"string"}},"required":["owner","repo","title"]},"name":"create_issue"},{"description":"Create or update a single file in a GitHub repository","inputSchema":{"type":"object","properties":{"branch":{"description":"Branch to create/update the file in","type":"string"},"content":{"description":"Content of the file","type":"string"},"message":{"description":"Commit message","type":"string"},"owner":{"description":"Repository owner (username or organization)","type":"string"},"path":{"description":"Path where to create/update the file","type":"string"},"repo":{"description":"Repository name","type":"string"},"sha":{"description":"SHA of file being replaced (for updates)","type":"string"}},"required":["owner","repo","path","content","message","branch"]},"name":"create_or_update_file"},{"description":"Create a new pull request in a GitHub repository","inputSchema":{"type":"object","properties":{"base":{"description":"Branch to merge into","type":"string"},"body":{"description":"PR description","type":"string"},"draft":{"description":"Create as draft PR","type":"boolean"},"head":{"description":"Branch containing changes","type":"string"},"maintainer_can_modify":{"description":"Allow maintainer edits","type":"boolean"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"},"title":{"description":"PR title","type":"string"}},"required":["owner","repo","title","head","base"]},"name":"create_pull_request"},{"description":"Create a review on a pull request","inputSchema":{"type":"object","properties":{"body":{"description":"Review comment text","type":"string"},"comments":{"description":"Line-specific comments array of objects, each object with path (string), position (number), and body (string)","items":{"additionalProperties":false,"properties":{"body":{"description":"comment body","type":"string"},"path":{"description":"path to the file","type":"string"},"position":{"description":"line number in the file","type":"number"}},"required":["path","position","body"],"type":"object"},"type":"array"},"commitId":{"description":"SHA of commit to review","type":"string"},"event":{"description":"Review action ('APPROVE', 'REQUEST_CHANGES', 'COMMENT')","type":"string"},"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber","event"]},"name":"create_pull_request_review"},{"description":"Create a new GitHub repository in your account","inputSchema":{"type":"object","properties":{"autoInit":{"description":"Initialize with README","type":"boolean"},"description":{"description":"Repository description","type":"string"},"name":{"description":"Repository name","type":"string"},"private":{"description":"Whether repo should be private","type":"boolean"}},"required":["name"]},"name":"create_repository"},{"description":"Fork a GitHub repository to your account or specified organization","inputSchema":{"type":"object","properties":{"organization":{"description":"Organization to fork to","type":"string"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo"]},"name":"fork_repository"},{"description":"Get details of a specific code scanning alert in a GitHub repository.","inputSchema":{"type":"object","properties":{"alertNumber":{"description":"The number of the alert.","type":"number"},"owner":{"description":"The owner of the repository.","type":"string"},"repo":{"description":"The name of the repository.","type":"string"}},"required":["owner","repo","alertNumber"]},"name":"get_code_scanning_alert"},{"description":"Get the contents of a file or directory from a GitHub repository","inputSchema":{"type":"object","properties":{"branch":{"description":"Branch to get contents from","type":"string"},"owner":{"description":"Repository owner (username or organization)","type":"string"},"path":{"description":"Path to file/directory","type":"string"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","path"]},"name":"get_file_contents"},{"description":"Get details of a specific issue in a GitHub repository.","inputSchema":{"type":"object","properties":{"issue_number":{"description":"The number of the issue.","type":"number"},"owner":{"description":"The owner of the repository.","type":"string"},"repo":{"description":"The name of the repository.","type":"string"}},"required":["owner","repo","issue_number"]},"name":"get_issue"},{"description":"Get details of the authenticated GitHub user. Use this when a request include \"me\", \"my\"...","inputSchema":{"type":"object","properties":{"reason":{"description":"Optional: reason the session was created","type":"string"}}},"name":"get_me"},{"description":"Get details of a specific pull request","inputSchema":{"type":"object","properties":{"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"get_pull_request"},{"description":"Get the review comments on a pull request","inputSchema":{"type":"object","properties":{"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"get_pull_request_comments"},{"description":"Get the list of files changed in a pull request","inputSchema":{"type":"object","properties":{"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"get_pull_request_files"},{"description":"Get the reviews on a pull request","inputSchema":{"type":"object","properties":{"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"get_pull_request_reviews"},{"description":"Get the combined status of all status checks for a pull request","inputSchema":{"type":"object","properties":{"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"get_pull_request_status"},{"description":"List code scanning alerts in a GitHub repository.","inputSchema":{"type":"object","properties":{"owner":{"description":"The owner of the repository.","type":"string"},"ref":{"description":"The Git reference for the results you want to list.","type":"string"},"repo":{"description":"The name of the repository.","type":"string"},"severity":{"description":"Only code scanning alerts with this severity will be returned. Possible values are: critical, high, medium, low, warning, note, error.","type":"string"},"state":{"default":"open","description":"State of the code scanning alerts to list. Set to closed to list only closed code scanning alerts. Default: open","type":"string"}},"required":["owner","repo"]},"name":"list_code_scanning_alerts"},{"description":"Get list of commits of a branch in a GitHub repository","inputSchema":{"type":"object","properties":{"owner":{"description":"Repository owner","type":"string"},"page":{"description":"Page number","type":"number"},"perPage":{"description":"Number of records per page","type":"number"},"repo":{"description":"Repository name","type":"string"},"sha":{"description":"Branch name","type":"string"}},"required":["owner","repo"]},"name":"list_commits"},{"description":"List issues in a GitHub repository with filtering options","inputSchema":{"type":"object","properties":{"direction":{"description":"Sort direction ('asc', 'desc')","enum":["asc","desc"],"type":"string"},"labels":{"description":"Filter by labels","items":{"type":"string"},"type":"array"},"owner":{"description":"Repository owner","type":"string"},"page":{"description":"Page number","type":"number"},"per_page":{"description":"Results per page","type":"number"},"repo":{"description":"Repository name","type":"string"},"since":{"description":"Filter by date (ISO 8601 timestamp)","type":"string"},"sort":{"description":"Sort by ('created', 'updated', 'comments')","enum":["created","updated","comments"],"type":"string"},"state":{"description":"Filter by state ('open', 'closed', 'all')","enum":["open","closed","all"],"type":"string"}},"required":["owner","repo"]},"name":"list_issues"},{"description":"List and filter repository pull requests","inputSchema":{"type":"object","properties":{"base":{"description":"Filter by base branch","type":"string"},"direction":{"description":"Sort direction ('asc', 'desc')","type":"string"},"head":{"description":"Filter by head user/org and branch","type":"string"},"owner":{"description":"Repository owner","type":"string"},"page":{"description":"Page number","type":"number"},"per_page":{"description":"Results per page (max 100)","type":"number"},"repo":{"description":"Repository name","type":"string"},"sort":{"description":"Sort by ('created', 'updated', 'popularity', 'long-running')","type":"string"},"state":{"description":"Filter by state ('open', 'closed', 'all')","type":"string"}},"required":["owner","repo"]},"name":"list_pull_requests"},{"description":"Merge a pull request","inputSchema":{"type":"object","properties":{"commit_message":{"description":"Extra detail for merge commit","type":"string"},"commit_title":{"description":"Title for merge commit","type":"string"},"merge_method":{"description":"Merge method ('merge', 'squash', 'rebase')","type":"string"},"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"merge_pull_request"},{"description":"Push multiple files to a GitHub repository in a single commit","inputSchema":{"type":"object","properties":{"branch":{"description":"Branch to push to","type":"string"},"files":{"description":"Array of file objects to push, each object with path (string) and content (string)","items":{"additionalProperties":false,"properties":{"content":{"description":"file content","type":"string"},"path":{"description":"path to the file","type":"string"}},"required":["path","content"],"type":"object"},"type":"array"},"message":{"description":"Commit message","type":"string"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","branch","files","message"]},"name":"push_files"},{"description":"Search for code across GitHub repositories","inputSchema":{"type":"object","properties":{"order":{"description":"Sort order ('asc' or 'desc')","enum":["asc","desc"],"type":"string"},"page":{"description":"Page number","minimum":1,"type":"number"},"per_page":{"description":"Results per page (max 100)","maximum":100,"minimum":1,"type":"number"},"q":{"description":"Search query using GitHub code search syntax","type":"string"},"sort":{"description":"Sort field ('indexed' only)","type":"string"}},"required":["q"]},"name":"search_code"},{"description":"Search for issues and pull requests across GitHub repositories","inputSchema":{"type":"object","properties":{"order":{"description":"Sort order ('asc' or 'desc')","enum":["asc","desc"],"type":"string"},"page":{"description":"Page number","minimum":1,"type":"number"},"per_page":{"description":"Results per page (max 100)","maximum":100,"minimum":1,"type":"number"},"q":{"description":"Search query using GitHub issues search syntax","type":"string"},"sort":{"description":"Sort field (comments, reactions, created, etc.)","enum":["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],"type":"string"}},"required":["q"]},"name":"search_issues"},{"description":"Search for GitHub repositories","inputSchema":{"type":"object","properties":{"page":{"description":"Page number for pagination","type":"number"},"perPage":{"description":"Results per page (max 100)","type":"number"},"query":{"description":"Search query","type":"string"}},"required":["query"]},"name":"search_repositories"},{"description":"Search for GitHub users","inputSchema":{"type":"object","properties":{"order":{"description":"Sort order ('asc' or 'desc')","enum":["asc","desc"],"type":"string"},"page":{"description":"Page number","minimum":1,"type":"number"},"per_page":{"description":"Results per page (max 100)","maximum":100,"minimum":1,"type":"number"},"q":{"description":"Search query using GitHub users search syntax","type":"string"},"sort":{"description":"Sort field (followers, repositories, joined)","enum":["followers","repositories","joined"],"type":"string"}},"required":["q"]},"name":"search_users"},{"description":"Update an existing issue in a GitHub repository","inputSchema":{"type":"object","properties":{"assignees":{"description":"New assignees","items":{"type":"string"},"type":"array"},"body":{"description":"New description","type":"string"},"issue_number":{"description":"Issue number to update","type":"number"},"labels":{"description":"New labels","items":{"type":"string"},"type":"array"},"milestone":{"description":"New milestone number","type":"number"},"owner":{"description":"Repository owner","type":"string"},"repo":{"description":"Repository name","type":"string"},"state":{"description":"New state ('open' or 'closed')","enum":["open","closed"],"type":"string"},"title":{"description":"New title","type":"string"}},"required":["owner","repo","issue_number"]},"name":"update_issue"},{"description":"Update a pull request branch with the latest changes from the base branch","inputSchema":{"type":"object","properties":{"expectedHeadSha":{"description":"The expected SHA of the pull request's HEAD ref","type":"string"},"owner":{"description":"Repository owner","type":"string"},"pullNumber":{"description":"Pull request number","type":"number"},"repo":{"description":"Repository name","type":"string"}},"required":["owner","repo","pullNumber"]},"name":"update_pull_request_branch"}]}} conformance_test.go:254: Error Trace: /Users/williammartin/workspace/github-mcp-server/conformance/conformance_test.go:254 Error: Received unexpected error: inputSchema mismatch for tool "search_code": conformance_test.inputSchema{ Type: "object", Properties: map[string]any{ ... // 2 identical entries "per_page": map[string]any{"maximum": float64(100), "minimum": float64(1), "type": string("number"), ...}, "q": map[string]any{"type": string("string"), ...}, + "sort": map[string]any{"description": string("Sort field ('indexed' only)"), "type": string("string")}, }, Required: {"q"}, } Test: TestListTools Messages: expected the github list tools response to be a subset of the anthropic list tools response FAIL FAIL github.com/github/github-mcp-server/conformance 1.406s You should be able to see the only difference in the schema after applying the stack of PRs this is on top is the addition of a sort property on search_code. Reviewer Notes The stack of PRs this is based on handle the more interesting missing cases, and this one, aside from introducing the test itself adjusts all the casing to conform. Unfortunately, the anthropic implementation is not always consistent see: per_page vs perPage, or the occasional snake case like issue_number. Although this PR gives us a baseline conformance, I would suggest following up to make everything camel case since that is what the JSON RPC and Protocol examples from MPC spec lean towards. Of all the PRs, this is probably the one I care least about getting merged, though I think the test itself has provided value.

Open Graph Description: Description In this PR you will find a conformance test to check this server against Anthropic's list/tools method. This is gated by a conformance build tag because it's really a point in t...

X Description: Description In this PR you will find a conformance test to check this server against Anthropic's list/tools method. This is gated by a conformance build tag because it's really a po...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5f9a98a7-ba96-9e4e-0966-c84b46b7603c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE30:3E18C1:5D9A80:8344AF:6B06CDE6
html-safe-noncec59d3b38e019916ee34f208578c34d29dbef1029f9d012c4a3db235dfef97c44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTMwOjNFMThDMTo1RDlBODA6ODM0NEFGOjZCMDZDREU2IiwidmlzaXRvcl9pZCI6Ijc1MDMzOTI5NDI2MTk4MDcyMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdebf4e6c4621b87aa687f1c6cbc5220a6744bf6fea9e4b55ef30a50d01a21360
hovercard-subject-tagpull_request:2437964602
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/90/files
twitter:imagehttps://avatars.githubusercontent.com/u/1611510?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1611510?s=400&v=4
og:image:altDescription In this PR you will find a conformance test to check this server against Anthropic's list/tools method. This is gated by a conformance build tag because it's really a point in t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None48c0c26c41d13804b7e7b64ecbf80b4fd26c9800284c33d08e6f6b91b04942a7
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
releasedfa05458654b5673dad37bef211b8605ec01b7e3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/90/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F90%2Ffiles
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%2F90%2Ffiles
Sign uphttps://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/90/files
Reloadhttps://github.com/github/github-mcp-server/pull/90/files
Reloadhttps://github.com/github/github-mcp-server/pull/90/files
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)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
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
williammartinhttps://github.com/williammartin
mainhttps://github.com/github/github-mcp-server/tree/main
wm/list-tools-conformancehttps://github.com/github/github-mcp-server/tree/wm/list-tools-conformance
Conversation 4 https://github.com/github/github-mcp-server/pull/90
Commits 2 https://github.com/github/github-mcp-server/pull/90/commits
Checks 0 https://github.com/github/github-mcp-server/pull/90/checks
Findings https://github.com/github/github-mcp-server/pull/90/findings
Files changed https://github.com/github/github-mcp-server/pull/90/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/90/files
Conform list tools https://github.com/github/github-mcp-server/pull/90/files#top
Show all changes 2 commits https://github.com/github/github-mcp-server/pull/90/files
79a9380 Make JSONRPC easier in conformance tests williammartin Apr 3, 2025 https://github.com/github/github-mcp-server/pull/90/commits/79a9380fae3a0b2208f7878a63df8a4bb8461d76
e3dc62a Conform list tools williammartin Apr 3, 2025 https://github.com/github/github-mcp-server/pull/90/commits/e3dc62a820878fc87c77a28180b278293069056a
Clear filters https://github.com/github/github-mcp-server/pull/90/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/90/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/90/files
README.md https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
README.md https://github.com/github/github-mcp-server/pull/90/files#diff-f3b6341df76fe1c8f3527268e75668c2ff7f1f65fc39a6fb045d3fb2331bba1a
conformance_test.go https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
go.mod https://github.com/github/github-mcp-server/pull/90/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
code_scanning.go https://github.com/github/github-mcp-server/pull/90/files#diff-b92db09ff0c4e2a416071ed99a12d19dc68935e7555e50dd9432d37115e23145
code_scanning_test.go https://github.com/github/github-mcp-server/pull/90/files#diff-c52bf57629470a66cb56fe5206808a89003df50d50323b582e99605d30c3b03a
pullrequests.go https://github.com/github/github-mcp-server/pull/90/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
pullrequests_test.go https://github.com/github/github-mcp-server/pull/90/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
repositories.go https://github.com/github/github-mcp-server/pull/90/files#diff-396c76ab9d216fd1d9043c561bf2bfe57ade719aa0c0cedb47e85b3277714b92
repositories_test.go https://github.com/github/github-mcp-server/pull/90/files#diff-1f37596d401182a6443ebc5cf77fd4451cb48bd6f8a3ca31742a7a29feed4279
repository_resource.go https://github.com/github/github-mcp-server/pull/90/files#diff-8c2319afb75694e93b084f504d1c1fc8de262f4301c1888c05ab067d5bf0a21b
repository_resource_test.go https://github.com/github/github-mcp-server/pull/90/files#diff-134064f0cd858eb16a795df5143e87363a3ac3bb4c6a58beddf2dbf1fd689ec3
search.go https://github.com/github/github-mcp-server/pull/90/files#diff-e04395f56eed769ce5cfb9a06e8ca344dd8f9a10c438f9381008cf60e1d78228
search_test.go https://github.com/github/github-mcp-server/pull/90/files#diff-2a95e72dad22e527ccbac69c480e962a18a22dc2074a4b7c40b7fe99ebe92e83
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
README.mdhttps://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/github/github-mcp-server/blob/e3dc62a820878fc87c77a28180b278293069056a/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/90/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
cmd/mcpcurl/README.mdhttps://github.com/github/github-mcp-server/pull/90/files#diff-f3b6341df76fe1c8f3527268e75668c2ff7f1f65fc39a6fb045d3fb2331bba1a
View file https://github.com/github/github-mcp-server/blob/e3dc62a820878fc87c77a28180b278293069056a/cmd/mcpcurl/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/90/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/90/files#diff-f3b6341df76fe1c8f3527268e75668c2ff7f1f65fc39a6fb045d3fb2331bba1a
https://github.com/github/github-mcp-server/pull/90/files#diff-f3b6341df76fe1c8f3527268e75668c2ff7f1f65fc39a6fb045d3fb2331bba1a
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
conformance/conformance_test.gohttps://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
View file https://github.com/github/github-mcp-server/blob/e3dc62a820878fc87c77a28180b278293069056a/conformance/conformance_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/90/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2025https://github.com/github/github-mcp-server/pull/90/files#r2027696850
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/90/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/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/pull/90/files#diff-9721fb8538d04b8291bbc8cd0cdfa29e5c99376043107442c8ce8e93f34f7af2
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
go.modhttps://github.com/github/github-mcp-server/pull/90/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
View file https://github.com/github/github-mcp-server/blob/e3dc62a820878fc87c77a28180b278293069056a/go.mod
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/90/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/90/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/github/github-mcp-server/pull/90/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/code_scanning.gohttps://github.com/github/github-mcp-server/pull/90/files#diff-b92db09ff0c4e2a416071ed99a12d19dc68935e7555e50dd9432d37115e23145
View file https://github.com/github/github-mcp-server/blob/e3dc62a820878fc87c77a28180b278293069056a/pkg/github/code_scanning.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/90/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/90/files#diff-b92db09ff0c4e2a416071ed99a12d19dc68935e7555e50dd9432d37115e23145
https://github.com/github/github-mcp-server/pull/90/files#diff-b92db09ff0c4e2a416071ed99a12d19dc68935e7555e50dd9432d37115e23145
https://github.com/github/github-mcp-server/pull/90/files#diff-b92db09ff0c4e2a416071ed99a12d19dc68935e7555e50dd9432d37115e23145
Please reload this pagehttps://github.com/github/github-mcp-server/pull/90/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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.