Skip to content

Scaffold template dependencies lag: mcp 2.x, vitest 5, TypeScript 7, zod 4, npm@latest #190

Backlog

Description

@TMHSDigital

Summary

Dependencies emitted into generated repos are one or two majors behind, several held by Dependabot ignore rules with no review date, and the publish job installs an unbounded npm.

Where

  • scaffold/templates/mcp-server/requirements.txt.j2:1
  • scaffold/templates/mcp-server/server.py.j2:9
  • scaffold/templates/package.json.j2:33-38
  • scaffold/templates/dependabot.yml.j2:13-28
  • scaffold/templates/publish.yml.j2:22
  • .github/workflows/README.md:24
  • .github/workflows/release-drafter.yml:21, .github/workflows/sync.yml:44

Details

  • Python mcp<2.0 with from mcp.server.fastmcp import FastMCP; 2.x renamed it MCPServer (1.x is still patched).
  • vitest ^3.2.0 (latest 5.x); the ignore cites a 4.x lockfile problem.
  • typescript ^5.6.0 (latest 7.x); the "6.x is transitional" comment is stale.
  • zod ^3.25.0 (latest 4.x); add an emitted inputSchema snapshot test before moving.
  • npm install -g npm@latest in an id-token: write job; pin a bounded range such as npm@^11.5.1.
  • Merge Dependabot chore(deps): bump the actions-minor-patch group across 1 directory with 2 updates #148 (release-drafter 7.11.0, create-pull-request 8.1.3); update the outdated create-pull-request example in workflows/README.md; composite actions default Python 3.11 while everything else uses 3.12.

Impact

Every new server starts on legacy lines, multiplying later migrations across the fleet; a breaking npm major can change publishing for every repo without warning.

Suggested fix

Work through the checklist, running the born-green scaffold job after each bump.

Acceptance criteria

  • Every checklist item resolved or explicitly deferred with a dated note

Getting started

  • Relevant files: .github/workflows/README.md, .github/workflows/release-drafter.yml, scaffold/templates/dependabot.yml.j2, scaffold/templates/mcp-server/requirements.txt.j2, scaffold/templates/mcp-server/server.py.j2, scaffold/templates/package.json.j2
  • How to run tests: pip install -r requirements-test.txt && python -m pytest
  • After any registry or standards change: python scripts/sync_from_registry.py
  • Conventions: see CONTRIBUTING.md and standards/writing-style.md

Filed by repo-audit/full-audit at 2c7a7fe. Severity: low. Effort: M. audit-key: dependencies|scaffold/templates/package.json.j2|majors

Activity

  1. added
    help wanted
    dependencies
    severity: low
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencieshelp wantedseverity: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions