cmdhub-mcp 0.1.0

MCP (Model Context Protocol) server for CmdHub — enables AI Agents to search and execute CLI commands
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "cmdhub-mcp"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP (Model Context Protocol) server for CmdHub — enables AI Agents to search and execute CLI commands"
readme = false
license = "MIT"
repository = "https://github.com/Xuepoo/cmdhub-oss"

[[bin]]
name = "cmdhub-mcp"
path = "src/main.rs"

[[test]]
name = "mcp_integration_tests"
path = "tests/mcp_integration_tests.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.cmdhub-cli]
version = "0.1.0"

[dependencies.cmdhub-shared]
version = "0.1.0"

[dependencies.directories]
version = "6"

[dependencies.libc]
version = "0.2"

[dependencies.rusqlite]
version = "0.31"
features = [
    "bundled",
    "backup",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"