See llms.txt for all machine-readable content.
This workflow exposes a POST webhook that accepts large tool/MCP outputs, runs parallel compression strategies, enforces a target token budget, and returns an optimized context package with before/after metrics and an audit trail, using HTTP Request calls plus custom JavaScript processing.
/mcp-context-optimize webhook containing context/tool results plus optional token budget, strategy, and field include/exclude hints.signingSecret value in the first code step to securely sign session tokens.defaultTokenBudget, maxInputChars, and charsPerTokenEstimate to match your LLM and expected payload sizes.https://httpbin.org/post URLs in the three HTTP Request steps with your own compression/summarization endpoints (or keep them as-is for echo/testing)./mcp-context-optimize into the system that will send tool/MCP outputs.