-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (61 loc) · 1.9 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (61 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "hyper-mcp-proxy"
version = "0.3.5"
edition = "2024"
authors = ["Joseph Wortmann <joseph.wortmann@gmail.com>"]
description = "A streamable-http to stdio MCP proxy"
keywords = ["rust", "ai", "mcp", "cli", "streamable-http"]
categories = ["command-line-utilities"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hyper-mcp-rs/hyper-mcp-proxy"
homepage = "https://github.com/hyper-mcp-rs/hyper-mcp-proxy"
documentation = "https://github.com/hyper-mcp-rs/hyper-mcp-proxy"
[dependencies]
anyhow = "1.0"
axum = "0.8"
clap = { version = "4.6", features = ["derive"] }
http = "1"
rmcp = { version = "2.2", features = [
"server",
"client",
"transport-streamable-http-server",
"transport-streamable-http-server-session",
"transport-child-process",
"elicitation",
] }
tokio = { version = "1.52", features = ["full"] }
tokio-util = "0.7"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
[dev-dependencies]
libc = "0.2"
reqwest = { version = "0.13", features = ["json"] }
rmcp = { version = "2.2", features = [
"client",
"server",
"transport-io",
"transport-streamable-http-client",
"transport-streamable-http-client-reqwest",
] }
serde_json = "1.0"
tokio = { version = "1.52", features = ["full"] }
[[bin]]
name = "hyper-mcp-proxy"
path = "src/main.rs"
# Mock stdio MCP server used only by integration tests. Built whenever
# `cargo test` (or any other target that pulls in dev-dependencies) runs,
# located via `env!("CARGO_BIN_EXE_mock-mcp-child")` from the test code.
# It compiles for `cargo build` too — the binary is tiny and depending on
# a dev-only Cargo feature would force callers to remember a flag.
[[bin]]
name = "mock-mcp-child"
path = "tests/support/mock_mcp_child.rs"
test = false
bench = false
doc = false
[package.metadata.release]
publish = true
push = true
tag = true
tag-name = "v{{version}}"