[package]
name = "tauri-plugin-mcp"
version = "0.2.0"
authors = ["DonsWayo"]
description = "A Tauri plugin that enables AI agents to interact with GUIs through screenshots, DOM access, and input simulation via MCP"
edition = "2024"
license = "MIT"
repository = "https://github.com/DonsWayo/tauri-mcp"
exclude = ["/examples", "/dist-js", "/guest-js", "/node_modules"]
links = "tauri-plugin-mcp"
[dependencies]
anyhow = "1.0"
base64 = "0.13.0"
enigo = "0.3.0"
futures = "0.3"
image = "0.24.7"
interprocess = { version = "2.2.3", features = ["tokio"] }
log = "0.4"
serde = "1.0"
serde_json = "1.0"
tauri = { version = "2.5.0", features = [] }
thiserror = "2"
tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros"] }
# macOS: CoreGraphics/CoreFoundation used directly via FFI; xcap not needed
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.24.1"
core-graphics = "0.22.3"
objc = "0.2.7"
# Linux: use xcap for X11 window capture
[target.'cfg(target_os = "linux")'.dependencies]
xcap = "0.0.4"
[target.'cfg(target_os = "windows")'.dependencies]
win-screenshot = "4.0.5"
[build-dependencies]
tauri-plugin = { version = "2.2.0", features = ["build"] }
[profile.dev.package."*"]
opt-level = 0