---
title: What is an MCP host?
type: glossary
url: https://agentsfordevs.com/glossary/mcp-host
markdown: https://agentsfordevs.com/glossary/mcp-host.md
publisher: Agents for Devs
author: Agents for Devs desk
reviewed_by: Agents for Devs desk
published: 2026-12-06
updated: 2026-12-06
license: https://agentsfordevs.com/reuse
citation: Agents for Devs. "What is an MCP host?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/mcp-host
attribution: Credit Agents for Devs and link to https://agentsfordevs.com/glossary/mcp-host
term: MCP host
aliases:
  - MCP host application
---

# 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.

**Definition:** 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.

```python
# 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](/glossary/mcp-client) · [Human-in-the-loop](/glossary/human-in-the-loop) · [Claude Code MCP config](/guides/claude-code-mcp) · [VS Code MCP config](/guides/vscode-mcp) · [How coding agents ask permission](/guides/coding-agent-permissions)

## Sources

1. [Architecture overview, Model Context Protocol](https://modelcontextprotocol.io/docs/learn/architecture)
2. [Architecture (specification version 2026-07-28), Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/architecture)
3. [Specification (version 2026-07-28), Model Context Protocol](https://modelcontextprotocol.io/specification/latest)

## Changelog

- 2026-12-06: 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: https://agentsfordevs.com/glossary/mcp-host.md
- Reuse: quote or summarize with a link to the page. Terms: https://agentsfordevs.com/reuse
