[package]
edition = "2024"
name = "docs-mcp"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server using the crates.io API and docs.rs published rustdoc JSON"
readme = "README.md"
keywords = [
"mcp",
"rustdoc",
"docs",
"doc",
"crates",
]
license = "MIT"
repository = "https://github.com/mmgeorge/docs-mcp"
[lib]
name = "docs_mcp"
path = "src/lib.rs"
[[bin]]
name = "docs-mcp"
path = "src/main.rs"
[[test]]
name = "integration_cratesio"
path = "tests/integration_cratesio.rs"
[[test]]
name = "integration_docsrs"
path = "tests/integration_docsrs.rs"
[[test]]
name = "mcp_server"
path = "tests/mcp_server.rs"
[[test]]
name = "unit_cache_zstd"
path = "tests/unit_cache_zstd.rs"
[[test]]
name = "unit_docsrs_parser"
path = "tests/unit_docsrs_parser.rs"
[[test]]
name = "unit_sparse_index"
path = "tests/unit_sparse_index.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.directories]
version = "5"
[dependencies.governor]
version = "0.8"
[dependencies.hex]
version = "0.4"
[dependencies.http]
version = "1"
[dependencies.nonzero_ext]
version = "0.3"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"gzip",
"brotli",
]
[dependencies.reqwest-middleware]
version = "0.4"
[dependencies.rmcp]
version = "0.16"
features = [
"server",
"macros",
"transport-io",
"schemars",
]
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-std",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.zstd]
version = "0.13"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.rmcp]
version = "0.16"
features = [
"server",
"client",
"macros",
"transport-io",
"schemars",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-std",
"fs",
"time",
]