@indodax-mcp/daemon
v2.1.0
Published
Long-running operational daemon for the INDODAX MCP server: market refresh, reconciliation, and portfolio snapshots.
Downloads
728
Maintainers
Readme
@indodax-mcp/daemon
Long-running operational daemon for the INDODAX MCP server. It refreshes the market cache on an interval and writes portfolio snapshots, so a long-running deployment does not depend on an agent polling it.
Install
bun add -g @indodax-mcp/daemonRun
indodax-daemonThe daemon reads the same environment as the MCP server. INDODAX_API_KEY and
INDODAX_API_SECRET are optional: without them the daemon runs in read-only
mode against the public API and performs no authenticated call.
INDODAX_API_KEY=... INDODAX_API_SECRET=... indodax-daemonBehavior
- Handles
SIGINTandSIGTERMwith a clean shutdown that stops the interval jobs and runs the shutdown hooks, then exits 0. A signal that arrives in the first moments of startup, before the handlers are installed, terminates the process by signal instead; nothing is persisted at that point, so there is nothing to flush. - The interval jobs are in-memory. Restarting the daemon clears them.
- It never places, cancels, or withdraws an order. Order placement belongs to the MCP server, behind risk review.
License
SSPL-1.0. See the LICENSE file in the repository root.
