xpile_mcp/lib.rs
1//! MCP (Model Context Protocol) server.
2//!
3//! Exposes xpile's transpile / repair / inspect tools to IDE
4//! assistants like Claude Code, mirroring the pattern in
5//! `depyler-mcp` and `decy-mcp`.
6//!
7//! TODO: wire up actual MCP transport (likely PMCP SDK).
8
9pub struct McpServer {
10 pub bind_addr: String,
11}
12
13impl McpServer {
14 pub fn new(bind_addr: impl Into<String>) -> Self {
15 Self {
16 bind_addr: bind_addr.into(),
17 }
18 }
19}