Skip to main content
In v3, MCP integrations attached external tool servers to a Stagehand agent. Stagehand v4 has no autonomous agent and ships no MCP client, so there is no integrations surface to configure. Call your MCP servers from your own code instead, as below.

Calling MCP servers from your code

Interleave your tool results with Stagehand’s primitives. Because v4 has no autonomous loop, you are already writing the orchestration, so a tool call is one more step in the sequence.
MCP is still useful on the authoring side: wire the Stagehand docs MCP server into your coding assistant so it generates correct v4 code. See AI Rules.

Next steps

Act

Perform a single action with natural language

Extract

Pull typed data out of any page

AI rules

MCP servers for your coding assistant