| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add two feature-flagged tools for issue blocked-by / blocking relationships, gated behind the issue_dependencies flag so they stay off the default tool surface (auto-enabled for insiders only): - issue_dependency_read: get_blocked_by / get_blocking via the Issue.blockedBy / Issue.blocking GraphQL connections, cursor-paginated. - issue_dependency_write: add / remove x blocked_by / blocking via the addBlockedBy / removeBlockedBy mutations. Accepts issue numbers and resolves them to node IDs in a single aliased query; "blocking" is the inverse of "blocked_by" with the subject/related roles swapped. Closes the MCP gap behind the gh CLI dependency verbs (cli/cli#13057). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reject a write where the subject and related issue are identical before resolving node IDs or issuing a mutation, avoiding two API round-trips. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Adds a new, opt-in “issue dependencies” capability to the GitHub MCP Server by introducing two feature-flagged MCP tools for reading and mutating native GitHub issue dependency edges (blocked-by / blocking) via GraphQL, including snapshots, tests, and generated docs updates.
Changes:
| File | Description |
|---|---|
| pkg/github/tools.go | Registers the new dependency tools in the overall tool inventory (feature-gated). |
| pkg/github/issue_dependencies.go | Implements issue_dependency_read + issue_dependency_write using GraphQL queries/mutations and cursor pagination. |
| pkg/github/issue_dependencies_test.go | Adds tool schema snapshot tests and behavioral tests for read/write operations and validation paths. |
| pkg/github/feature_flags.go | Introduces FeatureFlagIssueDependencies and wires it into allowed + insiders feature flag sets. |
| pkg/github/toolsnaps/issue_dependency_read_ff_issue_dependencies.snap | Adds the toolsnap for the feature-flagged read tool schema. |
| pkg/github/toolsnaps/issue_dependency_write_ff_issue_dependencies.snap | Adds the toolsnap for the feature-flagged write tool schema. |
| docs/insiders-features.md | Generated docs: documents the new issue_dependencies gated tools under insiders. |
| docs/feature-flags.md | Generated docs: documents the new issue_dependencies flag and its gated tools. |
Sorry, something went wrong.
* Add issue dependency read/write MCP tools Add two feature-flagged tools for issue blocked-by / blocking relationships, gated behind the issue_dependencies flag so they stay off the default tool surface (auto-enabled for insiders only): - issue_dependency_read: get_blocked_by / get_blocking via the Issue.blockedBy / Issue.blocking GraphQL connections, cursor-paginated. - issue_dependency_write: add / remove x blocked_by / blocking via the addBlockedBy / removeBlockedBy mutations. Accepts issue numbers and resolves them to node IDs in a single aliased query; "blocking" is the inverse of "blocked_by" with the subject/related roles swapped. Closes the MCP gap behind the gh CLI dependency verbs (cli/cli#13057). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fail fast on self-dependency in issue_dependency_write Reject a write where the subject and related issue are identical before resolving node IDs or issuing a mutation, avoiding two API round-trips. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Revert addition of `any of` for required ui_get scopes --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Summary
Add two feature-flagged MCP tools for issue dependencies: issue_dependency_read (list an issue's blocked-by / blocking relationships) and issue_dependency_write (add / remove a blocked-by or blocking relationship).
Why
github-mcp-server had no way to read or edit issue dependencies, although the GitHub API supports them and the gh CLI shipped the verbs in v2.94.0. This closes that MCP gap.
Closes #2391
Refs #950
What changed
MCP impact
Prompts tested (tool changes only)
Security / limits
Tool renaming
Lint & tests
Docs
Split out from #2726, which now contains only the always-on issue_read → get_parent method.