You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCP Hook Management — Create, list, update, and delete response hooks via MCP tools (create_hook, list_hooks, get_hook, update_hook, delete_hook). Skills can now set up complete auth token flows programmatically: create a login request, configure a hook to extract the token, execute login, and the token is captured into variables automatically.
update_variable MCP tool — Update a single environment variable by key directly via MCP.
set_env_variables returns full records — Now returns stable variable IDs and full metadata after upsert, enabling downstream hook targeting without a separate lookup.
get_request includes hooks_associated — Requests now surface any variable-linked hooks in their detail response.
Bug Fixes
Hook execution in MCP — execute_request now fires response hooks via process_hooks_headless(), so hooks trigger when requests are sent via MCP tools (not just the desktop UI).
Variable upsert preserves IDs — set_env_variables uses upsert-by-key semantics, preserving variable IDs and hook target foreign keys across updates (no more orphaned hook targets on re-sync).
Transactional hook writes — create_hook and update_hook are now wrapped in transactions to prevent partial state on failure.
Direct hook lookup — Added get_hook_by_id query for reliable single-hook retrieval.
Maintenance
Updated dependencies (bun.lock, Cargo.lock)
Updated piu-mcp skill to document all 57 tools including new Hooks and Variables sections
Updated piu-hyperf-sync skill with hook setup step in Phase 4 and match_paths on variables