Skip to main content

lspkit_mcp/
lib.rs

1//! `lspkit-mcp` — mount an [`lspkit::EngineApi`] implementation as an MCP server.
2//!
3//! Wraps the official Rust MCP SDK behind a newtype wall so consumers do not
4//! depend on the SDK's public API in their own public types. Tools, resources,
5//! and prompts are registered through this crate's surface and routed to the
6//! engine.
7
8pub mod adapter;
9pub mod tools;
10
11pub use crate::adapter::{Adapter, AdapterError, ToolHandler, ToolInvocation};
12pub use crate::tools::{ToolDescription, ToolRegistry};