feat: implement read-core MCP tools#6
Merged
Merged
Conversation
…atus, checkDrift, inspectRepo) - Four read-only tools against the TMHSDigital developer-tools ecosystem - GitHub REST API default mode with 5-minute in-memory TTL cache - Optional local mode via DEVTOOLS_META_ROOT env var - devtools_checkDrift fetches drift policy from meta-repo standards/drift-checker.config.json at runtime - TypeScript, Node 20+, vitest; 17 tests passing - CI on Node 20 and 22; publish workflow on npm release - Write surface documented in ROADMAP.md v0.2.0 (not implemented) Signed-off-by: fOuttaMyPaint <tmhospitalitystrategies@gmail.com> Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
devtools_getRegistry,devtools_getFleetStatus,devtools_checkDrift,devtools_inspectRepo@modelcontextprotocol/sdk, Zod input validation, 5-minute in-memory TTL cachedevtools_checkDriftfetchesstandards/drift-checker.config.jsonfrom the meta-repo at runtime; no hardcoded drift policyDEVTOOLS_META_ROOTenv var; token viaGH_TOKENorGITHUB_TOKENTest plan
npm run buildexits 0 (tsc, no errors)npm testexits 0 (17 tests across 2 files: utils + tools)Checklist
devtools_checkDriftreads canonical drift policy at runtime from meta-repo