Before You Start
You need:ZenRows Account
A ZenRows account
ZenRows API Key
Your ZenRows API key
Node.js
Latest version of Node.js installed on your machine
Windsurf
Windsurf installed
Setup
Step 1: Open the configuration file
Open the Windsurf MCP configuration file:If the file does not exist yet, create it.
Step 2: Add the ZenRows MCP server
Paste the following into the configuration file, replacing
YOUR_ZENROWS_API_KEY with your actual API key:Start scraping
Ask Windsurf’s AI assistant to scrape a webpage in plain English:Troubleshooting
Thescrape tool is not available
Confirm the configuration file is saved at ~/.codeium/windsurf/mcp_config.json and contains valid JSON. You can validate the JSON syntax at jsonlint.com. Then restart Windsurf.
Page content is missing or incomplete
The page likely loads content dynamically. Ask the assistant to enable JavaScript rendering: