| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Adds an opt-in, read-only duplicate-detection tool using GitHub’s semantic-similarity endpoint.
Changes:
| File | Description |
|---|---|
| pkg/github/tools.go | Registers the new tool. |
| pkg/github/find_duplicate.go | Implements duplicate lookup and response projection. |
| pkg/github/find_duplicate_test.go | Tests schema, requests, responses, and errors. |
| pkg/github/feature_flags.go | Defines the opt-in feature flag. |
| pkg/github/__toolsnaps__/find_duplicate_ff_duplicate_detection.snap | Captures the tool schema. |
| docs/feature-flags.md | Documents the flag and tool parameters. |
Sorry, something went wrong.
There was a problem hiding this comment.
Non-blocking but I wonder if find_duplicate should attach an IFC label to the successful result returned here?
Example usage: https://github.com/github/github-mcp-server/blob/main/pkg/github/issues.go#L688-L696
Sorry, something went wrong.
Great suggestion, thanks @tommaso-moro. Added an IFC label to the successful result - d5a2e4d |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Adds a read-only find_duplicate MCP tool that returns ranked duplicate candidates for an existing issue, gated behind a new opt-in duplicate_detection feature flag.
Why
Enables agents to answer "what likely duplicates this issue?" using GitHub's semantic-similarity endpoint, without adding schema cost to agents that haven't opted into duplicate detection. Semantic ranking stays server-side; the tool is a thin, read-only client.
Closes https://github.com/github/plan-track-agentic-toolkit/issues/690
What changed
MCP impact
Prompts tested (tool changes only)
Tested against a local build (--features duplicate_detection, repo-scoped PAT), via both Agent-mode prompts and direct JSON-RPC calls:
Security / limits
Tool renaming
Lint & tests
Docs