What is Model Context Protocol (MCP)? How to build AI Agents?

JK1860 
Created at Apr 17, 2025 02:04:46
Updated at Apr 17, 2025 02:10:13 
  6,883   0   0  

Model Context Protocol (MCP) is a framework that facilitates communication and interaction between Large Language Models (LLMs) and external tools or knowledge sources. It provides a standardized way for LLMs to request specific information, trigger actions, or access data from these external systems, enriching their knowledge base and enabling them to perform more complex tasks beyond their pre-trained capabilities. Think of it as a translator allowing LLMs to "talk" to the outside world in a structured and efficient manner, enabling them to leverage tools like search engines, APIs, databases, and specialized software.

Connecting AI agents with databases and APIs, while focusing on Model, Compute, and Persistence (MCP), means choosing the right language models (LLMs) that are adjusted for working with data (Model), providing enough computing power for the agent to handle data, run queries, and manage API calls effectively (Compute), and setting up a storage system to keep the agent's knowledge, collected data, and activity records, using vector databases for quick searches and regular databases for organized data management to make sure data is reliable and easy to access over time (Persistence).

Below is from IBM Technology showing its concept with a diagram:


MCP (Model Context Protocol) is a new open-source standard designed to simplify the connection of AI agents to various data sources like databases, APIs, and local files. It consists of a host (e.g., a chat app or code assistant) with one or more clients, an MCP protocol, and one or more servers that act as intermediaries between the agent and the data sources. The host queries the server for available tools based on the user's request, then uses the LLM to choose which tools to use, calls the appropriate MCP server to execute the tool, and returns the results to the LLM to get the final answer. MCP aims to standardize the way agents access and utilize external data, making agent development more efficient and flexible. Developers building AI agents or providing services to agent developers should consider implementing and utilizing MCP.
 



Tags: Building AI Agents LLMs Large Language Models MCP MCP Client MCP Host Model Context Protocol Share on Facebook Share on X

◀ PREVIOUS
Life Quotes from Google CTO Will Grannis emphasizes the importance of data and the problem definition

▶ NEXT
Did you get Selective Service System(SSS) Form 3C?

  Comments 0
OTHER POSTS IN THE SAME CATEGORY

US National Holiday in 2026

(created at Oct 18, 2025)

Countries with more males and females - what about UIUC?

(created at Oct 04, 2025)

Urban planning and growth from a historical perspective

(created at Sep 28, 2025)

GGIS: The Roots of Visualizing Geographic Information

(created at Sep 27, 2025)

Did you get Selective Service System(SSS) Form 3C?

(updated at Aug 17, 2025)

Life Quotes from Google CTO Will Grannis emphasizes the importance of data and the problem definition

(updated at Dec 17, 2024)

Life Quotes from Netflix CTO Elizabeth Stone in 2023

(updated at Dec 17, 2024)

Eveything you tell HR is confidential

(updated at Nov 27, 2024)

The difference between Equation and Formula

(created at Nov 08, 2024)

My chrome browser is annoying me by Language - How do I change the default language?

(updated at Oct 11, 2024)

Snack that makes my mouth happy when winter comes from the U.S - Hot Pockets

(updated at Oct 11, 2024)

20+ Polite email greetings for the Smooth Conversation

(updated at Oct 03, 2024)

Functional Importance of The Foster Families in the US

(updated at Sep 21, 2024)

El Niño and La Niña

(updated at Sep 24, 2024)

How do Grass and Trees Grow?

(updated at Sep 24, 2024)

Mastering Taekwondo Board Breaking: Techniques, Types, and Proper Usage

(created at Apr 23, 2024)

Why Nike Card Wallets Are a Smart Buy for the Stylishly Practical

(updated at May 15, 2024)

Unlocking the Basics: The Concept of Teaching Taekwondo

(updated at Sep 22, 2024)

Mastering the Interview: Essential Techniques for Landing a Tech Summer Camp Role

(updated at Sep 22, 2024)

Why Google Crawler Isn't Indexing Your Blog: Common Issues and Solutions

(updated at Sep 22, 2024)

UPDATES

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

(created at Oct 21, 2025)

Common Questions from UIUC school life in terms of CS Program

(created at Oct 20, 2025)

UIUC Immunization Compliance

(created at Oct 20, 2025)

LEE CHANHYUK's songs really resonate with my soul - Time Stop! Vivid LaLa Love, Eve, Endangered Love ...

(created at Oct 18, 2025)

LEE CHANHYUK - Endangered Love (멸종위기사랑)

(created at Oct 18, 2025)

Cupid (OT4/Twin Ver.) - LIVE IN STUDIO | FIFTY FIFTY (피프티피프티)

(created at Oct 18, 2025)

Common methods to improve coding skills

(created at Oct 18, 2025)

US National Holiday in 2026

(created at Oct 18, 2025)

BABYMONSTER “WE GO UP” Band LIVE [it's Live] K-POP live music show

(created at Oct 18, 2025)

BLACKPINK - ‘Shut Down’ Live at Coachella 2023

(created at Oct 18, 2025)

JENNIE - like JENNIE - One of Hot K-POP in 2025

(created at Oct 18, 2025)

BABYMONSTER(베이비몬스터) - DRIP + HOT SOURCE + SHEESH

(created at Oct 08, 2025)

Common Naming Format in Software Development

(created at Oct 07, 2025)

In a life where I don't want to spill even a single sip of champagne - LEE CHANHYUK - Panorama(파노라마)

(created at Oct 06, 2025)

Countries with more males and females - what about UIUC?

(created at Oct 04, 2025)

Challenge: One Code Problem Per Day

(created at Oct 03, 2025)

Urban planning and growth from a historical perspective

(created at Sep 28, 2025)

Jackbryan VS Serpent | Korea Beatbox Championship 2023 | Quarterfinal

(created at Sep 28, 2025)

CNBLUE - You've Fallen For Me (넌 내게 반했어)

(created at Sep 28, 2025)

GGIS: The Roots of Visualizing Geographic Information

(created at Sep 27, 2025)

CNBLUE - 외톨이야 (aka Outsider)

(created at Sep 27, 2025)

Did you know that the person who voiced Humtrix Rumi in KPop Demon Hunters went to UIUC?

(updated at Sep 05, 2025)

WING - Dopamine

(created at Sep 05, 2025)

CARDIO VS Jackbryan | Korea Beatbox Championship 2025 | Semifinal

(updated at Sep 04, 2025)

Tech Visionaries who graduated at UIUC - You are the Next Turn

(updated at Sep 04, 2025)

Thinking about the Public Dataset and Open API provided for the Authorized People

(updated at Sep 04, 2025)

Where to Eat with Your i-Card at UIUC and How to Track Your Dining Dollars

(updated at Sep 04, 2025)

OMG! Did you consume your meals already at UIUC? How do you change the meal plan?

(updated at Sep 03, 2025)

Java Comments

(updated at Sep 03, 2025)

Abraham Lincoln Contributed to UIUC's Creation and its Mission

(created at Sep 03, 2025)

Feeling weak? Transform yourself at the UIUC ARC!

(updated at Sep 03, 2025)

Checking Your Upcoming Assignment/Exam Schedule: Using the UIUC Canvas Dashboard for Assignment Management

(updated at Sep 03, 2025)

UIUC Course Map for CS and Blended CS Degrees

(updated at Sep 02, 2025)

What You Need to Prepare for Graduate University at UIUC

(updated at Sep 01, 2025)

Did you know about the UIUC Course Numbering Policy? How to meet with 120 GPA hours?

(created at Sep 01, 2025)

My Dad's Bucket Hat Craze: One Man's Quest for Collegiate Headwear

(created at Aug 30, 2025)

Public Transportation between Chicago O'Hare International Airport and UIUC (University of Illinois at Urbana-Champaign)

(updated at Aug 27, 2025)

How to Receive Mail and Packages in University Housing at UIUC

(updated at Aug 27, 2025)

When you are too busy to have your breakfast/lunch/dinner, use Good2Go Carryout Program

(created at Aug 27, 2025)

Why Outlook’s Redirection Option Is a Game-Changer

(updated at Aug 27, 2025)

Why Every Freshman Needs the Illinois App at UIUC

(updated at Aug 24, 2025)

My First Day at University of Illinois-Urvana Champaign

(created at Aug 22, 2025)

Did you get Selective Service System(SSS) Form 3C?

(updated at Aug 17, 2025)

BLACKPINK's refreshing song - Jump

(updated at Aug 08, 2025)

Poisonous Mushrooms sprouted along the roadside after Typhoon

(updated at Aug 06, 2025)

Annual Weather Forecasting in Illinois based on Month

(updated at Aug 06, 2025)

My name has a typo in MyIllini - Need a Biographical change form

(updated at Jul 31, 2025)

Free Transportation Systems for UIUC students, faculty, and staff with I-Card

(updated at Jul 31, 2025)

What you can do with I-Card at UIUC

(updated at Jul 31, 2025)

Selecting a Bed Configuration before you move-in at UIUC Dormitory

(updated at Jul 30, 2025)