agent_client_protocol_polyfill/lib.rs
1//! # agent-client-protocol-polyfill
2//!
3//! Polyfill proxies for backward compatibility with agents that don't support
4//! newer ACP features natively.
5//!
6//! ## MCP-over-ACP Polyfill
7//!
8//! The [`mcp_over_acp`] module provides a proxy that bridges MCP-over-ACP transport
9//! for agents that don't support `mcpCapabilities.acp`. It intercepts `NewSessionRequest`
10//! to transform `McpServer::Http` entries with `acp:` URLs into localhost TCP bridges,
11//! and handles `_mcp/*` messages by routing them through those bridges.
12
13pub mod mcp_over_acp;