@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 +5 -0
- package/README.md +23 -0
- package/package.json +2 -2
- /package/bin/{cli.mjs → cli.js} +0 -0
package/CHANGELOG.md
CHANGED
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.
|
|
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.
|
|
7
|
+
"prereason-mcp": "./bin/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin",
|
/package/bin/{cli.mjs → cli.js}
RENAMED
|
File without changes
|