imcp2 0.2.0

Minimal MCP server that bridges an LLM to the Internet Computer, speaking textual Candid.
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 = "2021"
name = "imcp2"
version = "0.2.0"
build = false
exclude = [
    ".github/",
    ".dockerignore",
    "Dockerfile",
    "deploy/",
    "docs/",
    "monitoring/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal MCP server that bridges an LLM to the Internet Computer, speaking textual Candid."
homepage = "https://mcp.internetcomputer.org"
readme = "README.md"
keywords = [
    "mcp",
    "internet-computer",
    "icp",
    "candid",
    "axum",
]
categories = [
    "network-programming",
    "web-programming::http-server",
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "Apache-2.0"
repository = "https://github.com/dfinity/imcp2"

[features]
e2e = ["dep:pocket-ic"]

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22.1"

[dependencies.candid]
version = "0.10.31"
features = ["value"]

[dependencies.candid_parser]
version = "0.3.2"

[dependencies.crc32fast]
version = "1"

[dependencies.getrandom]
version = "0.3.4"

[dependencies.hex]
version = "0.4.3"

[dependencies.ic-agent]
version = "0.49"

[dependencies.pocket-ic]
version = "15"
optional = true

[dependencies.prometheus]
version = "0.14"
features = ["process"]

[dependencies.regex]
version = "1.12.4"

[dependencies.reqwest]
version = "0.13"
features = ["rustls"]
default-features = false

[dependencies.rmcp]
version = "1.7"
features = [
    "server",
    "macros",
    "transport-streamable-http-server",
    "auth",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11.0"

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

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

[dependencies.tower-http]
version = "0.7"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]