Cursor IDE Integration
Enable AI-powered web scraping in Cursor IDE with CrawlForge MCP. The setup wizard auto-configures Cursor, or add the server to ~/.cursor/mcp.json yourself.
Prerequisites
Download from cursor.com
RequiredInstall from nodejs.org
RequiredGet from dashboard
Free1Install CrawlForge MCP Server
First, install the CrawlForge MCP server package globally.
npx crawlforge-setup to configure your API key automatically.2Configure Cursor IDE
Choose your preferred configuration method:
~/.cursor/mcp.json for youRun the wizard—if Cursor is installed it adds the CrawlForge server automatically:
Restart Cursor afterwards to load the server.
~/.cursor/mcp.json applies to every project, while a project-level .cursor/mcp.json scopes the server to that repo.3Set Your API Key
Configure your API key using one of these methods:
Run the setup wizard to configure your API key:
4Test the Integration
Restart Cursor IDE and test the CrawlForge MCP integration.
Restart Cursor IDE
Close and reopen Cursor to load the MCP configuration
Open AI Chat
Press Cmd/Ctrl + L to open the AI chat
Test a Command
Try one of the example prompts below
"Search for the latest AI news"
"Extract all links from example.com"
"Crawl the documentation site and summarize it"
"Extract product prices from this e-commerce site"
Available Tools
After setup, Cursor will have access to all 23 CrawlForge MCP tools:
fetch_url
Fetch HTML from URLs
extract_text
Extract clean text
extract_links
Extract all links
extract_metadata
Get page metadata
scrape_structured
CSS selector extraction
batch_scrape
Parallel batch scraping
deep_research
AI-powered research
search_web
Web search integration
See the full API reference for all 23 tools and their parameters.
Troubleshooting
1. Check ~/.cursor/mcp.json is valid JSON
2. Ensure Node.js 18+ is installed: node --version
3. Verify the CLI is installed: crawlforge --version
4. Restart Cursor IDE completely
1. Run npx crawlforge-setup to reconfigure
2. Check API key starts with cf_
3. Verify environment variable is set in your shell
4. Generate a new API key from the dashboard
1. Check Cursor's MCP plugin is enabled in settings
2. Try using the global settings instead of .cursorrules
3. Clear Cursor's cache and restart
4. Check Cursor's console for error messages