Skip to content

Scaffold mcp-server output mixes runtimes and documents npm publishing for deployed services #121

Closed

Description

@TMHSDigital

Why it matters

Two flag combinations produce repos whose docs and layout contradict standards/mcp-server.md. That confuses the new repo's maintainers and their AI agents from day one.

Evidence

Mixed runtimes. --type mcp-server --mcp-server writes a Python mcp-server/server.py, a requirements.txt and a .cursor/mcp.json that runs python, all inside an npm/TypeScript package (scaffold/generator.py:252-259).

  • The registry entry it generates says language: TypeScript (generator.py:314).
  • standards/mcp-server.md:12 says "Do not mix runtimes inside a single MCP server."

npm publishing in deployed-service output. --deployed-service output still says release "dispatches publish.yml" and "Publishes the package to npm", but no publish.yml is generated.

  • scaffold/templates/AGENTS.md.j2:88-92 is not gated on deployed_service.
  • The generated CLAUDE.md and CONTRIBUTING.md also say CI "tags and publishes".

Suggested approach

  • Reject --mcp-server when --type mcp-server, or redefine it to mean "include an example TS tool". Either way, document the choice in --help.
  • Wrap the npm-specific prose in {% if not deployed_service %} across AGENTS, CLAUDE and CONTRIBUTING templates.
  • Extend tests/test_archetype.py to grep the generated docs for publish.yml and npm in deployed-service output.

Done when

  • No generated repo mixes runtimes.
  • Deployed-service docs never mention npm publishing.

Activity

  1. added
    bug
    documentation
    priority: medium
    on Oct 8, 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

    bugdocumentationpriority: mediumscaffold

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions