[package]
name = "mcpz"
version = "0.3.4"
edition = "2021"
description = "Runtime MCP router tool for running MCP servers via npx, uvx, or cargo"
license = "MIT"
authors = ["Mark Kockerbeck <xeb@hey.com>"]
repository = "https://github.com/xeb/mcpz"
homepage = "https://longrunningagents.com"
readme = "README.md"
keywords = ["mcp", "cli", "router", "npx", "uvx"]
categories = ["command-line-utilities", "development-tools"]

[[bin]]
name = "mcpz"
path = "src/main.rs"

[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# CLI
clap = { version = "4", features = ["derive"] }

# Terminal UI
colored = "2"

# Error handling
thiserror = "2"
anyhow = "1"

# Config/cache
toml = "0.8"
dirs = "5"

# Date/time formatting
chrono = "0.4"

# HTTP client for API requests
reqwest = { version = "0.12", features = ["json", "blocking"] }
urlencoding = "2"

# HTTP server (for --http mode)
axum = "0.7"
axum-extra = { version = "0.9", features = ["typed-header"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
futures = "0.3"

# TLS support
rcgen = "0.13"
rustls = "0.23"
rustls-pemfile = "2"
tokio-rustls = "0.26"
axum-server = { version = "0.7", features = ["tls-rustls"] }

# UUID for session IDs
uuid = { version = "1", features = ["v4"] }

# Browser automation
rand = "0.8"
base64 = "0.22"

# SQL database support with native drivers for full type support
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "mysql", "sqlite", "chrono"] }

# SHA256 for cert fingerprint
sha2 = "0.10"
hex = "0.4"

# Time for certificate validity
time = "0.3"

[dev-dependencies]
tempfile = "3"

[profile.release]
lto = true
strip = true
