mcp: MCP server calling application use cases
This commit is contained in:
39
crates/mcp/Cargo.toml
Normal file
39
crates/mcp/Cargo.toml
Normal file
@@ -0,0 +1,39 @@
|
||||
[package]
|
||||
name = "mcp"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[[bin]]
|
||||
name = "k-tv-mcp"
|
||||
path = "src/main.rs"
|
||||
|
||||
[features]
|
||||
default = ["sqlite", "jellyfin"]
|
||||
sqlite = ["dep:adapter-sqlite", "infra-wiring/sqlite"]
|
||||
postgres = ["dep:adapter-postgres", "infra-wiring/postgres"]
|
||||
jellyfin = ["dep:adapter-jellyfin"]
|
||||
|
||||
[dependencies]
|
||||
domain = { workspace = true }
|
||||
application = { workspace = true }
|
||||
infra-wiring = { workspace = true }
|
||||
adapter-auth = { workspace = true }
|
||||
adapter-event-publisher = { workspace = true }
|
||||
|
||||
adapter-sqlite = { workspace = true, optional = true }
|
||||
adapter-postgres = { workspace = true, optional = true }
|
||||
adapter-jellyfin = { workspace = true, optional = true }
|
||||
|
||||
rmcp = { version = "0.1", features = ["server", "transport-io"] }
|
||||
tokio = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
anyhow = "1"
|
||||
thiserror = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
schemars = "0.8"
|
||||
async-trait = { workspace = true }
|
||||
dotenvy = "0.15"
|
||||
Reference in New Issue
Block a user