Skip to content

Conversation

@eshaffer321
Copy link

@eshaffer321 eshaffer321 commented Jan 30, 2026

Summary

Adds support for GitHub's issue dependency API (/dependencies/blocked_by) through two new MCP tools.

Why

GitHub supports marking issues as "blocked by" other issues, but there's currently no way to manage these relationships through the MCP server. This enables agents to understand and manage issue dependencies.

What changed

  • Added issue_dependency_read tool with get_blocked_by method to list blocking issues
  • Added issue_dependency_write tool with add and remove methods for managing relationships
  • Uses raw REST calls since go-github v79 doesn't yet have built-in support for these endpoints
  • Added comprehensive tests (20 test cases covering success, error, and edge cases)

MCP impact

  • New tool added

Security/limits

  • No security or limits impact (uses existing repo scope)

Lint & tests

  • golangci-lint run passes
  • go test ./... passes
  • UPDATE_TOOLSNAPS=true go test ./... run

Docs

  • Updated (README auto-generated via script/generate-docs)

Closes #950

Adds two new tools for managing issue dependencies via GitHub's
blocked-by API:

- issue_dependency_read: Get issues that block a given issue
- issue_dependency_write: Add or remove blocked-by relationships

Uses raw REST calls since go-github doesn't yet support the
/dependencies/blocked_by endpoints.
@eshaffer321 eshaffer321 requested a review from a team as a code owner January 30, 2026 03:30
@eshaffer321
Copy link
Author

#950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to fetch issue relationships (parent, blocked by, etc..)

1 participant