---
phase: 01-npx-installation
plan: 01
type: execute
wave: 1
depends_on: []
files_modified: [package.json]
autonomous: true
---
<objective>
Configure package.json for npm publishing and verify npx installation works.
Purpose: Enable simple `npx business-design-mcp` installation for users.
Output: Published npm package that can be installed via npx.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/execute-plan.md
@~/.claude/get-shit-done/templates/summary.md
</execution_context>
<context>
@.planning/PROJECT.md
@.planning/ROADMAP.md
@.planning/STATE.md
@package.json
</context>
<tasks>
<task type="auto">
<name>Task 1: Update package.json for npm publishing</name>
<files>package.json</files>
<action>
Add missing npm publishing fields:
- repository: { "type": "git", "url": "git+https://github.com/albertogferrario/business-design-mcp.git" }
- homepage: "https://github.com/albertogferrario/business-design-mcp#readme"
- bugs: { "url": "https://github.com/albertogferrario/business-design-mcp/issues" }
- files: ["dist", "README.md", "LICENSE"] to whitelist published files
The bin entry and prepare script already exist.
</action>
<verify>npm pack --dry-run shows expected files (dist/, README.md, package.json)</verify>
<done>package.json has all required npm publishing fields</done>
</task>
<task type="auto">
<name>Task 2: Build and verify package</name>
<files>dist/</files>
<action>
Run npm run build to ensure dist/ is generated.
Run npm pack --dry-run to verify package contents.
Verify the bin entry points to a valid executable with shebang.
</action>
<verify>npm pack --dry-run succeeds, dist/index.js exists with shebang</verify>
<done>Package is ready for npm publish</done>
</task>
</tasks>
<verification>
Before declaring plan complete:
- [ ] npm pack --dry-run shows correct files
- [ ] npm run build succeeds
- [ ] dist/index.js has shebang line
</verification>
<success_criteria>
- All tasks completed
- Package ready for npm publish
- No errors or warnings
</success_criteria>
<output>
After completion, create `.planning/phases/01-npx-installation/01-01-SUMMARY.md`
</output>