@zltquant/zlt-mcp 0.1.0-rc.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 ADDED
@@ -0,0 +1,41 @@
1
+ # @zltquant/zlt-mcp
2
+
3
+ 智量通(ZLT Quant)量化研究 MCP server:策略创建、本地回测、行情数据下载。
4
+ 仅支持 Windows x64。本地回测运行时(智能管家 + 投研模块)不随包发布,由
5
+ `zlt-runtime-install` 工具按需引导安装。
6
+
7
+ ## 接入
8
+
9
+ 把下面的配置加进你的 MCP 客户端(Trae / WorkBuddy / Claude Code / Cursor 等),
10
+ API Key 在 https://api.zltquant.com/login 登录后获取:
11
+
12
+ ```json
13
+ {
14
+ "mcpServers": {
15
+ "zlt-quant": {
16
+ "command": "npx",
17
+ "args": ["-y", "@zltquant/zlt-mcp"],
18
+ "env": { "ZLTQUANT_API_KEY": "<你的智量通 API Key>" }
19
+ }
20
+ }
21
+ }
22
+ ```
23
+
24
+ 也可以固定安装后用 node 直接启动(技能市场的 zlt-mcp-setup 技能走这条路):
25
+
26
+ ```powershell
27
+ npm i @zltquant/zlt-mcp --prefix "$env:USERPROFILE\.zlt-quant" --registry https://registry.npmmirror.com
28
+ ```
29
+
30
+ 连接器 `command` 用 `node`,`args` 指向
31
+ `%USERPROFILE%\.zlt-quant\node_modules\@zltquant\zlt-mcp\zlt-mcp-proxy.bundle.cjs`
32
+ 即可 —— 随包发布的 `config.json` 会被自动找到,无需 `ZLT_MCP_CONFIG`。
33
+
34
+ ## 配套技能
35
+
36
+ 量化技能(策略生成、回测执行与验收、结果分析、装机引导)见 gitee 组合仓,
37
+ 克隆后运行 `install.ps1`:
38
+
39
+ ```text
40
+ git clone https://gitee.com/shenzhen-zhiliang-tong/zlt-quant
41
+ ```