@pgnio/helios-mcp 0.2.9 → 0.5.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 +19 -2
- package/dist/chunk-XM257Y63.mjs +4307 -0
- package/dist/cli.js +2284 -1358
- package/dist/cli.mjs +8 -4
- package/dist/index.d.mts +1032 -134
- package/dist/index.d.ts +1032 -134
- package/dist/index.js +2250 -987
- package/dist/index.mjs +79 -3
- package/docs/ai-agent-mcp/04_trading/01_tools.txt +2 -1
- package/package.json +9 -16
- package/dist/chunk-7TMDGB6C.mjs +0 -3084
- package/dist/chunk-LMZEWQVW.mjs +0 -3084
package/dist/cli.mjs
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
+
DEFAULT_HELIOS_BASE_URL,
|
|
4
|
+
MCP_PROFILES,
|
|
3
5
|
createHeliosAgentMcpServer
|
|
4
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XM257Y63.mjs";
|
|
5
7
|
|
|
6
8
|
// src/cli.ts
|
|
7
9
|
async function main() {
|
|
8
|
-
const identityServiceUrl = process.env.HELIOS_IDENTITY_SERVICE_URL ||
|
|
9
|
-
const dataBridgeUrl = process.env.HELIOS_DATA_BRIDGE_URL ||
|
|
10
|
+
const identityServiceUrl = process.env.HELIOS_IDENTITY_SERVICE_URL || DEFAULT_HELIOS_BASE_URL;
|
|
11
|
+
const dataBridgeUrl = process.env.HELIOS_DATA_BRIDGE_URL || DEFAULT_HELIOS_BASE_URL;
|
|
10
12
|
const { StdioServerTransport } = await import("@modelcontextprotocol/sdk/server/stdio.js");
|
|
11
13
|
const { server } = await createHeliosAgentMcpServer({
|
|
12
14
|
identityServiceUrl,
|
|
13
15
|
dataBridgeUrl,
|
|
14
|
-
sessionPath: process.env.HELIOS_AGENT_MCP_SESSION_PATH
|
|
16
|
+
sessionPath: process.env.HELIOS_AGENT_MCP_SESSION_PATH,
|
|
17
|
+
// lean (default): smart money first, short answers for small models; full adds candles and every indicator.
|
|
18
|
+
profile: MCP_PROFILES.includes(process.env.HELIOS_MCP_PROFILE) ? process.env.HELIOS_MCP_PROFILE : "lean"
|
|
15
19
|
});
|
|
16
20
|
const transport = new StdioServerTransport();
|
|
17
21
|
await server.connect(transport);
|