Expand description
Model Context Protocol (MCP) client integration for external tool servers.
Provides McpToolRegistryManager for connecting to MCP servers and
exposing their tools as awaken Tool instances.
Re-exports§
pub use error::McpError;pub use manager::McpPromptEntry;pub use manager::McpRefreshHealth;pub use manager::McpResourceEntry;pub use manager::McpServerStatusSnapshot;pub use manager::McpServerToolEntry;pub use manager::McpToolRegistry;pub use manager::McpToolRegistryManager;pub use manager::ResourceUpdated;pub use plugin::McpPlugin;pub use progress::McpProgressUpdate;pub use sampling::DefaultSamplingHandler;pub use sampling::FixedSamplingHandlerFactory;pub use sampling::SamplingHandler;pub use sampling::SamplingHandlerFactory;pub use transport::ListChangedKind;pub use transport::McpCallContext;pub use transport::McpCallMetadata;pub use transport::McpCallSampling;pub use transport::McpPromptArgument;pub use transport::McpPromptDefinition;pub use transport::McpPromptMessage;pub use transport::McpPromptResult;pub use transport::McpResourceDefinition;pub use transport::McpToolTransport;
Modules§
- config
- MCP server connection configuration types.
- error
- Error types for the MCP extension crate.
- id_
mapping - Tool ID sanitization: “server_name/tool_name” -> clean identifier.
- manager
- MCP tool registry manager: server lifecycle, tool discovery, periodic refresh.
- plugin
- McpPlugin: integrates MCP tool registry with awaken’s Plugin system.
- progress
- MCP progress reporting types and helpers.
- sampling
- Sampling handler for routing MCP
sampling/createMessagerequests to an LLM. - transport
- MCP tool transport: wraps MCP tool calls as awaken
Toolimplementations.
Structs§
- McpServer
Connection Config - Configuration for connecting to an MCP server.
Enums§
- Transport
Type Id - Transport type identifier.