What is MCP?
Hi, I'm Tran Tu, currently working at ORT. Have you ever wondered why we are in the era of super-intelligent AI models, yet every time we want an AI to read a database schema or check a few lines of logs, we still have to do painstakingly manual tasks like copy-pasting or breaking our backs writing integration scripts? If you are feeling tired of that mess, welcome to the Model Context Protocol (MCP) — a new open-source connection standard that is completely changing the game. Let's explore what it is and why it is so widely used when working with AI agents.
1. The "Smart Home" Story And The Developer's Pain Points
To understand how MCP operates at a high level, let's temporarily step away from the world of code and enter a Smart Home.
Imagine you've just unboxed a high-end smart speaker. You expect it to help you control everything in your house. However:
- The Daikin air conditioner uses its own app.
- Philips Hue lights use their own standard.
- Xiaomi curtains speak a different "language".
Without a common standard, the speaker manufacturer (or you) would have to write custom integration code for each device from every brand. Every time you buy a new device, you have to break your back configuring it all over again from scratch.

To solve this, the tech world created common standards like Matter or Zigbee. As long as a device has that standard's logo, you just plug it in, and the smart speaker automatically recognizes and controls it instantly.
The Matter standard is a unified open-source network protocol for smart home devices. Developed by the Connectivity Standards Alliance (CSA) and backed by giants like Apple, Google, and Samsung, Matter allows devices from different brands to communicate seamlessly with one another.
A Developer's Real-world Pain Points with AI
The Smart Home story above is exactly what you experience daily with AI:
You want Claude or Cursor to read a Postgres database, check logs on the Cloud, or interact with a GitHub repo. What do you do? Write a bunch of custom scripts, set up API keys, create webhooks...The pain doubles when today you use Claude Desktop and find it great, but tomorrow you want to switch to Cursor IDE or Windsurf to code. My condolences, you have to take that whole mess of connections and configure them all over again from scratch because each AI tool ingests data differently. Your AI at this point is no different than being isolated on a "data island".
MCP (Model Context Protocol) is the universal "USB-C port" or "Matter standard" that has emerged to completely eliminate this mess.
2. What is MCP, Really?
Developed by Anthropic, MCP is an open-source protocol running on JSON-RPC 2.0, which standardizes how a Large Language Model (LLM) interacts with external data sources and tools.

Instead of the old mindset of "integrating tools into AI", MCP brings a completely new paradigm: Separating the brain (LLM) from the limbs and senses (Data & Tools).
Now, you only need to build a single MCP Server for your data source. Any MCP-enabled AI Client (such as Claude Desktop, Cursor, Zed...) can simply "plug" into it and inherit its full power without you having to write a single line of integration code again.
3. MCP Architecture: How the Atomic Trio Works

The MCP architecture operates on a very clear Client-Server model, consisting of 3 main components:
- MCP Host: The AI application where the end-user directly interacts (e.g., Claude Desktop, Cursor IDE). The Host acts as the central controller.
- MCP Server: Small services (microservices) written by you or sourced from the community (usually in Python or TypeScript). These servers interface directly with your "appliances" (Local files, Postgres, Git API) and expose them through the protocol.
- MCP Client: The component inside the Host, responsible for establishing secure connections and translating the AI's commands into a language that the Server understands.
An MCP Server provides the AI with 3 core capabilities:
- Prompts: Pre-defined prompt templates.
- Resources: Raw data that the AI can read (such as text files, database tables, API responses).
- Tools: Functions/actions that the AI can execute (such as running a terminal command, creating a new file).
4. MCP's "Superpowers": Not Just for Developers
What we are about to discuss below is actually just the tip of the iceberg. As an open and standardized protocol, MCP does not limit AI to any specific framework. For developers, MCP offers privileges to optimize workflows, as shown in these examples:
- Querying DB using natural language: You just need to chat: "Help me check why user_id 99 couldn't check out." The AI will automatically connect to the DB via MCP, read the schema, write and run the SQL query, and return the results instantly without you having to copy-paste a single line of schema.
- Mastering Git workflow: Command the AI to automatically create branches, gather modified files to commit, and push them straight to GitHub using pre-defined tools in the MCP Server.
- Understanding internal context: Connect the AI to Notion, Jira, or local company log files so it can automatically retrieve data to compare and fix bugs according to specifications.

Stepping Outside the World of Code: How MCP is Changing Other Industries
Don't think MCP was only born to serve programmers. Currently, MCP Servers are being rapidly expanded by the community into many other fields, turning AI into a powerful assistant for every department:
- Data Analysis & Business Intelligence (BI): Instead of manually exporting CSV files and uploading them to the AI, analysts just need to plug the AI into MCP Servers directly connected to Google Sheets, Excel, or Salesforce. The AI can automatically scan real-time data, draw charts, and export financial reports with just a single command.
- Customer Support & Operations: By connecting AI to MCP Servers for Zendesk, HubSpot, or Slack, support agents can ask the AI: "Check Customer A's purchase history and draft an apology email for the late delivery." The AI will automatically search for data on the CRM via MCP and complete the task in seconds.
- Research & Healthcare (Academic): Scientists and doctors can connect AI to large academic database sources (like arXiv, PubMed) or internal document management systems via MCP. The AI will automatically cross-reference information across thousands of scientific papers to find new medical connections without being limited by normal chat token limits.
5. The Dark Side of MCP: Security Risks & How to "Play" Safely
With great power comes great responsibility. When you allow AI to reach deep into your system via MCP, you are also inadvertently opening doors to new risks if you are not careful.
⚠️ 3 Critical Risks When Working with MCP Servers
- Data Leakage: MCP Servers run directly on your local machine and have access to the file system or database. If you accidentally install a "strange" MCP Server floating around the internet, it could silently send your source code, environment variables (
.env), or customer data to an external malicious server. - Supply Chain Attacks: Similar to npm or pip packages, open-source community MCP Servers can be injected with malware. When you configure Claude Desktop to run that server's startup command, the malware will execute right on your machine with the current user's privileges.
- Prompt Injection (Uncontrolled Destructive Actions): What if you ask the AI to read a log file containing a malicious text snippet (Prompt Injection)? That text could "manipulate" the AI, causing it to command the MCP Server to execute destructive tools like
DROP DATABASEorrm -rf /without your knowledge.

🛡️ Rules of Thumb to "Play" Safely with MCP
To enjoy the convenience of MCP without becoming a victim of cyberattacks, keep these principles in mind:
| Principle | Practical Implementation |
|---|---|
| Least Privilege | Always grant Read-only permissions to the MCP Server if the purpose is only for AI data analysis. Never grant Write/Delete permissions carelessly when not needed. |
| Verification | Only use MCP Servers from official sources (such as official Anthropic accounts, major companies) or thoroughly review the source code (especially the .json config file) before running. |
| Human-in-the-loop | Always enable the "Ask before running" feature on AI Clients. You must be the one to click the final approval button before allowing the AI to execute any SQL or Terminal commands. |
| Sandboxing (Environment Isolation) | When you want to test new, unfamiliar MCP Servers from the community, run them inside Docker or a virtual machine to completely isolate them from real data on your personal machine. |
6. Conclusion
Model Context Protocol (MCP) is not just a passing tech trend; it is the very first foundation stone for building the era of AI Agents (autonomous AI). Embracing and applying MCP early will help you free up a huge amount of manual labor to focus on architectural thinking.
However, be a smart developer. Convenience always comes with risk, and protecting the safety of your system is always priority number one.
What do you think about this MCP protocol?