bykaranteli-mcp 1.1.1 → 1.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 +8 -0
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to the `bykaranteli-mcp` package. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Dates are UTC and come from the git tag of each release (the version commit where no tag exists). The tool count is the number of tools the server registers in that release.
|
|
4
4
|
|
|
5
|
+
## [1.1.2] - 2026-11-09
|
|
6
|
+
|
|
7
|
+
68 tools. Text only, no behaviour change.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- The server now sends `instructions` in its `initialize` answer: one paragraph a client model reads before its first call. It says that every market-data tool is read-only and the account tools that write are marked, that a free key is for evaluation and personal scripts while a bot, a dashboard or a polling agent that runs continuously takes a plan, that a tool is called no more often than its data refreshes, and that a 429 answer carries `retry-after`. The hosted endpoint has sent the same paragraph since 7 Nov 2026; the release check compares the two.
|
|
12
|
+
|
|
5
13
|
## [1.1.1] - 2026-11-03
|
|
6
14
|
|
|
7
15
|
68 tools. Text only, no behaviour change.
|
package/dist/index.js
CHANGED
|
@@ -24,8 +24,13 @@ const MAX_TOOL_INPUT_ELEMENTS = 2_000;
|
|
|
24
24
|
* 0.x releases served it; a client that opens with a 2026-07-28 per-request envelope (`server/discover` is the
|
|
25
25
|
* modern probe) is served on that revision, with the same tools. The factory is called once per connection, plus
|
|
26
26
|
* once for a discarded probe instance, so it registers the tools afresh each time. */
|
|
27
|
+
/* initialize.instructions (1.1.2, owner rule 2026-11-07): the one paragraph a client model reads before its first call,
|
|
28
|
+
* the same text the hosted endpoint sends (web/src/lib/mcp-hosted.ts HOSTED_INSTRUCTIONS; ops/mcp-release-check.py
|
|
29
|
+
* compares the two). Advice a well-behaved agent follows and relays to its user, never enforcement: the plan's rate
|
|
30
|
+
* and monthly figures refuse on the server, and a client's provider does not police our terms. */
|
|
31
|
+
const INSTRUCTIONS = "ByKaranteli serves recorded crypto derivatives market data (liquidations, funding, open interest, options, ETF flows, positioning, order flow); every market-data tool is read-only, and the account tools that change alerts or the watchlist are marked as writes. A free key is for evaluation and personal scripts; a bot, a dashboard or a polling agent that runs continuously takes a plan (Terminal, Builder or Business by use). Call a tool no more often than its data refreshes (the daily brief once a day). A 429 answer carries retry-after: wait that long before calling again instead of retrying.";
|
|
27
32
|
function buildServer() {
|
|
28
|
-
const server = new McpServer({ name: "bykaranteli", version: VERSION }, { maxToolInputElements: MAX_TOOL_INPUT_ELEMENTS });
|
|
33
|
+
const server = new McpServer({ name: "bykaranteli", version: VERSION }, { maxToolInputElements: MAX_TOOL_INPUT_ELEMENTS, instructions: INSTRUCTIONS });
|
|
29
34
|
registerByKaranteliTools(server, { version: VERSION });
|
|
30
35
|
return server;
|
|
31
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bykaranteli-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "MCP server for live crypto derivatives data from bykaranteli.com: funding rates, funding arbitrage, open interest pressure, liquidations, options, ETF flows, Fear & Greed and BTC dominance. 68 read-only and account tools (the alert and watchlist tools act on your own account), free account key, paid depth via plans or x402.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|