Skip to main content
Glama
omgwtfwow

MCP Server for Crawl4AI

by omgwtfwow

manage_session

Manage browser sessions to maintain state across multiple web interactions. Create persistent sessions, clear existing ones, or list active sessions for handling login flows, forms, and multi-step processes.

Instructions

[SESSION MANAGEMENT] Unified tool for managing browser sessions. Supports three actions:

• CREATE: Start a persistent browser session that maintains state across calls • CLEAR: Remove a session from local tracking • LIST: Show all active sessions with age and usage info

USAGE EXAMPLES:

  1. Create session: {action: "create", session_id: "my-session", initial_url: "https://example.com"}

  2. Clear session: {action: "clear", session_id: "my-session"}

  3. List sessions: {action: "list"}

Browser sessions maintain ALL state (cookies, localStorage, page) across multiple crawl calls. Essential for: forms, login flows, multi-step processes, maintaining state across operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: create, clear, or list
browser_typeNoBrowser engine for the session (action="create").chromium
initial_urlNoURL to load when creating session (action="create").
session_idNoSession identifier. Required for action="clear". Optional for create (auto-generated if omitted).

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/omgwtfwow/mcp-crawl4ai-ts'

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