Skip to content

feat: implement read-core MCP tools#6

Merged
TMHSDigital merged 1 commit into
mainfrom
feat/read-core
May 24, 2026
Merged

feat: implement read-core MCP tools#6
TMHSDigital merged 1 commit into
mainfrom
feat/read-core

Conversation

@TMHSDigital
Copy link
Copy Markdown
Owner

Summary

  • Add four read-only MCP tools: devtools_getRegistry, devtools_getFleetStatus, devtools_checkDrift, devtools_inspectRepo
  • TypeScript/Node 20+, @modelcontextprotocol/sdk, Zod input validation, 5-minute in-memory TTL cache
  • devtools_checkDrift fetches standards/drift-checker.config.json from the meta-repo at runtime; no hardcoded drift policy
  • Optional local mode via DEVTOOLS_META_ROOT env var; token via GH_TOKEN or GITHUB_TOKEN
  • CI on Node 20 and 22; publish workflow wired for npm release
  • Write surface documented in ROADMAP.md v0.2.0 (not implemented)

Test plan

  • npm run build exits 0 (tsc, no errors)
  • npm test exits 0 (17 tests across 2 files: utils + tools)
  • CI workflow (ci.yml) passes on Node 20 and 22
  • Ecosystem drift check (drift-check.yml) passes
  • validate.yml TypeScript build check passes

Checklist

  • No em dashes, en dashes, or emoji in committed files
  • No secrets or tokens committed (GH_TOKEN via env only)
  • No machine-specific paths (no E:\ or C:\Users\ in any committed file)
  • DCO sign-off on commit
  • devtools_checkDrift reads canonical drift policy at runtime from meta-repo

…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>
@github-actions github-actions Bot added the ci label May 24, 2026
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedvitest@​4.1.7961007999100
Added@​types/​node@​22.19.191001008196100
Addedtsx@​4.22.31001008294100
Addedtypescript@​5.9.3100100909690
Added@​modelcontextprotocol/​sdk@​1.29.09910010095100
Addedzod@​3.25.769810010095100

View full report

@TMHSDigital TMHSDigital merged commit d909c19 into main May 24, 2026
7 checks passed
@TMHSDigital TMHSDigital deleted the feat/read-core branch May 24, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant