Closed
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds --skip-ssl-verify flag (GITHUB_SKIP_SSL_VERIFY env var) that disables TLS certificate verification for both REST and GraphQL clients. Intended for private GitHub Enterprise instances with self-signed or missing certificates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers: default transport passthrough, InsecureSkipVerify flag set, successful connection to self-signed TLS server, and TLS rejection when skip is disabled. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Feature/skip ssl verify
Adds ParseGitHubURL and ApplyURLParam to pkg/github/url_parse.go. ParseGitHubURL parses any GitHub resource URL (repo, issue, PR, file blob) across github.com and self-hosted GHE instances, extracting owner, repo, number, ref, and path. ApplyURLParam applies parsed URL fields into a tool's args map before parameter extraction, with explicitly set params taking precedence. 29 tests covering valid URLs, error cases, and precedence rules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: add GitHub URL parsing utility
Adds a new get_repository tool that fetches metadata for a single GitHub repository by owner/repo or by URL. Returns a richer field set than MinimalRepository: visibility, clone_url, ssh_url, is_template, pushed_at, and named is_fork/is_archived fields. Integrates with ApplyURLParam so agents can pass a full repo URL instead of discrete owner/repo params. 8 tests covering happy path, URL parsing, precedence, missing params, and API errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Feature/get repository
Adds optional client-side filtering to IssueRead and PullRequestRead to reduce token usage when AI agents only need a subset of comments. New filter params on issue_read (applies to get_comments): - author: filter by comment author login (case-insensitive) - bodyContains: filter by substring or regex in comment body New filter params on pull_request_read: - author: filter by author login (get_comments + get_review_comments) - bodyContains: filter by body text (get_comments + get_review_comments) - filePath: glob pattern for review thread file path (get_review_comments) - reviewer: filter by reviewer login (get_reviews) - state: filter by review state (get_reviews) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds createdAfter/createdBefore params to comment and review comment filters, and submittedAfter/submittedBefore to review filters. All dates are RFC3339 strings; invalid or unparseable dates are excluded. - issue_read: createdAfter, createdBefore (get_comments) - pull_request_read: createdAfter, createdBefore (get_comments, get_review_comments) - pull_request_read: submittedAfter, submittedBefore (get_reviews) 12 new tests added covering after, before, combined, and invalid date edge cases. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds optional client-side filters to issue_read and pull_request_read so AI agents can retrieve only the comments/reviews they need, reducing token usage.
Why
Fixes #
Without filtering, fetching comments or reviews on a large PR returns the full unfiltered list. Agents must scan through all items, burning tokens on irrelevant content.
What changed
MCP impact
Prompts tested (tool changes only)
Security / limits
Tool renaming
Lint & tests
Docs