Overview
Connect Claude Desktop to the Playwright MCP server and a folder with a CSV export, so Claude can fill a long web form one record at a time and show you a screenshot to check before you submit.
Problem or Objective
- Which agents complete online forms from data you provide?
- Which agents can operate a web browser for you?
More in Business Operations
AI Agents and Models
Tools and Integrations
- Tools
- Claude Desktop · Playwright MCP
- Prerequisites
- Claude Desktop, Node.js 20 or newer for Playwright MCP, and the filesystem MCP server for the CSV folder.
How It Works
Export the spreadsheet rows you need as a CSV into one folder. In Claude Desktop, add the filesystem MCP server with access to that folder and the Playwright MCP server using the standard configuration from its README (both need Node.js). Ask Claude to read the header row and the first record, open the form page, and show you a mapping of each column to a form field before typing anything. Once you approve the mapping, have it fill the fields for that one record with the fill form tool and take a screenshot of the filled page. Compare the screenshot and the page with the row, correct any field, and press submit yourself. Repeat record by record, and keep a column in your copy of the sheet for rows that are done or need attention. Try the whole flow first on a test entry or a draft if the site offers one.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Desktop.
- Connect the toolsConnect the tools this workflow relies on: Claude Desktop, Playwright MCP.
- Check the prerequisitesClaude Desktop, Node.js 20 or newer for Playwright MCP, and the filesystem MCP server for the CSV folder.
- Gather your detailsCollect what the prompt asks for: CSV export path, Record to fill, Form address.
- Run the starter promptPaste the starter prompt below into Claude Desktop and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at modelcontextprotocol.io before you rely on it.
Practical Starter Prompt: Fill one form entry from a CSV row
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read [CSV export path] and take record number [Record to fill]. Open [Form address] in the Playwright browser. First show me a table that maps each CSV column to the form field you would put it in, and list any field with no matching column. Wait for my approval of the mapping. Then fill the fields for this record only, take a screenshot of the filled form, and stop. Do not press submit, save or any button that sends the form; I check the screenshot and submit it myself.Claude proposes the field mapping, waits for your approval, fills one record and stops at a screenshot. You check it and press submit yourself; Claude never sends the form.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The MCP guide says local servers give Claude Desktop tools it uses with your approval, such as reading files. The Playwright MCP README lists Claude Desktop among supported clients and documents tools to fill multiple form fields and take screenshots, working from accessibility snapshots of the page. It also says Playwright MCP is not a security boundary. No cited page covers any particular form site or its rules on automation.
Limitations and Considerations
Each tool action needs your approval in Claude Desktop; read the field mapping before approving. Playwright MCP is not a security boundary, so give the browser and the folder access only to what this job needs. Check the form site's terms on automated entry, and whether it saves drafts. Personal data in the sheet passes through Claude, so remove columns the form does not need. Submit each record yourself after checking the screenshot. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
Tool Repository
A tool this workflow relies on.
Sources
- Connect to local MCP servers - Model Context Protocol (opens in a new tab)
Project documentation · modelcontextprotocol.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- MCP servers are programs that run on your computer and provide capabilities to Claude Desktop; the Filesystem Server provides tools for reading file contents and directory structures and for creating new files and directories.
- Each server exposes tools that Claude can use to perform actions, with your approval.
- The Filesystem Server and many other MCP servers require Node.js to run.
- microsoft/playwright-mcp README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 11:40 UTC
What this source supports
- A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright, letting LLMs interact with web pages through structured accessibility snapshots.
- Requirements: Node.js 20 or newer and an MCP client such as VS Code, Cursor, Windsurf or Claude Desktop.
- browser_fill_form: Fill multiple form fields; browser_take_screenshot: Take a screenshot of the current page.
- Playwright MCP is not a security boundary.