Skip to content
CheckcraftDownload
Practical workflow

Playwright MCP and API checks: what the agent misses under the UI

Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →

An AI agent with Playwright MCP clicks buttons, fills forms and reports “order placed”. The screen can be green while the order is wrong: the total is miscalculated, the service log has an ERROR, the database row is off. Here is what Playwright MCP sees on its own, where its view ends and how to give the agent a check of the data under the UI.

Checkcraft ·

Get help with your first test →

What Playwright MCP sees on its own

Playwright MCP is Microsoft’s server that lets an agent drive a browser: open pages, read their structure, click and type. It also sees the network: browser_network_requests lists the page’s requests since it loaded, and browser_network_request returns headers and bodies of a specific request and response. So the agent can look at what the front end sent and what came back.

Where its view ends

Everything Playwright MCP sees has passed through the browser. It will not look into service logs and find this request by traceId, will not check the database row after the order, and will not compare the total with the rule from the requirements, unless the agent decides to. And an agent that both checks and judges tends to fit the expectation to the actual response: the test is green but proves nothing.

Diagram: requirements, AI drafts checks, a person reviews expectations, same run, report

The pairing: one tool for the browser, another for data checks

Split the roles. Playwright MCP walks the UI scenario. A second MCP server runs data checks by saved rules: the API response, the log entry by traceId, calculations from the requirements. In Checkcraft an agent can create a check from a description or a cURL command, run it and get a report that shows the expected value for a failed rule; in Pro it can add a database row check (SELECT only). Expected values come from the requirements, so the agent has nothing to fit the test to.

A sample request to the agent

Order requirements: POST /orders returns 201, status = NEW, total equals the sum of price × qty, and the service logs have no ERROR for the traceId. Walk the scenario in the browser with Playwright MCP, take the traceId from the response and run the check in Checkcraft. If anything does not match, show what was expected and what came back.

Repeatable check diagram: requirement, expectation, request, comparison, report

When you do not need a second tool

If you only test the UI (layout, texts, navigation), Playwright and its tests are enough. A second executor matters when the result under the UI counts: money, statuses, log and database records, and when someone other than the agent has to repeat the check. The Checkcraft MCP server ships in the Windows build 1.0.185 and later; the free edition works.

Next step

Repeat this on your own API

Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.

Download FreeDownload and first run

No sign-up or email needed, the archive is ready in a couple of minutes. See the edition limits.

References

Playwright MCP: network tools

Start with the linked example and compare its result with your own test requirement.

Ask a person

Get help with your first test

Tell us what you want to test or where you got stuck. We can help you start Checkcraft, choose an example and understand your first run. You can ask before downloading.

The Telegram group is public: do not post passwords, tokens or confidential work data. A description of your task is enough to start.

You can also email us support@checkcraft.ru

No account required. We will reply by email. This is a support request, not a newsletter subscription.