@the-staq/tradestaq-mcp 0.6.0 → 0.6.1
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/README.md +11 -0
- package/VERSION +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Security
|
|
6
|
+
- **Dependencies updated; `npm audit` reports nothing.** The MCP SDK goes to 1.32.2: one HTTP request within the default size limit could exhaust the hosted server's memory (GHSA-46jr-4wx8-v453), plus three SDK advisories in code this server doesn't use. zod goes to 4 (memory exhaustion validating oversized constrained collections; no zod 3 fix exists). The SDK's own dependencies move to patched versions: hono, @hono/node-server, fast-uri, proxy-addr, qs, ip-address, body-parser. vitest goes to 5 (test tooling only).
|
|
7
|
+
- **Node 20 or newer** is now required (`engines`), for `@hono/node-server` 2. Node 18 is end of life.
|
|
8
|
+
- Tool input schemas no longer list `additionalProperties: false` (zod 4's JSON Schema). Unknown arguments are still dropped, as before.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **Releases publish from GitHub Actions.** Pushing a `vX.Y.Z` tag (what `npm run release:*` does) runs `.github/workflows/publish.yml`: it checks the tag matches `package.json`, type-checks, tests, builds and publishes through npm trusted publishing (OIDC). No npm token is stored on a laptop or in the repo, so a release can no longer fail on an expired one (0.4.x and 0.5.0 never reached npm that way), and every version carries a provenance statement. The `release:*` scripts no longer run `npm publish` themselves.
|
|
12
|
+
- `repository.url` uses npm's canonical `git+https://` form, which trusted publishing matches against the repository.
|
|
13
|
+
|
|
14
|
+
## [0.6.0] - 2026-10-27
|
|
15
|
+
|
|
5
16
|
### Added
|
|
6
17
|
- **`update_bot` edits the whole bot.** New fields: `name`; `strategyId` (ID or slug, resolved through the strategy route); `presetId` (ID or slug, applied by the server: the preset's strategy, parameter overrides, timeframe, execution mode / interval and version, with explicit fields on top); `versionChannel` and `pinnedVersionId`; `timeframe`; `executionMode` and `spinIntervalSeconds`; `parameterOverrides` (merged into the current ones, `null` removes a key) and `resetParameterOverrides`. Everything goes in one PATCH, so a strategy switch is never half-applied.
|
|
7
18
|
- **Merge rules.** `spinConfig` is fetched and merged like `positionSizing` (only the explicit keys go with a preset, so the preset's fill the rest). Parameter overrides merge onto the bot's current ones on the same strategy; a strategy switch starts from none and also clears the old preset and pin (stable channel unless given). Size and leverage are only sent when `positionSizePercent` / `leverage` are given.
|
package/README.md
CHANGED
|
@@ -231,6 +231,17 @@ npm start # run server (stdio)
|
|
|
231
231
|
npm run start:http # run server (HTTP+SSE on port 3100)
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
+
### Releasing
|
|
235
|
+
|
|
236
|
+
```sh
|
|
237
|
+
npm run release:patch # or release:minor / release:major
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
This bumps the version, commits, tags `vX.Y.Z` and pushes. The tag triggers
|
|
241
|
+
`.github/workflows/publish.yml`, which type-checks, tests and publishes to npm through
|
|
242
|
+
trusted publishing (no npm token anywhere), with provenance. Then run the **Deploy MCP**
|
|
243
|
+
workflow to update the hosted server at mcp.tradestaq.com.
|
|
244
|
+
|
|
234
245
|
## Error Handling
|
|
235
246
|
|
|
236
247
|
All tool errors return structured responses:
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-staq/tradestaq-mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"mcpName": "io.github.the-staq/tradestaq-mcp",
|
|
5
5
|
"description": "MCP server for automated crypto trading. 46 tools for AI agents: create strategies, backtest, deploy trading bots, copy trade, monitor positions, and manage portfolios on Binance, Bybit, OKX, and more. Works with Claude, Cursor, and any MCP client.",
|
|
6
6
|
"type": "module",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"lint": "tsc --noEmit",
|
|
24
24
|
"prepublishOnly": "npm run build",
|
|
25
25
|
"version": "echo $npm_package_version > VERSION && git add VERSION",
|
|
26
|
-
"release:patch": "npm version patch && git push && git push --tags
|
|
27
|
-
"release:minor": "npm version minor && git push && git push --tags
|
|
28
|
-
"release:major": "npm version major && git push && git push --tags
|
|
26
|
+
"release:patch": "npm version patch && git push && git push --tags",
|
|
27
|
+
"release:minor": "npm version minor && git push && git push --tags",
|
|
28
|
+
"release:major": "npm version major && git push && git push --tags"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
31
|
"mcp",
|
|
@@ -55,21 +55,21 @@
|
|
|
55
55
|
"license": "MIT",
|
|
56
56
|
"repository": {
|
|
57
57
|
"type": "git",
|
|
58
|
-
"url": "https://github.com/the-staq/tradestaq-mcp.git"
|
|
58
|
+
"url": "git+https://github.com/the-staq/tradestaq-mcp.git"
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://tradestaq.com",
|
|
61
61
|
"author": "TradeStaq <hello@tradestaq.com>",
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
63
|
+
"node": ">=20"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
67
|
-
"zod": "^
|
|
66
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
67
|
+
"zod": "^4.6.7"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/node": "^22.0.0",
|
|
71
71
|
"tsx": "^4.19.0",
|
|
72
72
|
"typescript": "^5.7.0",
|
|
73
|
-
"vitest": "^
|
|
73
|
+
"vitest": "^5.0.5"
|
|
74
74
|
}
|
|
75
75
|
}
|