LearnNewsExamplesServices
Frontmatter
id7517
titleRefactor toolService.mjs to Reduce Code Duplication
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 17, 2025, 12:37 PM
updatedAtOct 17, 2025, 12:37 PM
githubUrlhttps://github.com/neomjs/neo/issues/7517
authortobiu
commentsCount0
parentIssue7501
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 17, 2025, 12:37 PM

Refactor toolService.mjs to Reduce Code Duplication

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 17, 2025, 12:37 PM

This ticket addresses the code duplication between the toolService.mjs files in the knowledge-base and github-workflow MCP servers. The goal is to create a single, shared toolService that can be configured for each server, reducing redundancy and improving maintainability.

Acceptance Criteria

  1. A new, generic toolService.mjs is created in ai/mcp/server/.
  2. The new service is parameterized to accept a serviceMapping and an openApiFilePath.
  3. The toolService.mjs files in knowledge-base and github-workflow are refactored to use the new shared service.
  4. All existing functionality of both MCP servers remains unchanged and fully operational.
tobiu assigned to @tobiu on Oct 17, 2025, 12:37 PM
tobiu added the enhancement label on Oct 17, 2025, 12:37 PM
tobiu added parent issue #7501 on Oct 17, 2025, 12:37 PM
tobiu added the ai label on Oct 17, 2025, 12:37 PM
tobiu referenced in commit 432761b - "Refactor toolService.mjs to Reduce Code Duplication #7517" on Oct 17, 2025, 12:37 PM
tobiu closed this issue on Oct 17, 2025, 12:37 PM