Letting AI Interface with your App with MCP — Kent C Dodds

AI EngineerAbout 4 min readJun 3, 2025Watch original
THE SUMMARYAI-generated

Key Concepts

  • Model Context Protocol (MCP): A standard protocol enabling AI assistants to communicate with various tools and services.
  • AI Assistants: Virtual assistants like Jarvis that can perform tasks and interact with applications.
  • Integrations: Connections between different applications and services, allowing them to work together.
  • LLMs (Large Language Models): AI models that can generate human-like text.
  • Tool Calling: The ability of an AI assistant to use external tools and services to complete tasks.
  • Host Application: The application that hosts the LLM and manages context.
  • MCP Servers: Servers that implement the MCP protocol and provide access to specific services.
  • MCP Clients: Clients that communicate with MCP servers using the standard protocol.

User Interaction and the Shift to AI

The speaker, Kent C. Dodds, emphasizes the shift of user interaction towards AI assistants and the importance of building excellent user experiences within this new paradigm. He introduces his course platform, epicai.pro, which focuses on teaching how to build these experiences.

The Jarvis Example

The video starts with a clip of Tony Stark (Iron Man) interacting with his AI assistant, Jarvis. The speaker prompts the audience to consider what Jarvis can do that current technology cannot. Jarvis's capabilities include:

  • Compiling databases from various sources (SHIELD, FBI, CIA).
  • Generating UI on demand.
  • Accessing public records.
  • Analyzing thermogenic signatures.
  • Performing joins across different datasets.
  • Creating flight plans.
  • Identifying visitors.

While some of these capabilities, like accessing classified databases, are not technically feasible for everyone, the speaker argues that generating UI and accessing public records are within reach. The question then becomes: why don't we all have our own Jarvis?

The Integration Problem

The primary obstacle preventing widespread adoption of AI assistants like Jarvis is the difficulty of building integrations with all the possible tools and services. It's impractical for companies like OpenAI or Anthropic to create integrations for every niche service, such as a local city government website. Users desire a single AI assistant that can interface with everything, eliminating the need to switch between different tools and manually manage context.

Model Context Protocol (MCP) as a Solution

MCP is presented as a solution to the integration problem. It provides a standard mechanism for AI assistants to communicate with various tools and services. This allows developers to build to a single specification, making their services accessible to any AI assistant that supports MCP.

History and Architecture of MCP

The evolution of AI interaction is divided into three phases:

  • Phase 1: Chat GPT Emergence: LLMs can answer questions, but users must manually provide context.
  • Phase 2: Host Application Integration: Host applications provide context to LLMs through built-in integrations (e.g., search engines, calendar integrations). However, this is limited by developer time and proprietary integrations.
  • Phase 3: MCP: A standard protocol allows AI assistants to access any service that implements the MCP specification.

The architecture of MCP involves:

  1. The host application communicating with the LLM.
  2. The host application informing the LLM about available services.
  3. The LLM selecting the appropriate tool for a given task.
  4. The host application creating a standard client for each service.
  5. The service provider creating MCP servers that interface with tools, resources, and prompts.

The key advantage is that the service provider controls the unique aspects of the service, while the communication interface remains standardized.

MCP Demo

The speaker demonstrates a couple of MCP servers he created:

  1. Locationator: Determines the user's current location.
  2. Weather Service: Retrieves the current weather conditions.
  3. EpicMe: A journaling service with authentication.

The demo involves the AI assistant writing a journal entry about a trip with his daughter, using the location and weather information. The demo highlights the following:

  • The need for user approval for tool calls (due to lack of trust in AI assistants).
  • The use of OAuth 2.1 for secure authentication.
  • The ability of the LLM to format the journal entry in a user-friendly way (markdown).
  • The potential for translating responses into different languages.

The speaker emphasizes that the EpicMe MCP server is only accessible via MCP, illustrating the shift away from traditional web applications.

The Future of User Interaction

The speaker believes that users will increasingly interact with AI assistants through natural language, rather than using search engines and navigating websites. MCP enables AI assistants to understand the user's intent and perform tasks on their behalf.

Resources

The speaker provides the following resources:

  • Model Context Protocol Specification
  • EpicAI.pro (his course platform)

Conclusion

MCP represents a significant step towards creating AI assistants that can seamlessly integrate with various tools and services. By providing a standard protocol, MCP empowers developers to build services that are accessible to any AI assistant, ultimately leading to a more personalized and efficient user experience. The speaker expresses excitement about the future of AI interaction and encourages viewers to explore MCP and his resources on EpicAI.pro.

AI summaries can miss context or contain errors. Check important details against the original video.

MAKE IT YOURS

Read. Remember. Reuse.

Free tools

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.