Two doors into the same engine: the MCP tools an agent calls directly, and the CLI the agent (or you) can drive from a terminal or script. Same daemon, same session, same knowledge cache either way. This page is the contract, not a tutorial.
MCP Tools
Pipeline steps
Use with the execute tool. Steps run sequentially with a 20s stale-state timeout.
API reverse engineering
Use the reverse-engineer tool to capture a site's API while your agent browses it. It records the fetch/XHR calls made while driving it, not static assets, including auth tokens, cookies, headers, and response bodies.
How to use it
The agent runs the same pipeline steps as execute, but records all network calls the page makes.
What it saves
Ask for TypeScript output to get .ts files with inferred types from the captured response bodies. A worked example: docs/example in the repo.
CLI reference
Everything above through a terminal instead of MCP, same daemon, same session. iframer-toolkit and iframer are the same binary; npx iframer-toolkit ... works without a global install.
For the daemon, browser modes, and knowledge cache this all runs on, see architecture.
Open source · MIT license · 2026