Move the MCP server into Rust, hosted by the app and yaak mcp (#752)

This commit is contained in:
Gregory Schier authored and GitHub committed 2026-10-14 21:51:40 -07:00
1 parent b6c1f700f1
commit 72b43f7110
35 files changed
+2501 -61

No files matched your search

Generated
+121
View File
@@ -1682,6 +1682,16 @@ dependencies = [
"darling_macro 0.23.0",
]
[[package]]
name = "darling"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
dependencies = [
"darling_core 0.24.1",
"darling_macro 0.24.1",
]
[[package]]
name = "darling_core"
version = "0.20.11"
@@ -1708,6 +1718,19 @@ dependencies = [
"syn 2.0.119",
]
[[package]]
name = "darling_core"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
dependencies = [
"ident_case",
"proc-macro2",
"quote",
"strsim",
"syn 3.0.3",
]
[[package]]
name = "darling_macro"
version = "0.20.11"
@@ -1730,6 +1753,17 @@ dependencies = [
"syn 2.0.119",
]
[[package]]
name = "darling_macro"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
dependencies = [
"darling_core 0.24.1",
"quote",
"syn 3.0.3",
]
[[package]]
name = "dashmap"
version = "6.1.0"
@@ -5717,6 +5751,12 @@ dependencies = [
"windows-targets 0.52.6",
]
[[package]]
name = "pastey"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4"
[[package]]
name = "path-slash"
version = "0.2.1"
@@ -6781,6 +6821,51 @@ dependencies = [
"libc",
]
[[package]]
name = "rmcp"
version = "3.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5023804cbe0304cbe06197ac16e645a0a0d0ffa2953bf735c15c2fa0213350"
dependencies = [
"async-trait",
"base64 0.23.1",
"bytes",
"chrono",
"futures",
"http",
"http-body",
"http-body-util",
"indexmap 2.14.0",
"pastey",
"pin-project-lite",
"rand 0.10.2",
"rmcp-macros",
"schemars 1.2.1",
"serde",
"serde_json",
"sse-stream",
"thiserror 2.0.21",
"tokio",
"tokio-stream",
"tokio-util",
"tower-service",
"tracing",
"uuid",
]
[[package]]
name = "rmcp-macros"
version = "3.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1da498700030856ba63114bceefa30ba21f5e278cb975e5b9de3529fe842b40"
dependencies = [
"darling 0.24.1",
"proc-macro2",
"quote",
"serde_json",
"syn 3.0.3",
]
[[package]]
name = "rolldown"
version = "0.1.0"
@@ -7452,6 +7537,7 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc"
dependencies = [
"chrono",
"dyn-clone",
"ref-cast",
"schemars_derive 1.2.1",
@@ -8162,6 +8248,19 @@ dependencies = [
"web-sys",
]
[[package]]
name = "sse-stream"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c25ac7aff0abd1dbc474536e40416e1102c7dd9bfba0b9861c6d357f835dcfb4"
dependencies = [
"bytes",
"futures-util",
"http-body",
"http-body-util",
"pin-project-lite",
]
[[package]]
name = "stable_deref_trait"
version = "1.2.0"
@@ -11148,6 +11247,7 @@ dependencies = [
"yaak-license",
"yaak-lifecycle",
"yaak-mac-window",
"yaak-mcp",
"yaak-models",
"yaak-plugins",
"yaak-rpc",
@@ -11198,6 +11298,7 @@ dependencies = [
"predicates",
"rand 0.8.7",
"reqwest",
"rmcp",
"rolldown",
"schemars 0.8.22",
"serde",
@@ -11214,6 +11315,7 @@ dependencies = [
"yaak-crypto",
"yaak-http",
"yaak-lifecycle",
"yaak-mcp",
"yaak-models",
"yaak-plugins",
"yaak-templates",
@@ -11419,6 +11521,25 @@ dependencies = [
"tauri-plugin",
]
[[package]]
name = "yaak-mcp"
version = "0.1.0"
dependencies = [
"bytes",
"http-body-util",
"hyper",
"hyper-util",
"log 0.4.34",
"reqwest",
"rmcp",
"serde",
"serde_json",
"tokio",
"tokio-util",
"yaak-models",
"yaak-plugins",
]
[[package]]
name = "yaak-models"
version = "0.1.0"