cloudflare / cloudflare/workers-mcp

Initial setup notes and issue - ERROR spawn npx ENOENT during `wrangler secret put`

Open
#3 10 comments 2 reactions 0 assignees View on GitHub
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.
![image](https://github.com/user-attachments/assets/a0d16826-4fb9-4068-8431-ebcf7073a295)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.