Cursor IDE Integration
Enable AI-powered web scraping in Cursor IDE with CrawlForge MCP. Configure using .cursorrules or the MCP plugin for seamless integration.
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:
.cursorrules fileCreate or edit .cursorrules in your project root:
.cursorrules method is project-specific, while the settings method applies globally to all projects.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 18 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 18 tools and their parameters.
Troubleshooting
1. Check .cursorrules syntax is valid YAML
2. Ensure Node.js 18+ is installed: node --version
3. Verify the package is installed: npx crawlforge-mcp-server --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