MCP: From Motivation to DeploymentLesson 01

Why MCP? The Problem It Actually Solves

If LLMs can already call functions, and external services already provide APIs, what problem does MCP actually solve?

Tool call through an MCP client and server1 · Modeltool request2 · Host'sMCP client3 · Drive MCPserver4 · GoogleDrive API

The protocol details here refer to MCP version 2026-07-28.

An assistant needs access to the outside world

Imagine we are building an AI research assistant. We ask it to:

Research recent developments in agentic AI, compare them with my existing Google Drive notes, and create a summary in Notion.

A capable LLM can interpret the request and plan a summary, but it cannot retrieve your private Drive notes or save a document in Notion on its own. The application has to give it access to those external systems.

We already have APIs for that. Without MCP, we could build a custom integration layer:

Our application would need code to:

  1. Define callable functions the model can use.
  2. Describe each function and its input parameters.
  3. Execute the selected function against the correct API.
  4. Handle authentication, errors, and returned data.
  5. Pass relevant results back into the model's context.

This architecture works. MCP doesn't unlock integrations that were previously impossible; it addresses what happens when more applications need the same ones.

Repeating the integration work

Another developer builds a writing assistant that also needs Google Drive and Notion. They may have to adapt the integrations to their application's tool definitions, execution mechanisms, and interfaces. Multiply that work across more applications and services.

Without a shared standard, each app may interact with the same service differently. MCP gives compatible apps and integrations a common interface; it does not reduce the number of network connections.

The cost is the repeated integration work, not the number of API calls.

This is similar to the problem the Language Server Protocol (LSP) addresses for development environments and language tooling: the value of a common interface grows when independently built applications need to connect to independently built tools.

MCP standardizes the integration boundary

MCP introduces a shared protocol that an AI application can use to discover and interact with capabilities exposed by external systems.

An MCP-compatible application can communicate with reusable MCP servers through that protocol.

The AI application still decides which capabilities to expose to the model and whether to forward its requests. It also manages results and the user experience. MCP servers still implement the underlying service integrations.

Tool calling and MCP solve different problems

When the LLM requests a search_web tool, the host application can turn that request into an MCP tool call and return the result to the model. Tool calling lets the model request an action; MCP gives the application a standard way to discover and call an external capability.

1. What tool calling actually does

You ask the research assistant: "Find my notes about AI agents in Google Drive." The model can understand the request, but it needs the application to search Drive.

Your application can expose a function to the model:

TS
const tools = [
  {
    name: "search_google_drive",
    description: "Search files in Google Drive",
    parameters: {
      query: "string"
    }
  }
];

This is a simplified, illustrative tool definition, not a particular model provider's full API schema.

The model can then produce a structured tool-call request:

JSON
{
  "name": "search_google_drive",
  "arguments": {
    "query": "AI agents"
  }
}

The model hasn't searched Google Drive. It has requested a function call.

If the application accepts the request, it executes the integration code and returns the result:

That flow works without MCP. MCP gives other applications a shared way to discover and use the integration.

2. A second AI application

A writing assistant also needs to search Google Drive. Both applications need access:

  • Research assistant → Google Drive.

  • Writing assistant → Google Drive.

They could share a TypeScript package, an internal service, or an API gateway.

That reuse may be specific to your applications and technology stack.

A different AI application might expect different tool definitions, connection mechanisms, execution conventions, or response formats. You can standardize these yourself, but that standard might only work inside your organization.

3. MCP creates a reusable interface

A Google Drive MCP server could expose a tool named search_files.

An MCP-compatible application can ask the server what tools it supports using a standardized operation such as tools/list.

The server responds with tool descriptions and input schemas. The application can then make those tools available to its LLM:

Both applications use the same MCP operations and message structures to reach the Drive integration.

The server still calls the real Google Drive API internally, and authentication and authorization remain necessary.

4. Where model tool calling fits

The model doesn't speak MCP directly. In a typical MCP-enabled application, the host sits between the model's tool-calling interface and the MCP server.

For "Find my notes about AI agents," the flow is:

  1. The MCP client discovers tools. The application obtains search_files and its input schema from the server.
  2. The host makes the tool available to the LLM. It converts or adapts the MCP tool definition into the format expected by the model provider.
  3. The LLM decides to use the tool. It requests search_files with "AI agents".
  4. The host invokes the MCP server. The MCP client issues a tools/call request with the selected name and arguments.
  5. The server executes the operation. It calls Google Drive and sends back the response.
  6. The LLM receives results. The host supplies the tool results to the model so it can answer.

Once the host has made search_files available to the model, one tool call travels through these boundaries:

The model requests a tool; it does not connect to the MCP server or call Drive itself. The host controls the handoff, while the server performs the API request and returns the result along the same path.

The flow crosses two interfaces:

InterfaceResponsibility
Model ↔ AI applicationModel-specific tool calling
MCP client ↔ MCP serverStandardized discovery and invocation of external capabilities

The MCP server doesn't need to know which model uses its capabilities. The AI application adapts them to its model provider's tool-calling format.

5. A useful analogy

Think about a web browser and a web server. A browser has its own UI and rendering logic. HTTP standardizes how it communicates with web servers.

Similarly, an AI application has its own model interaction and orchestration logic. MCP standardizes how it communicates with compatible external integrations.

This analogy isn't exact: MCP defines more than transport. It includes application-level operations for tools, resources, and prompts.

6. Tool calling and MCP compared

Function/tool callingMCP
Lets a model request execution of a defined functionLets an application discover and interact with capabilities exposed by an MCP server
The application supplies available tool definitions to the modelMCP defines methods to discover available tools
The application arranges execution and returns resultsMCP standardizes client-server tool requests and responses
Does not, by itself, define a common external integration protocolProvides a reusable protocol for external integrations

What MCP does not solve

MCP doesn't automatically:

  • Give an LLM permission to access private data.

  • Decide which tool the model should use.

  • Implement underlying Google Drive or Notion API calls.

  • Guarantee an external MCP server is trustworthy.

  • Eliminate orchestration, error handling, or security controls.

Compatible applications can discover and reuse integrations through that shared interface.

The mental model worth remembering

Tool calling: The model asks the application: "Call this function with these arguments."

MCP: The application has a standard way to discover and invoke capabilities exposed by an external server.

The application gives the model the user's request and the tools it can use, with their names, descriptions, and input schemas. The model can answer directly or request a tool with arguments. The host decides whether to forward that request; the MCP server validates it and performs the operation, and the host passes the result back to the model.

Conclusion

Tool calling and service APIs already let an assistant search Drive or create a Notion page. The difficulty appears when another application needs those same capabilities and has to adapt the integration to its own tool definitions and execution flow. MCP gives independently built applications and integrations a shared way to discover and invoke capabilities, so they can reuse a server without agreeing on one application's SDK.

The host still decides what to expose and whether to forward a model's request; the server still implements the underlying API call, with authentication and errors to handle. MCP's benefit is a common boundary that lets independently built applications discover and use the same integration without each inventing a new way to connect.

Knowledge check

Two assistants already share your TypeScript Drive integration. When would an MCP server be most useful?
The model requests search_files and the host forwards it through an MCP client. Who actually calls the Google Drive API?
A Drive MCP server lists a search_files tool. What must the host do before the model can use it?

Sources

Conceptual background also came from the "Why MCP" and "MCP Architecture" lessons in DeepLearning.AI's MCP: Build Rich-Context AI Apps with Anthropic. The research-assistant example is illustrative, not an official integration; no affiliation or endorsement is implied.

Related Posts

Shopping inventory call through a remote MCP server1 · Shoppinghost2 · MCPclient3 · Remoteserver4 · ProductcatalogHTTPS /mcp

Deploy a Remote MCP Server: Streamable HTTP, Cloudflare, AWS, and Capacity Planning

  • Stackfable
  • 08 Nov 2026

Move a shopping MCP server from local stdio to remote HTTP, compare deployment options, and estimate the capacity it needs.

Read More: Deploy a Remote MCP Server: Streamable HTTP, Cloudflare, AWS, and Capacity Planning
Product resource selected by the shopping host1 · Shopperchooses ID2 · Pythonhost3 · Productresource4 · Displayonly5 · Claudegets context

MCP Beyond Tools: Add Resources and Prompts to Our Shopping Assistant

  • Stackfable
  • 08 Nov 2026

Extend a shopping MCP server with product resources and a reusable prompt, and see when the host passes each to Claude.

Read More: MCP Beyond Tools: Add Resources and Prompts to Our Shopping Assistant
A shopping request routed to two MCP servers1 · Keyboardrequest2 · Pythonhost3 · Shopsearch + stock4 · Notessave file

Connecting One MCP Client to Multiple Servers: Build a Shopping Assistant That Can Save Notes

  • Stackfable
  • 08 Nov 2026

Connect a shopping assistant to separate shopping and filesystem MCP servers, then discover and route their tools through one Python host.

Read More: Connecting One MCP Client to Multiple Servers: Build a Shopping Assistant That Can Save Notes