LearnNewsExamplesServices
Frontmatter
id8318
titleMCP: Optimize GitHub Workflow Tool Count
stateClosed
labels
airefactoring
assigneestobiu
createdAtJan 4, 2026, 5:24 PM
updatedAtJan 4, 2026, 6:15 PM
githubUrlhttps://github.com/neomjs/neo/issues/8318
authortobiu
commentsCount1
parentIssue8315
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 4, 2026, 6:15 PM

MCP: Optimize GitHub Workflow Tool Count

Closed v11.18.0 airefactoring
tobiu
tobiu commented on Jan 4, 2026, 5:24 PM

Part of Epic #8315.

  1. Consolidate assign_issue and unassign_issue into manage_issue_assignees (action: 'add' | 'remove').
  2. Consolidate add_labels and remove_labels into manage_issue_labels (action: 'add' | 'remove').
  3. Consolidate create_comment and update_comment into manage_issue_comment (action: 'create' | 'update').
tobiu added the ai label on Jan 4, 2026, 5:24 PM
tobiu added the refactoring label on Jan 4, 2026, 5:24 PM
tobiu added parent issue #8315 on Jan 4, 2026, 5:24 PM
tobiu cross-referenced by #8317 on Jan 4, 2026, 5:38 PM
tobiu assigned to @tobiu on Jan 4, 2026, 5:40 PM
tobiu referenced in commit 8879b09 - "refactor: Consolidate GitHub Workflow tools per Issue #8318 on Jan 4, 2026, 6:15 PM
tobiu
tobiu Jan 4, 2026, 6:15 PM

Input from Gemini 2.5 pro:

✦ I have successfully completed the tool consolidation tasks for this issue.

Changes Implemented:

  1. Tool Consolidation:
    • assign_issue + unassign_issue -> manage_issue_assignees
    • add_labels + remove_labels -> manage_issue_labels
    • create_comment + update_comment -> manage_issue_comment
  2. API Refinement:
    • Updated openapi.yaml with the new endpoints and detailed documentation.
    • Removed deprecated endpoints.
  3. Code Refactoring:
    • Updated IssueService.mjs to handle the consolidated logic.
    • Moved updateComment from PullRequestService.mjs to IssueService.mjs to unify comment management.
    • Updated toolService.mjs mappings.

Status: This refactoring reduces the tool count and simplifies the API surface while maintaining full functionality. The changes have been committed.

Ready to close this issue.

tobiu closed this issue on Jan 4, 2026, 6:15 PM