liveBook · Manning

MCP tool

As explained in Build a Multi-Agent System (from Scratch)

An MCP tool is an executable capability exposed through the Model Context Protocol.

An MCP tool is an executable capability supplied through the Model Context Protocol. Suppliers define tools; AI applications and LLM agents consume them to extend their capabilities. section 5.1.1

An MCP client sends a tool-execution request to an MCP server, the external system that supplies the tool. Multiple tools can share a server, each with a corresponding server-side definition. Servers can run locally over stdio or remotely over streamable HTTP. section 5.1.3

Figure 5.4 The MCP architecture integrated into LLM agents and our framework

See how MCP servers, clients, and tools connect to an LLM agent and its framework. section 5.1.3

A framework can expose MCP tools to an agent through MCPTool and MCPToolProvider. In a multi-agent system, a tool can be assigned to one agent or selected agents; shared providers must also handle concurrent connection setup. section 5.0 section 5.4

How Build a Multi-Agent System (from Scratch) covers it

How deep it goes
Defines supplier-consumer roles and traces client requests to server-side tool definitions, without detailing their implementation.
Examples
Uses a Hailstone MCP tool in a multi-agent system and proposes connecting one agent to three MCP servers.
What you can do after
Apply MCP by equipping an LLM agent with tools from local or remote MCP servers.
How it connects
Connects MCP tools to MCP clients, MCP servers, and AI agents, distinguishing them from MCP resources and prompts.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Multi-Agent System (from Scratch). The section links point to the parts of the book it draws on.