MCP server
An MCP server is a software component that implements the Model Context Protocol to expose tools, data, or other capabilities to compatible clients.
Spring AI in Action
An MCP server is an application component that communicates through the Model Context Protocol to expose capabilities or contextual information to an MCP client.
- How it is used
- Exposes reusable tools, prompts, and resources so LLM applications can access capabilities beyond the model itself.
- How deep it goes
- Builds servers from Spring Boot setup through tool registration, inspection, client integration, transports, prompts, and resources; defers Streamable HTTP.
- Examples
- Uses filesystem access, board-game database queries, MCP Inspector invocations, and structured game prompts and resources.
- What you can do after
- Build it from scratch with Spring AI, test it with MCP Inspector, and connect it to an LLM application over STDIO or HTTP+SSE.
AI Agents in Action, Second Edition
An MCP server is a service that exposes tools, prompts, and resources to AI applications through the Model Context Protocol.
- How it is used
- Uses MCP servers as reusable integration boundaries for agent actions and shared capabilities.
- How deep it goes
- Works through tool registration, client connection, deployment choices, lifecycle management, and operational trade-offs.
- Examples
- Illustrates research-source and journal tools, plus a Brave Search server configured with an API key.
- What you can do after
- Apply MCP via FastMCP and Claude Desktop to expose and connect a simple tool.
Read how AI Agents in Action, Second Edition explains MCP server →
Grokking AI Applications
An MCP server is a service that implements the Model Context Protocol to expose tools and related capabilities to compatible clients or agents.
- How it is used
- Connects assistants and applications to reusable tools through a standard discovery-and-invocation protocol.
- How deep it goes
- Explains tool reuse, governance, automatic Langflow setup, and Python client-server mechanics including handshake, discovery, and invocation.
- Examples
- Uses enterprise assistants, culinary travel flows, a calculator server, stdio communication, and embedded website chat.
- What you can do after
- Build it from scratch with FastMCP, expose tools, connect a client, list capabilities, and invoke selected tools programmatically.
Build AI-Enhanced Web Apps
An MCP server is a server-side program that implements the Model Context Protocol and exposes tools, prompts, and resources to clients or AI applications.
- How it is used
- Connects AI web applications to reusable external capabilities through MCP servers.
- How deep it goes
- Works through server registration, stdio transport, client integration, error handling, and operational considerations.
- Examples
- Uses a joke-fetching API tool, a summarization prompt, a Markdown resource, and a Next.js chat application.
- What you can do after
- Apply it via the MCP SDK and Vercel AI SDK to connect a local server to a Next.js application.
Vibe Engineering
An MCP server is a service that exposes structured, executable tools and data-access capabilities through the Model Context Protocol.
- How it is used
- Connects agents to external tools and current information through a standardized interface.
- How deep it goes
- Explains client-server operation and governance tradeoffs through workflows and context measurements, without a server implementation walkthrough.
- Examples
- Uses a React profile card, file-picker dependency research, and a context-usage breakdown to illustrate server use and costs.
- What you can do after
- Evaluate MCP integrations against context overhead, security risks, governance needs, and available CLI alternatives.
Context Engineering
An MCP server is a software component that exposes capabilities or information to AI applications through the Model Context Protocol.
- How it is used
- Extends AI agents with discoverable external context and actions without hard-coding each integration.
- How deep it goes
- Explains architecture and tool schemas, then implements a minimal custom server while setting aside production-grade browser automation.
- Examples
- Uses a filesystem server in Goose Desktop and a custom Selenium browser server to illustrate integration and implementation.
- What you can do after
- Build a minimal browser-control server with the MCP SDK and Selenium, and configure a filesystem server in Goose Desktop.
AI Agents and Applications
An MCP server is a service endpoint that exposes tools through the Model Context Protocol.
- How it is used
- Standardizes how agents discover and use service capabilities without individually wrapping each service.
- How deep it goes
- Works through server construction, client integration, and verification while leaving prompts and other shared resources for further study.
- Examples
- Builds an AccuWeather server and replaces a travel agent’s mock weather tool with live data.
- What you can do after
- Build an MCP server with FastMCP 2 and integrate its tools into an agent using MultiServerMCPClient.
Hugging Face in Action
An MCP server is a software service that implements the Model Context Protocol to expose data or executable capabilities to AI assistants and clients.
- How it is used
- Bridges AI assistants and applications to external data sources and executable tools through a standardized interface.
- How deep it goes
- Explains components, JSON-RPC communication, transports, Python construction, testing, configuration, and client integration without deeper protocol internals.
- Examples
- Demonstrates weather retrieval, file and PDF access, temperature conversion, prompts, location lookup, and Claude Desktop workflows.
- What you can do after
- Build an MCP server in Python, validate it with MCP Inspector, configure it for Claude Desktop, and connect third-party servers.
Build an AI Agent (From Scratch)
An MCP server is a protocol component that exposes tools, executes requested tools, and returns their results, potentially by connecting to external services or data.
- How it is used
- Connects agent tool decisions to discoverable, executable tools and external services through an MCP client.
- How deep it goes
- Explains discovery and execution, then implements and verifies a decorated Python tool; focuses on tools rather than prompts or resources.
- Examples
- Uses the official Tavily server and a custom search_web server to demonstrate discovery and web search.
- What you can do after
- Apply FastMCP to register a Python function as a server tool and verify it with an MCP client.
Read how Build an AI Agent (From Scratch) explains MCP server →
Building LLM Applications with DSPy
A component that exposes tools or data to an MCP client through the Model Context Protocol.
- How it is used
- Provides a shared tool interface between agents and existing external services or knowledge bases.
- How deep it goes
- Explains server registration and client discovery through an implementation, focusing on tools rather than resources or reusable prompts.
- Examples
- Uses a WixQA server with article search and retrieval tools, then connects it to a DSPy support agent.
- What you can do after
- Apply it via FastMCP and DSPy to expose backend operations and discover them in a ReAct agent.
Read how Building LLM Applications with DSPy explains MCP server →
Claude at Work
An MCP server is lightweight middleware that exposes an external system's operations and data to an AI client through the Model Context Protocol.
- How it is used
- Connects Claude to external systems so it can discover available operations, read data, and make controlled changes.
- How deep it goes
- Details middleware, OAuth authentication, bidirectional actions, and per-action permissions without implementation instructions.
- Examples
- Uses email drafting with approval for a write action and names GitHub, Slack, and Google Drive connectors.
- What you can do after
- Operate connectors by choosing whether actions are allowed, require confirmation, or are blocked.
Authorization in Action
An MCP server is a software component that exposes tools and data-source capabilities through the Model Context Protocol.
- How it is used
- Connects AI applications to external tools and data sources while supporting structured agent operations.
- How deep it goes
- Explains discovery, schemas, API translation, and result handling, but stops short of defining authorization decisions.
- Examples
- Uses document search, calendar access, database queries, workflow actions, and a customer-document JSON tool schema.
- What you can do after
- Apply structured tool exposure to integrate agents with multiple systems without custom integration code for each one.
Designing AI Systems
An MCP server is a server that exposes tools through the Model Context Protocol for discovery and invocation by compatible clients.
- How it is used
- Connects AI applications to external systems through discoverable and invokable capabilities.
- How deep it goes
- Explains roles, primitives, transport integration, credentials, policies, tracking, and deployment, but not server implementation code.
- Examples
- Uses GitHub, Postgres, databases, APIs, file systems, codebases, issue creation, repository listing, and platform registration.
- What you can do after
- Operate/configure external MCP integrations through namespaces, credential references, policies, rate limits, discovery, and routed execution.
Introduction to Generative AI, Second Edition
An MCP server is a component that exposes selected data sources, services, prompt templates, and executable tools through the Model Context Protocol.
- How it is used
- Connects language models with selected organizational data, services, prompts, and tools through a standardized interface.
- How deep it goes
- Defines exposed resources and gives concrete examples, but stops short of implementation details or protocol mechanics.
- Examples
- Uses Splunk queries, cloud-provider logs, log analysis prompts, and time-based log filtering as concrete examples.
- What you can do after
- Apply MCP through a client to query monitoring data and invoke tools using natural-language requests.
Read how Introduction to Generative AI, Second Edition explains MCP server →
Build a Multi-Agent System (from Scratch)
An MCP server is a program that exposes tools or contextual resources to clients through the Model Context Protocol.
- How it is used
- Supplies external tools that LLM agents can call through MCP clients.
- How deep it goes
- Defines server and client roles, tool execution, sessions, and transports; points toward connection management without detailing its implementation.
- Examples
- Contrasts local stdio servers with remote streamable-HTTP servers and shows multiple tools supplied by one server.
- What you can do after
- Apply MCP by connecting an LLM agent to local or remote servers and using their tools.
Read how Build a Multi-Agent System (from Scratch) explains MCP server →
Building Reliable AI Systems
An MCP server is a server component that implements the Model Context Protocol and exposes tools or data capabilities to compatible AI applications.
- How it is used
- Connects AI applications to external tools or data through a shared interface instead of one-off integrations.
- How deep it goes
- Traces tool discovery, schema exchange, execution, and results, but does not detail protocol internals.
- Examples
- Uses a CSV product catalog, a vest-search request, and an email-tool schema to illustrate server tools.
- What you can do after
- Build and expose a product-search server, then connect it to an AI runtime for tool discovery and execution.
Building Distributed Applications that Work
An MCP server is a software component that exposes tools, resources, or contextual information to a language model through the Model Context Protocol.
- How it is used
- Connects a coding assistant to an Aspire instance so it can inspect services, diagnose problems, and work with resources.
- How deep it goes
- Defines the client-server interaction and lists Aspire tools, while treating the available tool list as non-exhaustive.
- Examples
- Uses service discovery, resource commands, logs, traces, integration documentation, and app-host selection as tool examples.
- What you can do after
- Configure an Aspire MCP server for a coding assistant and use its tools to inspect and work with the Aspire instance.
Read how Building Distributed Applications that Work explains MCP server →
AI Governance
An MCP server is a software component that exposes tools or data sources to AI agents through the Model Context Protocol.
- How it is used
- Connects AI agents to external tools and data sources through a shared interface, reducing the need for custom integrations.
- How deep it goes
- Explains integration benefits and security risks, including permissions, tool descriptions, and dynamic discovery.
- Examples
- Uses database, document, and email integrations, plus a GitHub permission example and a malicious tool-description instruction.
- What you can do after
- Evaluate MCP integration risks by checking permission scope, tool descriptions, connected data sources, and changing tool availability.
Also covered in
- Server-Side WebAssembly
- Architecting for AutonomyIn early access (MEAP)
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- toolA software tool is a capability or utility that enables a person or system to perform a defined task or operation.
- contractA contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
- AI agentAn 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.
Related concepts
- mcp clientused by · An MCP client is a software component that connects a host application to an MCP server to discover and invoke capabilities exposed through the Model Context Protocol.
- MCP inspectorused by · MCP Inspector is a developer tool for connecting to Model Context Protocol servers to inspect, test, invoke, and diagnose their exposed capabilities.
- contractuses · A contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
- list_toolsimplements · list_tools is a Model Context Protocol operation that requests the tools exposed by a server, including their descriptions and input schemas when provided.
- MCPimplements · The Model Context Protocol is an open standard that defines how AI applications connect with external tools, data sources, and other contextual resources.
Questions about MCP server
What is MCP server?
An MCP server is a software component that implements the Model Context Protocol to expose tools, data, or other capabilities to compatible clients.
Which Manning books explain MCP server?
Spring AI in Action, AI Agents in Action, Second Edition, Grokking AI Applications, Build AI-Enhanced Web Apps, Vibe Engineering, Context Engineering, AI Agents and Applications, Hugging Face in Action and 10 more.
What should I know before learning MCP server?
Manning books that teach MCP server usually introduce language model, tool, contract and AI agent first.
What is MCP server part of?
MCP server is part of MCP architecture. MCP architecture is the organization of MCP clients, servers, and protocol primitives that enables AI applications to access external capabilities.
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.

















