@prereason/mcp 0.1.7 → 0.1.9
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 +11 -0
- package/bin/cli.js +5 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.9 (2026-03-10)
|
|
4
|
+
|
|
5
|
+
- Expand `socket.yml` to suppress all known-safe transitive dependency alerts from `@modelcontextprotocol/sdk`
|
|
6
|
+
- Covers eval (ajv), shell (cross-spawn), filesystem (express/send), debug, dynamic require, unmaintained micro-packages, and more
|
|
7
|
+
|
|
8
|
+
## 0.1.8 (2026-03-05)
|
|
9
|
+
|
|
10
|
+
- Remove `createRequire` / dynamic `require('../package.json')` — hardcode version constants
|
|
11
|
+
- Eliminates Socket.dev "Dynamic require" and "Filesystem access" findings from our code
|
|
12
|
+
- Add `socket.yml` for GitHub PR alert suppression of expected behaviors (network access, env vars)
|
|
13
|
+
|
|
3
14
|
## 0.1.7 (2026-03-04)
|
|
4
15
|
|
|
5
16
|
- Pin `@modelcontextprotocol/sdk` to exact `1.27.1` (fixes transitive CVEs in hono and qs)
|
package/bin/cli.js
CHANGED
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
* PREREASON_URL Override the default endpoint URL
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
import { createRequire } from 'node:module';
|
|
21
20
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
22
21
|
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
23
22
|
|
|
23
|
+
// Keep in sync with package.json on each release
|
|
24
|
+
const PKG_NAME = '@prereason/mcp';
|
|
25
|
+
const PKG_VERSION = '0.1.9';
|
|
24
26
|
const DEFAULT_URL = 'https://api.prereason.com/api/mcp';
|
|
25
27
|
|
|
26
28
|
// --- Help / Version ---
|
|
27
29
|
if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
|
28
|
-
|
|
29
|
-
const pkg = require('../package.json');
|
|
30
|
-
process.stderr.write(`${pkg.name} v${pkg.version}\n\n`);
|
|
30
|
+
process.stderr.write(`${PKG_NAME} v${PKG_VERSION}\n\n`);
|
|
31
31
|
process.stderr.write('Usage:\n');
|
|
32
32
|
process.stderr.write(' npx @prereason/mcp\n');
|
|
33
33
|
process.stderr.write(' npx @prereason/mcp [--header Key:Value]...\n\n');
|
|
@@ -43,9 +43,7 @@ if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
if (process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
46
|
-
|
|
47
|
-
const pkg = require('../package.json');
|
|
48
|
-
process.stderr.write(`${pkg.version}\n`);
|
|
46
|
+
process.stderr.write(`${PKG_VERSION}\n`);
|
|
49
47
|
process.exit(0);
|
|
50
48
|
}
|
|
51
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prereason/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP server for pre-analyzed Bitcoin and macro financial intelligence. 17 context templates with trend interpretation, momentum analysis, and cross-asset correlations.",
|
|
6
6
|
"bin": {
|