cloudflare / cloudflare/workers-mcp
Initial setup notes and issue - ERROR spawn npx ENOENT during `wrangler secret put`
- Dominant language
- TypeScript
- Stars
- 647
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for releasing this, excited to try it.
I'm going through the intro, a few notes.
Windows 11
Microsoft Powershell
Node installed via scoop
- The initial instructions fail unless I run `npx wrangler login` first
- Even then script fails to put the secret at the end
- The readme.md does not mention `npm run deploy` but `npx workers-mcp help` does. Someone has to use both to get running, but it's running.
I then went to the scripts and looked at
https://github.com/cloudflare/workers-mcp/blob/03dbf6545ec2c0efac9d19c2e6f850d04ce7d5dd/src/scripts/secret.ts#L37
I ran the command manually and it worked. Here's the error when run through the script.

Contributor guide
Assessment
This issue has not been assessed yet.