Module mcp

Source
Available on crate feature mcp only.
Expand description

Add tools from a Model Context Protocol endpoint Add tools provided by an MCP server to an agent

Uses the rmcp crate to connect to an MCP server and list available tools, and invoke them

Supports any transport that the rmcp crate supports

Structs§

McpToolbox
Connects to an MCP server and provides tools at runtime to the agent.

Enums§

ToolFilter
A filter to apply to the available tools