Use the optional Page SDK
Evaluate the SDK for sequences with known steps.
When it helps
The Page SDK is optional. It runs in the Agent’s own code environment and uses the same permissions. Ordinary MCP connections do not require it.
Consider it for continuous or repeated workflows when the steps are known, the environment can connect, and there is a likely benefit. Use ordinary MCP for simple reading, unfamiliar page exploration, or tasks requiring frequent decisions.
Get a matching version
Call gateway_sdk_get through your connected Agave MCP to obtain the matching version, SHA-256, and usage guide. Reuse a verified matching package if you already have one; otherwise download it and verify the hash.
The app’s Agent integration settings also offer SDK export and conditional usage instructions. Exported packages contain no Tokens or browsing data.
Choose an environment
Use the module approach described in the guide when your host provides a programmable MCP bridge. Consider the node approach when Node.js 22+ is already available and the user has supplied connection information.
If the environment cannot connect, continue with ordinary MCP. Do not scan another client’s credentials or automatically install a separate runtime for a simple task.
Mix approaches carefully
A task may use ordinary MCP and the SDK in different stages. If an outcome is uncertain, observe the current page or action result first. Do not replay actions already performed when switching approaches.
The SDK has no separate authorization path and does not bypass client, tool, space, or website permissions.