[[bin]]
name = "mcp-server"
path = "src/bin/mcp_server.rs"
required-features = ["mcp-server"]
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
optional = true
version = "0.8"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5"
[dependencies.env_logger]
optional = true
version = "0.11"
[dependencies.headless_chrome]
version = "1.0.18"
[dependencies.html2md]
version = "0.2"
[dependencies.indexmap]
features = ["serde"]
version = "2.0"
[dependencies.log]
version = "0.4"
[dependencies.rmcp]
version = "0.8"
[dependencies.schemars]
version = "1.1"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["rt", "rt-multi-thread", "macros", "sync", "net", "signal"]
optional = true
version = "1"
[dependencies.tokio-util]
optional = true
version = "0.7"
[dev-dependencies.urlencoding]
version = "2.1"
[features]
default = ["mcp-handler"]
mcp-handler = ["rmcp/macros", "rmcp/server"]
mcp-server = ["mcp-handler", "rmcp/transport-io", "rmcp/transport-sse-server", "rmcp/transport-streamable-http-server", "tokio", "clap", "axum", "tokio-util", "env_logger"]
[lib]
name = "browser_use"
path = "src/lib.rs"
[package]
authors = ["BB-fat"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "development-tools"]
description = "A lightweight Rust library for browser automation via Chrome DevTools Protocol (CDP), featuring a built-in Model Context Protocol (MCP) server for AI-driven browser automation"
edition = "2024"
keywords = ["browser", "automation", "cdp", "devtools", "mcp"]
license = "MIT"
name = "browser-use"
readme = "README.md"
repository = "https://github.com/BB-fat/browser-use-rs"
version = "0.2.3"
[[test]]
name = "browser_tools_integration"
path = "tests/browser_tools_integration.rs"
[[test]]
name = "dom_integration"
path = "tests/dom_integration.rs"
[[test]]
name = "markdown_integration"
path = "tests/markdown_integration.rs"
[[test]]
name = "navigation_integration"
path = "tests/navigation_integration.rs"
[[test]]
name = "tab_management_integration"
path = "tests/tab_management_integration.rs"