KosmoKrator

ai

Firecrawl MCP, CLI, and Lua Integration for AI Agents

Firecrawl integration docs for AI agents: MCP gateway setup, Firecrawl CLI commands, Lua API reference, credentials, and function schemas.

6 functions 6 read 0 write API key auth

Firecrawl for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
firecrawl
route_slug
firecrawl
package
firecrawl
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Firecrawl MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Firecrawl.

Firecrawl CLI Matrix

Use these pages for direct Firecrawl CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
firecrawl.firecrawl_scrape Read read 8 Scrape a single URL and extract its content. Returns the page content in the requested format (markdown by default). Supports actions like waiting for JavaScript, taking screenshots, and extracting specific elements.
firecrawl.firecrawl_crawl Read read 9 Start a crawl job to scrape all pages from a website starting at the given URL. Returns a crawl job ID — use firecrawl_get_crawl_status to check progress and retrieve results.
firecrawl.firecrawl_get_crawl_status Read read 1 Check the status and retrieve results of a crawl job. Returns the current status (scraping, completed, failed, cancelled) and all scraped data once complete.
firecrawl.firecrawl_map Read read 7 Map a website to discover all linked URLs. Returns a list of all URLs found on the site without scraping full content. Useful for understanding site structure before crawling.
firecrawl.firecrawl_extract Read read 7 Extract structured data from one or more URLs using AI. Provide a prompt describing what to extract, or a JSON schema for the expected output format. Ideal for pulling specific data points from web pages.
firecrawl.firecrawl_get_current_user Read read 0 Get the authenticated user's account information, including plan details and usage statistics. Useful for verifying API key validity and checking remaining credits.