MCP is an open protocol that lets AI applications connect to external data and tools through a single shared standard. It stands for Model Context Protocol, created by Anthropic. Before MCP, wiring an AI app to GitHub, a database, or Google Sheets meant writing bespoke glue code every time. With MCP you write the connector once and every compatible AI app can use it. One note before you read on: this article follows the 2026-07-28 spec revision, the current one at the time of writing, and it changed some fundamentals — most explainers still describe the 2025 spec, which has been superseded.
What Does MCP Stand For, and What Are Its Parts?
MCP stands for Model Context Protocol, an open standard Anthropic released in late 2024 and made free for anyone to implement. The spec itself says it takes inspiration from the Language Server Protocol (LSP) used by VS Code — LSP let you write language support once and use it in any editor. MCP does the same thing for AI tooling. There are three parts, using the official definitions:
- 1.Host — the LLM application that initiates connections, such as Claude Desktop, Claude Code, Cursor, or your own app
- 2.Client — the connector living inside the host, one per server
- 3.Server — the service that provides context and capabilities, e.g. a bridge to GitHub, a database, or an external API
Short version: the Host is the app you open, the Server is whatever you want the AI to reach, and the Client is the wire between them.

What Changed in the 2026-07-28 Spec
This is the most important section here, because the latest revision changed a core assumption.
Previously (2025 spec): connecting created a connection-scoped session with an initialize handshake, and servers could send requests back to clients.
Now (2026-07-28): the base protocol is documented as stateless, self-contained requests with per-request capability negotiation. Every request carries what it needs, so nothing depends on a live session — and the spec states plainly that "servers do not initiate JSON-RPC requests and clients do not send JSON-RPC responses."
Why it matters in practice: with requests no longer bound to a session, putting a load balancer in front of an MCP server or running one on serverless becomes ordinary instead of requiring sticky sessions. If you are taking MCP to production, this is the detail that decides your architecture.

What Capabilities Does MCP Give an AI?
The spec splits this into three things a server offers a client, plus one the client offers back:
- •Tools — functions the model can execute, e.g.
create_issue(),query_database() - •Resources — context and data for the user or the model to use
- •Prompts — templated messages and workflows for users to invoke
- •Elicitation (client side) — lets a server ask the user for more information mid-task instead of guessing or failing

Extensions Worth Knowing
Beyond the core protocol the spec defines opt-in extensions that both sides must support. The notable ones:
- •Tasks — asynchronous execution of long-running work, with polling, mid-flight input, and durable handles
- •MCP Apps — interactive UI rendered inline in the conversation: charts, forms, video players
- •Skills over MCP — structured instructions for agent workflows
How Is MCP Different From a Regular API?
The short answer: MCP does not replace APIs, it wraps them so a model can use them.
| Typical REST API | MCP | |
|---|---|---|
| Designed for | A developer reading docs and writing calls | A model reading descriptions and choosing calls |
| Capability discovery | You must know the endpoints upfront | Ask the server at runtime what tools exist |
| Standardisation | Every vendor designs their own | One JSON-RPC 2.0 shape across all of them |
| Reusing with another AI | Write new glue code per app | Write once, works in any compatible host |
What I Actually Use MCP For
This part is not from the docs — it is from using it daily, and I think it answers the question better than theory does. The article you are reading was produced through MCP end to end. The keyword volumes and SERP data behind the decision to write it came from DataForSEO MCP. Every illustration was generated through another MCP server. When I need the current syntax of a library that shipped an update recently, Context7 MCP pulls the real docs instead of letting the model answer from memory. The concrete difference: what used to be open the DataForSEO dashboard, export a CSV, read it separately is now a plain-language request that returns numbers inside the same context where the writing is happening.

Real Costs, and the Trap Nobody Warns You About
MCP itself is free — open standard, no licence fee. The real cost comes from three places: 1. The model — the subscription or API spend for whichever AI you use (see AI cost comparison for Thai businesses) 2. The service at the far end — MCP is only the wire; if the thing it reaches charges per request, you pay that 3. Context eaten for free — this is the one I learned the hard way Every MCP server you connect injects its tool list and descriptions into the context before you type a single word. Keeping 7-8 connected but unused means paying for those tokens on every turn and leaving less room for the actual work. Practical advice: enable only what the current job needs, not everything you can find.
Security: the spec says outright that tool behaviour descriptions "should be considered untrusted, unless obtained from a trusted server," because tools are arbitrary code execution. Do not install MCP servers from unknown sources on a machine holding client data.
How to Get Started
This revision defines exactly two standard transports: stdio (newline-delimited messages over the standard streams of a client-launched subprocess) and Streamable HTTP (an HTTP POST per message to a single endpoint, answered as JSON or a request-scoped SSE stream). Running locally, stdio is the simplest and takes a few lines:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"]
}
}
}Restart the app and ask for something that requires real files. If the answer matches what is actually on your disk, it is connected. For where MCP sits inside a full agent stack, read What is an Agent Harness; to start with Claude specifically, there is a separate Claude Code guide.
Summary: MCP is the shared standard that lets AI reach external tools without new glue code each time. The current 2026-07-28 revision went stateless, which makes production deployment far simpler. The protocol is free, but watch the context it consumes and the trustworthiness of servers you install.
Frequently Asked Questions
MCP ย่อมาจากอะไร?
MCP ย่อมาจาก Model Context Protocol เป็นโปรโตคอลเปิดที่ Anthropic พัฒนาขึ้นเพื่อให้แอป AI เชื่อมต่อกับข้อมูลและเครื่องมือภายนอกได้ด้วยมาตรฐานเดียว ใช้รูปแบบข้อความแบบ JSON-RPC 2.0
spec ล่าสุดของ MCP คือฉบับไหน?
ฉบับล่าสุด ณ เดือนสิงหาคม 2026 คือ revision 2026-07-28 จุดเปลี่ยนสำคัญคือ base protocol กลายเป็น stateless แบบ self-contained request และมีการต่อรอง capability เป็นราย request แทนการสร้าง session ผูกกับ connection แบบ spec ปี 2025
MCP ต่างจาก API ปกติยังไง?
REST API ออกแบบให้โปรแกรมเมอร์อ่านเอกสารแล้วเขียนโค้ดเรียก ส่วน MCP ออกแบบให้โมเดลอ่านคำอธิบายแล้วเลือกเรียกเองได้ และถาม server ตอน runtime ได้ว่ามีเครื่องมืออะไรบ้าง MCP ไม่ได้มาแทน API แต่มาห่อ API ให้ AI ใช้เป็น
MCP รองรับการเชื่อมต่อแบบไหนบ้าง?
spec ฉบับ 2026-07-28 นิยาม transport มาตรฐานไว้ 2 แบบ คือ stdio ที่คุยผ่าน standard stream ของ subprocess ที่ client เปิดขึ้นมา เหมาะกับการรันบนเครื่องตัวเอง และ Streamable HTTP ที่ยิง HTTP POST ไปยัง endpoint เดียวแล้วรับคำตอบเป็น JSON หรือ SSE stream นอกจากนี้ยังอนุญาตให้ทำ custom transport เองได้
ต้องเขียนโค้ดเป็นไหมถึงจะใช้ MCP ได้?
ไม่จำเป็น มี MCP server สำเร็จรูปให้ติดตั้งจำนวนมาก เพิ่มไม่กี่บรรทัดในไฟล์ config ของ Claude Desktop, Claude Code หรือ Cursor ก็ใช้ได้ทันที แต่ถ้าต้องการเชื่อมกับระบบภายในองค์กร ก็เขียน MCP server เองได้ผ่าน SDK ที่มีให้หลายภาษา
ใช้ MCP แล้วเปลืองค่าใช้จ่ายเพิ่มไหม?
ตัวโปรโตคอลฟรี แต่มีต้นทุนแฝงที่คนมักไม่รู้ คือทุก MCP server ที่ต่อไว้จะใส่รายการเครื่องมือและคำอธิบายเข้าไปใน context ตั้งแต่ก่อนเริ่มสนทนา ต่อไว้หลายตัวโดยไม่ได้ใช้จะเสีย token ทุกครั้งที่คุยและเหลือพื้นที่ทำงานน้อยลง แนะนำให้เปิดเฉพาะตัวที่ใช้จริงในงานนั้น
MCP ปลอดภัยไหม ติดตั้ง server จากไหนก็ได้หรือเปล่า?
ไม่ควร เอกสารทางการระบุว่า tool คือการรันโค้ดตามที่ server กำหนด และคำอธิบายพฤติกรรมของ tool ควรถือว่าไม่น่าเชื่อถือ เว้นแต่มาจาก server ที่ไว้ใจได้ หลักการของ spec คือผู้ใช้ต้องยินยอมอย่างชัดเจนก่อนเรียกใช้เครื่องมือทุกครั้ง จึงไม่ควรติดตั้ง MCP server จากแหล่งที่ไม่รู้จักบนเครื่องที่มีข้อมูลลูกค้า
Arm - CherCode
Full-Stack Developer & Founder
Software developer with 5+ years of experience in Web Development, AI Integration, and Automation. Specializing in Next.js, React, n8n, and LLM Integration. Founder of CherCode, building systems for Thai businesses.
Portfolio


