Skip to main content
Glama
crawl4ai-map-handler.ts563 B
/** * Crawl4AI Map Handler * * Handler for the map tool that discovers URLs from a starting point */ import { createHandler, createStringValidator } from '../utils/handler-factory'; /** * Handler for discovering URLs */ export const handleCrawl4aiMap = createHandler('mapUrls', { validateParams: createStringValidator('url', 'URL is required and must be a string'), emptyResponseMessage: params => `No URLs were discovered from ${params.url}.`, errorContext: params => `Error mapping URLs from ${params.url}`, }); export default handleCrawl4aiMap;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BjornMelin/crawl4ai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server