@dwlf/mcp-server 0.60.0 → 0.61.0
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/README.md +6 -0
- package/dist/data/onchainCatalogue.d.ts +28 -0
- package/dist/data/onchainCatalogue.d.ts.map +1 -0
- package/dist/data/onchainCatalogue.js +2368 -0
- package/dist/data/onchainCatalogue.js.map +1 -0
- package/dist/index.js +14 -65
- package/dist/index.js.map +1 -1
- package/dist/profiles.d.ts +25 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +118 -0
- package/dist/profiles.js.map +1 -0
- package/dist/register.d.ts +5 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/register.js +68 -0
- package/dist/register.js.map +1 -0
- package/dist/tools/onchain-catalogue.d.ts +4 -0
- package/dist/tools/onchain-catalogue.d.ts.map +1 -0
- package/dist/tools/onchain-catalogue.js +89 -0
- package/dist/tools/onchain-catalogue.js.map +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -112,6 +112,12 @@ Returns an API key immediately. Use this key for both REST API and MCP to ensure
|
|
|
112
112
|
|----------|----------|---------|-------------|
|
|
113
113
|
| `DWLF_API_KEY` | Yes | — | Your DWLF API key (`dwlf_sk_...`) |
|
|
114
114
|
| `DWLF_API_URL` | No | `https://api.dwlf.co.uk` | API base URL |
|
|
115
|
+
| `DWLF_TOOL_PROFILE` | No | `full` | Tool set: `full` (every tool) or `block` (the Bitcoin subset for DWLF Block). The `--profile <name>` flag does the same and wins. An unknown name stops the server with the reason. |
|
|
116
|
+
|
|
117
|
+
### Tool profiles
|
|
118
|
+
|
|
119
|
+
- **`full`** (default): every tool, as before.
|
|
120
|
+
- **`block`**: about 50 tools for Bitcoin users of DWLF Block: the conditions check, on-chain event descriptions, events, custom events, strategies, backtests, alerts, the academy and quotas. The retail, portfolio, trade-journal and metals tools are hidden. A profile only hides tools: the API key's permissions and quotas are the same either way. Set-up for each client: [docs/BLOCK.md](docs/BLOCK.md).
|
|
115
121
|
|
|
116
122
|
## Tools
|
|
117
123
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface OnchainEventEntry {
|
|
2
|
+
id: string;
|
|
3
|
+
pack: string;
|
|
4
|
+
meaning: string;
|
|
5
|
+
inputs: string | null;
|
|
6
|
+
historyStart: string | null;
|
|
7
|
+
threshold: string | null;
|
|
8
|
+
caveats: string | null;
|
|
9
|
+
granularity: string | null;
|
|
10
|
+
keySuffix: string | null;
|
|
11
|
+
estimated: boolean;
|
|
12
|
+
methodVersion: number | null;
|
|
13
|
+
frequency: {
|
|
14
|
+
perYear: number | null;
|
|
15
|
+
last3y: number | null;
|
|
16
|
+
first: string | null;
|
|
17
|
+
last: string | null;
|
|
18
|
+
} | null;
|
|
19
|
+
}
|
|
20
|
+
export declare const ONCHAIN_CATALOGUE_AS_OF = "2026-11-03";
|
|
21
|
+
export declare const ONCHAIN_CATALOGUE_BRK_VERSION = "0.12.2";
|
|
22
|
+
export declare const ONCHAIN_PACKS: Record<string, {
|
|
23
|
+
title: string;
|
|
24
|
+
summary: string;
|
|
25
|
+
count: number;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const ONCHAIN_EVENTS: OnchainEventEntry[];
|
|
28
|
+
//# sourceMappingURL=onchainCatalogue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onchainCatalogue.d.ts","sourceRoot":"","sources":["../../src/data/onchainCatalogue.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE;QAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;CAChH;AAED,eAAO,MAAM,uBAAuB,eAAe,CAAC;AACpD,eAAO,MAAM,6BAA6B,WAAW,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAoC3F,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,iBAAiB,EAqxE7C,CAAC"}
|