Expand description
ReasonKit Web - High-Performance Browser Connector
A Rust-powered MCP server for browser automation, web capture, and content extraction.
§Features
- CDP Integration: Chrome DevTools Protocol client for browser automation
- MCP Server: Model Context Protocol server for AI agent integration
- Content Extraction: HTML parsing and structured data extraction
- WASM Support: Browser-native execution via WebAssembly
§Example
ⓘ
use reasonkit_web::BrowserConnector;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let connector = BrowserConnector::new().await?;
let page = connector.navigate("https://example.com").await?;
let content = page.capture_content().await?;
Ok(())
}Re-exports§
pub use browser::controller::BrowserController;pub use error::Error;pub use extraction::content::ContentExtractor;pub use extraction::links::LinkExtractor;pub use extraction::metadata::MetadataExtractor;pub use mcp::McpServer;
Modules§
- browser
- Browser automation module
- buffer
- In-memory capture buffer for web content
- config
- Configuration defaults
- cors
- CORS (Cross-Origin Resource Sharing) Configuration for ReasonKit Web
- error
- Error types for ReasonKit Web
- extraction
- Content extraction module
- handlers
- HTTP handlers for the ReasonKit Web server
- mcp
- Model Context Protocol (MCP) server module
- metrics
- Metrics Collection for ReasonKit Web Observability
- processing
- DOM Content Processing Utilities
- shutdown
- Graceful shutdown handling for ReasonKit Web server
Constants§
Functions§
- generate_
request_ id - Generate a unique request ID (UUID v4)