Back to Home
amienbou121 icon

crawl4ai-mcp-server

Verified Safe

by amienbou121

Overview

Provides a self-hosted web scraping and crawling server, similar to Firecrawl's API, for integration with AI frameworks and agents.

Installation

Run Command
docker run --rm -i -v $(pwd)/crawls:/app/crawls -e CRAWL4AI_MCP_LOG=INFO uysalsadi/crawl4ai-mcp-server:latest

Environment Variables

  • CRAWL4AI_MCP_LOG
  • TARGET_URL
  • OPENAI_API_KEY

Security Notes

The server includes safety measures like blocking private/localhost URLs via `safety.py` to prevent access to internal networks. Output directories for persistence are created with a unique `run_id`, mitigating direct path traversal outside the designated mount point, but disk space exhaustion is still a potential risk if external input controls output volume. The `docker-compose.yml` uses `network_mode: host` for its main service, which reduces network isolation by sharing the host's network stack with the container, presenting a security concern if the host runs sensitive services or the container is exposed. No direct `eval` or obvious command injection vulnerabilities were found in the provided Python code.

Similar Servers

Stats

Interest Score30
Security Score6
Cost ClassHigh
Avg Tokens62500
Stars1
Forks0
Last Update2025-12-11

Tags

web scrapingcrawlingAI agentsMCP serverdata extraction