Your agent can read files, edit them, and run commands, including the festival’s tests. It can start the festival’s web server and fetch the page’s HTML. However, the search results only appear once a browser runs the page’s JavaScript, so an agent without a browser tool can’t see them. An MCP server is one way to add that tool. MCP, the Model Context Protocol, is an open standard for giving an agent tools it doesn’t have.
Key Points
- A server offers tools. A browser server is a separate program from the festival’s web server. When your session starts, the agent program starts it and asks which tools it offers. Playwright’s browser server answered with 25 tools in December 2026 (
@playwright/mcp0.0.86, default tools), such as one to open a page and one to read what’s on it. Their names and descriptions join the agent’s own tools in the request the model receives with your task. - One tool call is a round trip:
- The model asks for a tool to open the search page, with “fiddle” already searched.
- The agent program checks your settings. With approval on, it shows you the call, and you approve it.
- The agent program passes the call to the server, which opens the page in its own browser, with its own access. Your approval decides whether the call runs, not what the server can do.
- The server sends back the page’s title as text. A second call, to the reading tool, makes the same trip and brings back the results.
- That text goes into the context, next to your task. It tells the model what each result says, but not how it looks.
- A server can reach whatever its access allows, whatever your task says. Your task named only the festival’s page, but when the model asked for
https://example.com/, the same server opened it once the call was approved, and that page’s text came back the same way. So read the address on the approval card before you approve. - What comes back is untrusted text. A web page can carry instructions, and in the context they sit right next to yours.
- There are two kinds of server. The agent starts a local process, such as the browser server, on your machine, so it has your access and can do whatever your account can do there. A remote server, such as an issue tracker’s server on a code host like GitHub, is reached over HTTP. GitHub’s server needs a token, a key that lets it act on your account. It turned away a request with no token, and with one it can do what that token allows.
The Calls From the Video
Here are the two calls. The server’s side is real. It ran in December 2026 with Playwright’s browser server (@playwright/mcp 0.0.86), against a small stand-in for the festival’s search page. The model’s request and your approval were drawn the way an agent would show them, and your agent’s calls will differ: