Ory logo

Microsoft Playwright MCP Server

Microsoft's Playwright MCP server equips AI agents with advanced browser automation capabilities across Chromium, Firefox, and WebKit engines. It allows agents to perform programmatic page navigation, interact with form fields and complex DOM selectors, capture full-page screenshots, run synthetic end-to-end regression tests, and execute reliable web scraping workflows.

Microsoft logo

Microsoft Playwright MCP Server

Benefits with Ory + Microsoft Playwright MCP Server

Microsoft's Playwright MCP server gives your agents browser automation across Chromium, Firefox, and WebKit, which makes it a common choice for end-to-end testing. A test agent pointed at the wrong environment can just as easily submit a real order or change account settings. Ory Agent Security lets review agents take snapshots and screenshots while clicking, typing, and navigation stay with the test agents you approve, and every Playwright tool call is tied to the user behind it.

Use Cases

Agent IAM

Set test agents to Write so they click, type and navigate, reserve Admin for the rare agent that runs page scripts, use Read for reviewers, and Block the rest.

Explore Agent IAM

Core Functionality

  1. Read, write, admin, or no access

    Ory Agent Security classifies every tool on the Playwright MCP server as read, write, or admin, so you can give each user, team, or agent type only the level it needs: read for review agents that capture snapshots and screenshots, write for end-to-end test agents, admin for test infrastructure agents that need full control of the browser, and no access for agents outside your testing workflow.

  2. Enforced before execution

    Ory Agent Security checks each tool call against the user, the agent acting for them, and any sub-agent inside the agent harness, so a denied form submission stops before it reaches the browser, with nothing to roll back and no gateway to deploy.

  3. Observe, then enforce

    Observe mode shows which Playwright actions each test agent relies on during a normal sprint without blocking anything, so you can apply Ory's pre-built policy for the Playwright MCP server and enforce it on your own schedule.

  4. Complete audit trail

    Every allow and deny decision on the Playwright MCP server streams to your SIEM through OpenTelemetry with the user, agent, and action attached, so you can show which agent submitted a form or changed a page, and for whom.