liveBook · Manning

MCP host

An MCP host is an application that manages MCP clients and coordinates an AI system’s interaction with MCP servers and their capabilities.

How 2 Manning books explain it

Building LLM Applications with DSPy

The MCP host is the application that manages an MCP connection and decides when to invoke tools exposed by an MCP server.

How it is used
Places the host as the user-facing application that manages clients and decides when an agent invokes server tools.
How deep it goes
Explains host, client, and server roles and a DSPy connection workflow, but limits protocol coverage to integration essentials.
Examples
Uses a DSPy ReAct support agent to search Wix knowledge-base articles and read retrieved articles.
What you can do after
Builds a DSPy ReAct host that discovers MCP tools and invokes them through a server connection.

Read how Building LLM Applications with DSPy explains MCP host →

Designing AI Agents

An MCP host is an agent runtime component that connects an agent to Model Context Protocol capabilities and manages their use.

How it is used
Standardizes an agent runtime’s access to external tools through a uniform protocol.
How deep it goes
Defines JSON-schema capability discovery, standardized invocation, and structured results while abstracting tool implementations.
Examples
Connects to file systems, databases, APIs, browsers, and other agents through the same protocol.
What you can do after
Apply MCP to discover capabilities, invoke tools, and receive structured results.

Read how Designing AI Agents explains MCP host →

Also covered in

What to know first

Related concepts

Questions about MCP host

What is MCP host?

An MCP host is an application that manages MCP clients and coordinates an AI system’s interaction with MCP servers and their capabilities.

Which Manning books explain MCP host?

Building LLM Applications with DSPy and Designing AI Agents.

What should I know before learning MCP host?

Manning books that teach MCP host usually introduce MCP, tool, AI agent and HTTP first.

What is MCP host a kind of?

MCP host is a kind of AI agent. An AI agent is a computational system that uses artificial intelligence to interpret information and select or perform actions toward goals while interacting with an environment.

What is MCP host part of?

MCP host is part of virtual machine. A virtual machine is a software-defined execution environment that emulates or abstracts a computer system or machine model to run programs, often with isolation from its host.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.