[package]
edition = "2024"
rust-version = "1.97"
name = "modelcontextprotocol"
version = "0.2.4"
build = false
exclude = [
"/.opencode",
"/docs/.vitepress/cache",
"/docs/.vitepress/dist",
"/docs/node_modules",
"/memory.jsonl",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Filesystem, Fetch, Memory, Shell, Skills, and Agents MCP servers in a single binary, implementing the Model Context Protocol 2026-07-28 specification."
documentation = "https://docs.rs/modelcontextprotocol"
readme = "README.md"
keywords = [
"mcp",
"agents",
"skills",
"filesystem",
"ai",
]
categories = [
"command-line-utilities",
"web-programming",
]
license = "MIT"
[[bin]]
name = "modelcontextprotocol"
path = "src/main.rs"
[[test]]
name = "agents_mcp"
path = "tests/agents_mcp.rs"
[[test]]
name = "agents_openrouter_e2e"
path = "tests/agents_openrouter_e2e.rs"
[[test]]
name = "agents_server"
path = "tests/agents_server.rs"
[[test]]
name = "fetch_server"
path = "tests/fetch_server.rs"
[[test]]
name = "fs_server"
path = "tests/fs_server.rs"
[[test]]
name = "memory_server"
path = "tests/memory_server.rs"
[[test]]
name = "openrouter_e2e"
path = "tests/openrouter_e2e.rs"
[[test]]
name = "shell_server"
path = "tests/shell_server.rs"
[[test]]
name = "skills_agents_acceptance"
path = "tests/skills_agents_acceptance.rs"
[[test]]
name = "skills_mcp"
path = "tests/skills_mcp.rs"
[[test]]
name = "skills_server"
path = "tests/skills_server.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.23"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.globset]
version = "0.4"
[dependencies.html2md]
version = "=0.2.15"
[dependencies.mime_guess]
version = "2"
[dependencies.reqwest]
version = "0.13"
features = ["rustls-no-provider"]
default-features = false
[dependencies.rmcp]
version = "3.1"
features = [
"client",
"transport-io",
"transport-child-process",
"transport-streamable-http-client-reqwest",
"reqwest-tls-no-provider",
]
[dependencies.robotstxt]
version = "0.3"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"logging",
"std",
"tls12",
]
default-features = false
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.10"
package = "yaml_serde"
[dependencies.similar]
version = "3"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"fs",
"io-util",
"process",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v7"]
[dev-dependencies.rmcp]
version = "3.1"
features = [
"client",
"transport-child-process",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tiny_http]
version = "0.12"
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = true