@prereason/mcp 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2 (2026-02-21)
4
+
5
+ - Fix Windows path resolution issue in Claude Desktop (rename `.mjs` → `.js` bin entry)
6
+ - Add Windows troubleshooting section in README
7
+
3
8
  ## 0.1.1 (2026-02-21)
4
9
 
5
10
  - Add MIT LICENSE file
package/README.md CHANGED
@@ -102,6 +102,29 @@ Once connected, ask Claude:
102
102
  - Restart Claude Desktop after editing config
103
103
  - Verify JSON syntax: `node -e "JSON.parse(require('fs').readFileSync('path/to/config','utf8'))"`
104
104
 
105
+ ### Windows: "'C:\Program' is not recognized"
106
+
107
+ If Node.js is installed in a path with spaces (e.g. `C:\Program Files\nodejs\`), `npx` may fail inside Claude Desktop. Workaround:
108
+
109
+ 1. Install globally: `npm install -g @prereason/mcp`
110
+ 2. Use `node` command instead:
111
+
112
+ ```json
113
+ {
114
+ "mcpServers": {
115
+ "prereason": {
116
+ "command": "node",
117
+ "args": [
118
+ "C:\\Users\\YOUR_USER\\AppData\\Roaming\\npm\\node_modules\\@prereason\\mcp\\bin\\cli.js",
119
+ "--header", "Authorization:Bearer YOUR_API_KEY"
120
+ ]
121
+ }
122
+ }
123
+ }
124
+ ```
125
+
126
+ Replace `YOUR_USER` with your Windows username.
127
+
105
128
  ### Auth errors on get_context / get_metric
106
129
  - `list_templates`, `list_metrics`, and `get_health` work without a key
107
130
  - `get_context` and `get_metric` require a valid API key
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@prereason/mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Connect Claude Desktop to PreReason's Bitcoin & macro data API via MCP",
6
6
  "bin": {
7
- "prereason-mcp": "./bin/cli.mjs"
7
+ "prereason-mcp": "./bin/cli.js"
8
8
  },
9
9
  "files": [
10
10
  "bin",
File without changes