Glossary protocol/
What is an MCP host?
An MCP host is the AI application that creates and manages MCP clients, one per connected server, and owns the model integration, the conversation and the user's consent decisions.
Also called: MCP host application
# Pseudo-code from the MCP architecture overview
available_tools = []
for client in app.mcp_clients():
tools_response = await client.list_tools()
available_tools.extend(tools_response.tools)
conversation.register_available_tools(available_tools)
That loop is the host’s job in miniature: it holds one MCP client per configured server, collects each server’s tools and hands the combined list to the model. The MCP docs name Claude Code and Claude Desktop as hosts, and use Visual Studio Code as the worked example: connecting to a second server makes it create a second client object.
The spec (version 2026-07-28) lists the host’s duties: create and manage clients, control their permissions and lifecycle, enforce security policy and consent, handle user authorization decisions, coordinate the LLM integration and aggregate context. The full conversation stays with the host, and servers should not be able to “see into” each other.
So approval prompts, allow and deny rules and managed policy are host features, not protocol features. Two hosts connected to the same server can behave very differently.
See also: MCP client · Human-in-the-loop · Claude Code MCP config · VS Code MCP config · How coding agents ask permission
Related terms
Human-in-the-loop (HITL), MCP client, MCP server, Model Context Protocol (MCP)
Guides that cover MCP host
Sources
Changelog
- First published.
Cite this page
Agents for Devs. "What is an MCP host?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/mcp-host - Page: https://agentsfordevs.com/glossary/mcp-host
- Markdown version: https://agentsfordevs.com/glossary/mcp-host.md
- Reuse: quote or summarize with a link to this page. Reuse terms