Expand description
Model Context Protocol (MCP) server module
This module implements the MCP server for AI agent integration, providing web sensing tools through the MCP protocol.
Re-exports§
pub use types::JsonRpcError;pub use types::JsonRpcRequest;pub use types::JsonRpcResponse;pub use types::McpCapabilities;pub use types::McpServerInfo;pub use types::McpToolDefinition;pub use types::ToolCallParams;pub use types::ToolCallResult;pub use types::ToolContent;
Modules§
- types
- MCP protocol types MCP protocol types
Structs§
- McpServer
- MCP server state
- Tool
Registry - Tool registry holding all available tools
Constants§
- AVAILABLE_
TOOLS - List of all available tools (for documentation)
Traits§
- McpTool
- A registered MCP tool