mcp-framework
mcp-framework copied to clipboard
Fix docs package npx scaffolding command
Summary
- replace
npx create-docs-mcp/npx create-docs-serverexamples withnpx -p @mcpframework/docs create-docs-mcp - align docs package references from
@mcp-framework/docsto the published@mcpframework/docspackage name - update generated project templates and CLI usage text to match the published package/bin names
Why
The current README example asks users to run npx create-docs-mcp my-api-docs, but create-docs-mcp is not a published npm package. The executable is provided by @mcpframework/docs, so npm needs the package source specified.
Validation
npm view create-docs-mcp versionreturns E404npx -y -p @mcpframework/[email protected] create-docs-mcp my-api-docsgenerates a project with@mcpframework/docsin dependenciesnpm run buildcd packages/docs && npm run build && npm test -- --runInBandrg "@mcp-framework/docs|npx create-docs-mcp|npx create-docs-server" README.md packages/docs docs/docs-packagereturns no matchesgit diff --check
Notes
Root npm run lint currently fails on existing lint errors in dist/ and source files unrelated to this docs change. Root npm test -- --runInBand currently fails on Node 25 with jsonwebtoken / buffer-equal-constant-time prototype errors in existing OAuth/serverless suites, while many unrelated suites pass. This PR does not touch those files or dependencies.