cloudflare / cloudflare/workers-mcp
failed to run setup
- Dominant language
- TypeScript
- Stars
- 647
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
D:\Project-AI-MCP\my-new-worker>npx workers-mcp setup
💪 Congratulations on installing workers-mcp 😎
T Let's get started...
|
• Step 1: adding 'workers-mcp docgen src/index.ts' as part of your wrangler deploy step
|
o Found NPM script key deploy that contains 'wrangler deploy'. Applying update:
|
| --- "deploy": "wrangler deploy"
| +++ "deploy": "workers-mcp docgen src/index.ts && wrangler deploy"
|
o Proceed?
| Yes
|
* Updated package.json!
|
• Step 2: generating and uploading a shared secret
|
* Generated and stored SHARED_SECRET in .dev.vars
|
o Uploading shared secret using wrangler secret put:
|
x ERROR spawn npx ENOENT
I am running this on windows
Contributor guide
Research direction
Start by reproducing `npx workers-mcp setup` on Windows and inspect the setup flow around the `wrangler secret put` invocation. Review the generated `package.json` update and `.dev.vars` handling shown in the report. Done means setup completes the shared-secret upload without `spawn npx ENOENT` on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100