Skip to main content
Glama

CodeGraph CLI MCP Server

by Jakedismo
Cargo.toml7.9 kB
# 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 = "rmcp" version = "0.7.0" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust SDK for Model Context Protocol" homepage = "https://github.com/modelcontextprotocol/rust-sdk" documentation = "https://docs.rs/rmcp" readme = "README.md" license = "MIT" repository = "https://github.com/modelcontextprotocol/rust-sdk/" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [features] __reqwest = ["dep:reqwest"] auth = [ "dep:oauth2", "__reqwest", "dep:url", ] client = ["dep:tokio-stream"] client-side-sse = [ "dep:sse-stream", "dep:http", ] default = [ "base64", "macros", "server", ] elicitation = [] macros = [ "dep:rmcp-macros", "dep:paste", ] reqwest = [ "__reqwest", "reqwest?/rustls-tls", ] reqwest-tls-no-provider = [ "__reqwest", "reqwest?/rustls-tls-no-provider", ] schemars = ["dep:schemars"] server = [ "transport-async-rw", "dep:schemars", ] server-side-http = [ "uuid", "dep:rand", "dep:tokio-stream", "dep:http", "dep:http-body", "dep:http-body-util", "dep:bytes", "dep:sse-stream", "tower", ] tower = ["dep:tower-service"] transport-async-rw = [ "tokio/io-util", "tokio-util/codec", ] transport-child-process = [ "transport-async-rw", "tokio/process", "dep:process-wrap", ] transport-io = [ "transport-async-rw", "tokio/io-std", ] transport-sse-client = [ "client-side-sse", "transport-worker", ] transport-sse-client-reqwest = [ "transport-sse-client", "reqwest", ] transport-sse-server = [ "transport-async-rw", "transport-worker", "server-side-http", "dep:axum", ] transport-streamable-http-client = [ "client-side-sse", "transport-worker", ] transport-streamable-http-client-reqwest = [ "transport-streamable-http-client", "reqwest", ] transport-streamable-http-server = [ "transport-streamable-http-server-session", "server-side-http", "transport-worker", ] transport-streamable-http-server-session = [ "transport-async-rw", "dep:tokio-stream", ] transport-worker = ["dep:tokio-stream"] [lib] name = "rmcp" path = "src/lib.rs" [[test]] name = "test_completion" path = "tests/test_completion.rs" [[test]] name = "test_complex_schema" path = "tests/test_complex_schema.rs" [[test]] name = "test_deserialization" path = "tests/test_deserialization.rs" [[test]] name = "test_elicitation" path = "tests/test_elicitation.rs" required-features = [ "elicitation", "client", "server", ] [[test]] name = "test_embedded_resource_meta" path = "tests/test_embedded_resource_meta.rs" [[test]] name = "test_json_schema_detection" path = "tests/test_json_schema_detection.rs" [[test]] name = "test_logging" path = "tests/test_logging.rs" required-features = [ "server", "client", ] [[test]] name = "test_message_protocol" path = "tests/test_message_protocol.rs" required-features = ["client"] [[test]] name = "test_message_schema" path = "tests/test_message_schema.rs" required-features = [ "server", "client", "schemars", ] [[test]] name = "test_notification" path = "tests/test_notification.rs" required-features = [ "server", "client", ] [[test]] name = "test_progress_subscriber" path = "tests/test_progress_subscriber.rs" required-features = [ "server", "client", "macros", ] [[test]] name = "test_prompt_handler" path = "tests/test_prompt_handler.rs" [[test]] name = "test_prompt_macro_annotations" path = "tests/test_prompt_macro_annotations.rs" [[test]] name = "test_prompt_macros" path = "tests/test_prompt_macros.rs" [[test]] name = "test_prompt_routers" path = "tests/test_prompt_routers.rs" [[test]] name = "test_resource_link" path = "tests/test_resource_link.rs" [[test]] name = "test_resource_link_integration" path = "tests/test_resource_link_integration.rs" [[test]] name = "test_sampling" path = "tests/test_sampling.rs" [[test]] name = "test_structured_output" path = "tests/test_structured_output.rs" [[test]] name = "test_tool_builder_methods" path = "tests/test_tool_builder_methods.rs" [[test]] name = "test_tool_handler" path = "tests/test_tool_handler.rs" [[test]] name = "test_tool_macro_annotations" path = "tests/test_tool_macro_annotations.rs" [[test]] name = "test_tool_macros" path = "tests/test_tool_macros.rs" required-features = [ "server", "client", ] [[test]] name = "test_tool_result_meta" path = "tests/test_tool_result_meta.rs" [[test]] name = "test_tool_routers" path = "tests/test_tool_routers.rs" [[test]] name = "test_with_js" path = "tests/test_with_js.rs" required-features = [ "server", "client", "transport-sse-server", "transport-child-process", "transport-streamable-http-server", "transport-streamable-http-client", "__reqwest", ] [[test]] name = "test_with_python" path = "tests/test_with_python.rs" required-features = [ "reqwest", "server", "client", "transport-sse-server", "transport-sse-client", "transport-child-process", ] [dependencies.axum] version = "0.8" features = [] optional = true [dependencies.base64] version = "0.22" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.futures] version = "0.3" [dependencies.http] version = "1" optional = true [dependencies.http-body] version = "1" optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.oauth2] version = "5.0" optional = true [dependencies.paste] version = "1" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.process-wrap] version = "8.2" features = ["tokio1"] optional = true [dependencies.rand] version = "0.9" optional = true [dependencies.reqwest] version = "0.12" features = [ "json", "stream", ] optional = true default-features = false [dependencies.rmcp-macros] version = "0.7.0" optional = true [dependencies.schemars] version = "1.0" features = ["chrono04"] optional = true [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0" [dependencies.sse-stream] version = "0.2" optional = true [dependencies.thiserror] version = "2" [dependencies.tokio] version = "1" features = [ "sync", "macros", "rt", "time", ] [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.tokio-util] version = "0.7" [dependencies.tower-service] version = "0.3" optional = true [dependencies.tracing] version = "0.1" [dependencies.url] version = "2.4" optional = true [dependencies.uuid] version = "1" features = ["v4"] optional = true [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.async-trait] version = "0.1" [dev-dependencies.schemars] version = "1.0" features = ["chrono04"] [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "std", "fmt", ] [target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.chrono] version = "0.4.38" features = [ "serde", "clock", "std", "oldtime", ] default-features = false [target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.chrono] version = "0.4.38" features = ["serde"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jakedismo/codegraph-rust'

If you have feedback or need assistance with the MCP directory API, please join our Discord server