v0.1.10 — runtime-tunable safety limits
Runtime-tunable safety limits — tighten the risk envelope without a redeploy.
Highlights
- feat(safety): the four per-order caps (
MCP_MAX_ORDER_SIZE_USD,MCP_DAILY_LIMIT_USD,MCP_MAX_CONTRACTS_PER_ORDER,MCP_CASH_RESERVE_USD) can now be tightened at runtime viakalshi_set_safety_limits— a fast clamp-down with no redeploy. The env vars remain the hard ceiling: the three caps may only go down, the cash reserve only up, and a runtime actor can never loosen past the env ceiling (fail-closed). Optional Redis persistence (MCP_REDIS_URL) makes a clamp-down survive restarts; in-memory otherwise. The tool is gated byMCP_ALLOW_RUNTIME_LIMIT_TUNING(#27, #35).
Install
pipx install kalshi-mcp-serverMulti-arch image: ghcr.io/cejor6/kalshi-mcp-server:v0.1.10.
Full changelog: v0.1.9...v0.1.10