code-analyze-mcp 0.1.2

MCP server for code structure analysis using tree-sitter
Documentation
# 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 = "2024"
name = "code-analyze-mcp"
version = "0.1.2"
authors = ["Hugues Clouatre"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for code structure analysis using tree-sitter"
homepage = "https://github.com/clouatre-labs/code-analyze-mcp"
readme = "README.md"
keywords = [
    "mcp",
    "code-analysis",
    "tree-sitter",
    "lsp",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/clouatre-labs/code-analyze-mcp"

[lib]
name = "code_analyze_mcp"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

[[bench]]
name = "analysis"
path = "benches/analysis.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.ignore]
version = "0.4"

[dependencies.lru]
version = "0.16"

[dependencies.rayon]
version = "1"

[dependencies.rmcp]
version = "1"
features = [
    "server",
    "macros",
    "transport-io",
]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

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

[dependencies.tree-sitter]
version = "0.26.6"

[dependencies.tree-sitter-go]
version = "0.25.0"

[dependencies.tree-sitter-java]
version = "0.23.5"

[dependencies.tree-sitter-python]
version = "0.25.0"

[dependencies.tree-sitter-rust]
version = "0.24.0"

[dependencies.tree-sitter-typescript]
version = "0.23.2"

[dev-dependencies.criterion]
version = "=0.8.2"
features = ["html_reports"]

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

[profile.ci]
lto = false
codegen-units = 16
inherits = "release"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true