Model Context Giao thức (MCP)

Điều gì MCP là, cách AI agents dùng điều này để retrieve và interact với nội dung tại runtime, vì sao điều đó quan trọng cho SEO as agentic AI becomes một nội dung distribution channel, và cách expose nội dung của bạn qua MCP.

Xuất bản lần đầu: 2 thg 7, 2026 · Cập nhật lần cuối: 8 thg 8, 2026 · Advanced
Ngôn ngữ

MCP (Model Context Giao thức) là an open tiêu chuẩn Anthropic đã tạo và open-sourced trong November 2024 cho connecting AI applications để external tools và dữ liệu tại runtime. Điều này chạy on một host–client–máy chủ architecture với three máy chủ primitives — tools, các tài nguyên, và prompts — và đây là đó plumbing behind 'agentic' AI. không confuse điều này với llms.txt (một static, một-way file đó points để các trang) hoặc với đơn giản function calling (một model khả năng): MCP là đó cross-vendor giao thức đó standardizes cách tools và dữ liệu nhận discovered và called trên nhiều apps và các máy chủ. OpenAI adopted điều này trong March 2025, và Anthropic donated điều này để đó Linux Foundation Agentic AI Foundation trong December 2025. Có không Google hoặc Bing 'MCP cho SEO' hướng dẫn — exposing an MCP máy chủ làm của bạn dữ liệu usable by agents đang làm tasks, mà là khác nhau từ tìm kiếm hoặc AI-câu trả lời visibility. Điều này cũng carries real, unresolved prompt-injection và tool-poisoning risks.

TL;DR — MCP là an open, JSON-RPC-based giao thức (Anthropic, open-sourced Nov 25, 2024) cho connecting AI applications để external tools và dữ liệu. Điều này chạy host → client → máy chủ, với các máy chủ exposing tools, các tài nguyên, và prompts. Điều này solves đó N×M integration vấn đề (turn điều này vào N+M). đây là một giao thức, không “function calling,” (bản dịch) «function calling,» và không llms.txt. OpenAI adopted điều này trong March 2025; Anthropic donated điều này để đó Linux Foundation Agentic AI Foundation trong Dec 2025. Có không Google/Bing “MCP cho SEO” hướng dẫn — exposing an MCP máy chủ serves agents đang làm tasks, không khả năng hiển thị trên tìm kiếm — và điều này carries real, unresolved prompt-injection và tool-poisoning risks.

vấn đề MCP solves

MCP standardizes communication boundary giữa AI host và external capabilities; nó không làm connected dữ liệu trustworthy hoặc authorize mỗi hành động tự động. Evidence for this claim Model Context Protocol is an open protocol for connecting AI applications to external systems. Scope: The MCP specification and official documentation; individual host and server implementations vary. Confidence: high · Verified: MCP: Introduction đặc tả assigns distinct vai trò để hosts, clients, và các máy chủ và documents khả năng negotiation. Evidence for this claim MCP defines host, client, and server roles and server primitives including resources, prompts, and tools. Scope: Current MCP architecture; negotiated capabilities determine which features a connection supports. Confidence: high · Verified: MCP: Architecture

trước khi MCP, wiring AI application để dữ liệu nguồn meant bespoke integration cho đó cụ thể pairing. Connect N AI apps để M tools và bạn’re on hook cho khoảng N×M custom integrations — combinatorics nhận ugly fast. MCP standardizes interface so mỗi app implements MCP sau khi và mỗi tool implements MCP sau khi, collapsing vấn đề để N+M. nó giống nhau argument đó đã làm các giao thức như HTTP hoặc Language máy chủ Giao thức worth có.

Tại launch, Block CTO được diễn đạt “vì sao” điều này way:

“Open technologies like the Model Context Protocol are the bridges that connect AI to real-world applications, ensuring innovation is accessible, transparent, and rooted in collaboration.” (bản dịch) «Open technologies như đó Model Context Giao thức là đó bridges đó connect AI để thực tế applications, bảo đảm innovation là accessible, transparent, và rooted trong collaboration.»

architecture: host, client, máy chủ

MCP chạy on host–client–máy chủ model. Three vai trò:

  • Host — AI application itself (Claude Desktop, Claude Code, IDE-based coding agent, chat app với connectors).
  • Client — host spins lên một MCP client theo máy chủ nó connects để. client manages đó một connection.
  • máy chủ — program đó exposes some khả năng hoặc dữ liệu. Một máy chủ có thể wrap của bạn file hệ thống; một của bạn database; một web-tìm kiếm API.

Đó host có thể connect để nhiều các máy chủ tại khi, mỗi qua của nó own client. Local các máy chủ typically communicate over STDIO (tiêu chuẩn input/output, một client); remote các máy chủ typically dùng Streamable HTTP (nhiều clients), với OAuth khả dụng cho deployments đó cần delegated authorization. Dưới đó hood đây là JSON-RPC 2.0. Đó hiện tại 2026-07-28 cốt lõi là stateless: đó giao thức version, client metadata, phương thức, và applicable tool/tài nguyên/prompt name travel với mỗi yêu cầu, trong khi server/discover exposes đó máy chủ supported modern versions và capabilities. Cacheable phát hiện và list kết quả có thể publish ttlMscacheScope hints. Older 2025-era clients vẫn dùng đó initialization handshake và có thể dùng Streamable HTTP sessions, so production các máy chủ commonly cần dual-era hỗ trợ during đó transition. Đó 2026-07-28 phát hành notesđó TypeScript SDK migration hướng dẫn phạm vi những behaviors để đó named giao thức revision và của nó compatibility path.

The host can use many servers, but each server has its own client connection and capability boundary. Nguồn: /ai-search/optimization/model-context-protocol/

One AI host, such as a chat app or agent, connects to three MCP servers. The host creates a separate MCP client for the files server, database server, and search server. Each server may expose tools, resources, and prompts. The diagram shows protocol roles, not a trust guarantee or authorization model.

© Patrick Stox LLC · CC BY 4.0 ·

three máy chủ primitives

mỗi MCP máy chủ exposes của nó capabilities qua three cốt lõi building chặn:

  • Tools — executable functions agent có thể call để làm điều gì đó (chạy query, gửi message, fetch trực tiếp price).
  • các tài nguyên — contextual dữ liệu agent có thể đọc ( file, database record, API phản hồi).
  • Prompts — reusable interaction templates đó package phổ biến workflow.

mỗi primitive loại có của nó own phát hiện, đọc, và execution semantics, và họ không phải interchangeable — client lists Điều gì khả dụng với */list call (tools/list, resources/list, prompts/list), sau đó đọc hoặc invokes cụ thể một by name (tools/call để chạy tool; get/read style call cho tài nguyên hoặc prompt). Treating mỗi máy chủ khả năng as “một tool” glosses over đó tài nguyên là meant để là đọc, không executed, và prompt là template để insert, không hành động để chạy.

Extensions hiện tại cung cấp đó formal path cho capabilities bên ngoài đó cốt lõi. MCP Apps có thể attach máy chủ-được kết xuất UI để một tool kết quả, trong khi Tasks moved từ của nó experimental cốt lõi shape vào an extension cho durable, dài-đang chạy hoạt động. Đó 2026-07-28 revision cũng deprecates roots, sampling, và logging trong đó cốt lõi. Tools/các tài nguyên/prompts vẫn đó máy chủ-side primitives để know đầu tiên; hỗ trợ cho một primitive hoặc extension không bao giờ implies hỗ trợ cho all of them. Đó 2026-07-28 phát hành notes mô tả đó extension và deprecation thay đổi.

MCP so với llms.txt so với function calling so với WebMCP

những điều này four nhận conflated constantly. Giữ them apart là phần lớn của giá trị của điều này trang:

ĐiềuĐiều gì điều này làDirectionAi behind điều này
MCPMỘT runtime giao thức connecting AI apps để tools/dữ liệuTrực tiếp; stateless cốt lõi các yêu cầu trong đó 2026 revisionAnthropic (2024), hiện tại đó Agentic AI Foundation
llms.txtMỘT static Markdown file listing các trang để đọcMột-way, advisoryProposed by Jeremy Howard (2024); không adopted by Google
Function callingMỘT model khả năng để là told về functions và chọn để call mộtModel-cấp độ, single-vendorBất kỳ LLM provider, independently
WebMCPMỘT trình duyệt-native proposal để expose một website own trong-trang actions để an trong-trình duyệt agentTrình duyệt-scopedW3C Web Machine Learning Community Group draft
WebMCP owns page-context actions; remote MCP owns durable application-to-server integrations. They are complementary boundaries, not competing names for one protocol. Nguồn: WebMCP

The left lane shows WebMCP: a browser agent interacts with an open web page, which owns a JavaScript tool and current visible session state. The page must be open for those tools to exist. The right lane shows remote MCP: an AI application connects through an MCP client to a persistent MCP server, which can remain available outside a browser tab. The two lanes are complementary rather than replacements.

© Patrick Stox LLC · CC BY 4.0 ·

Hai distinctions worth spelling out:

  • MCP không phải “function calling.” (bản dịch) «function calling.» Function calling là một model-cấp độ feature: một model là told mà functions exist và picks một để call. MCP là đó cross-vendor giao thức đó standardizes cách tools và dữ liệu nhận discovered, described, và invoked trên nhiều apps và nhiều các máy chủ, independent of bất kỳ single model. MCP các máy chủ thường implement của họ tools dùng function-calling-style definitions — nhưng MCP là đó interoperability layer on top, không một synonym.
  • WebMCP không phải MCP. WebMCP là một tách biệt, trình duyệt-native proposal đó dùng MCP-như concepts để expose một cụ thể website functionality — thêm-để-cart, checkout, form submission — để an agent đã trong đó trình duyệt. MCP là đó rộng hơn, older giao thức cho connecting AI applications để external tools và dữ liệu nhìn chung. Cho đó identity/phát hiện side of này giống nhau landscape, see đó llms.txt bài viết, plus entity SEOschema markup cho AI.

brief timeline

  • November 25, 2024 — Anthropic open-sources MCP, với sớm partners và pre-được xây dựng các máy chủ (Google Drive, Slack, GitHub, Git, Postgres, và hơn).
  • March 26, 2025 — OpenAI announces đây là adopting MCP, saying hỗ trợ đã là arriving trong của nó Agents SDK với đó ChatGPT desktop app và Các phản hồi API để follow. Google DeepMind cũng moved để hỗ trợ điều này. đó là đó moment MCP đã dừng đang an Anthropic điều và trở thành một de facto ngành tiêu chuẩn.
  • December 9, 2025 — Anthropic donates MCP để đó newly formed Agentic AI Foundation (AAIF), một directed fund dưới đó Linux Foundation co-founded với Block và OpenAI, với other major vendors as supporting members — explicitly để giữ đó giao thức open và vendor-neutral thay vì owned by bất kỳ một company.
  • July 28, 2026 — đó largest giao thức revision since launch ships một stateless cốt lõi, đầu tiên-class extensions, routing và bộ nhớ đệm metadata, authorization hardening, và một formal deprecation policy. Phát hành notes

là MCP Google hoặc Bing xếp hạng factor?

Không — và nó quan trọng để chẳng hạn so plainly. Google có không issued formal Tìm kiếm Central hướng dẫn on MCP. có không “MCP cho SEO” document từ Google Search Central, không Tìm kiếm Off Record episode, không Tìm kiếm Essentials trang addressing nó. Điều gì tồn tại là chung Google Cloud explainer aimed tại nhà phát triển, mà là vendor overview, không xếp hạng-tín hiệu document.

On Microsoft side, picture là similar: Microsoft có adopted MCP heavily as nền tảng vendor — nó documents MCP on Windows, maintains catalog của MCP các máy chủ, và partnered với Anthropic on chính thức C# SDK. nhưng đó infrastructure hỗ trợ, không Bing Quản trị viên web Guidelines telling bạn MCP ảnh hưởng tìm kiếm thứ hạng. nó không.

closest điều để chính thức Google tín hiệu trong SEO-liền kề territory là WebMCP (again: không MCP itself). Commenting trong discussion về llms.txt, Google John Mueller đã nói he prefers WebMCP approach vì nó có concrete, well-scoped goals:

“I like the WebMCP approach, as well as the commerce integrations – they have clear goals & processes: ‘Given the agent is already on your site, how can it properly do task X?’ (for example, determine the final price of a product, including all fees & potential discounts).” (bản dịch) «I như đó WebMCP approach, cũng như đó commerce integrations – they có clear goals & xử lý: ‘Được cho đó agent là đã trên trang web của bạn, cách có thể điều này properly làm task X?’ (ví dụ, determine đó cuối price of một sản phẩm, including all fees & potential discounts).»

Mueller là quoted trong Roger Montti công cụ tìm kiếm Journal coverage (jump để quote). Trong giống nhau discussion he cũng đã làm nhiều hơn basic point đó bigger vấn đề cho phần lớn publishers là đơn giản không blocking agents từ fetching trang web tại all — thấp hơn hurdle hơn adopting bất kỳ new file hoặc giao thức; I’m relaying đó cách diễn đạt rather hơn quoting nó.

So: đó honest câu trả lời để “does MCP help my SEO?” (bản dịch) «làm MCP help my SEO?» là đó exposing an MCP máy chủ có thể làm của bạn dữ liệu và actions usable by agents đang làm tasks, mà là một genuinely khác nhau giá trị proposition từ tìm kiếm hoặc AI-câu trả lời visibility. không file điều này dưới xếp hạng factors.

Cách MCP hiển thị lên trong SEO và marketing workflows

nơi MCP làm touch của chúng ta world hôm nay là on practitioner side — letting AI agents query tools chúng ta đã sử dụng:

  • Ahrefs có MCP connector, letting AI agent pull Ahrefs dữ liệu trực tiếp thay vì bạn exporting và pasting nó. Ahrefs’ own agentic SEO hướng dẫn walks qua điều này (đó piece là by Mateusz Makosiewicz, reviewed by Ryan Law — không me).
  • Google Search Console MCP các máy chủ exist trong ecosystem so agent có thể đọc của bạn GSC performance dữ liệu as part của workflow.
  • ** Bing Tìm kiếm MCP máy chủ** exposes Bing web/news/image tìm kiếm as tools agent có thể call.

Đó mental model: MCP là đó “should we build an API?” (bản dịch) «nên we xây dựng an API?» câu hỏi of đó agent era. Exposing của bạn dữ liệu qua an MCP máy chủ là về đang làm điều này actionable by agents, không về xếp hạng. Nếu của bạn audience increasingly hoạt động qua agents, đó usability có thể quan trọng — nhưng treat điều này as một distribution/integration decision, không an SEO một. Này là đó “capability/action” (bản dịch) «khả năng/hành động» bet, nơi llms.txt là đó “identity/discovery” (bản dịch) «identity/phát hiện» bet.

Security: thực, unresolved risks

không assume MCP là safe chỉ vì nó open tiêu chuẩn từ reputable company. moment bạn cho AI agent tools đó có thể act expose nó để untrusted input, bạn’ve opened attack surface. Simon Willison — một của nhiều hơn credible independent voices on LLM tooling và security — laid nó out:

“Any time you mix together tools that can perform actions on the user’s behalf with exposure to potentially untrusted input you’re effectively allowing attackers to make those tools do whatever they want.” (bản dịch) «Bất kỳ time bạn mix together tools đó có thể perform actions on người dùng behalf với exposure để potentially untrusted input bạn là effectively allowing attackers để làm những tools làm whatever they muốn.»

He careful để note điều này không phải flaw unique để MCP:

“These vulnerabilities are not inherent to the MCP protocol itself—they’re present any time we provide tools to an LLM that can potentially be exposed to untrusted inputs.” (bản dịch) «Những vulnerabilities không phải inherent để đó MCP giao thức itself—họ là present bất kỳ time we cung cấp tools để an LLM đó có thể potentially là exposed để untrusted inputs.»

Được ghi lại risks trong đó MCP context bao gồm prompt injection, tool poisoning (malicious instructions hidden trong một tool mô tả), và “rug pulls(bản dịch) «rug pulls» (một tool đó thay đổi behavior sau khi bạn’ve installed điều này). As of này writing những là trực tiếp các vấn đề, không solved ones — so nếu bạn là deploying hoặc connecting MCP các máy chủ, treat them như bất kỳ other untrusted integration: least privilege, human approval cho consequential actions, và care về mà các máy chủ bạn trust.

Đó MCP spec security hướng dẫn names concrete attack categories máy chủ và client builders là dự kiến để defend so với — worth knowing ngay cả khi bạn là chỉ evaluating một bên thứ ba máy chủ, không building một. Đó session-hijacking item dưới áp dụng để đó legacy session model; đó 2026 cốt lõi xóa giao thức-cấp độ Streamable HTTP sessions, trong khi đó other trust và authorization risks vẫn. Đó 2026 phát hành notes phạm vi đó thay đổi để đó hiện tại giao thức revision:

  • Confused deputy — một proxy MCP máy chủ dùng một single static OAuth client ID có thể là tricked vào skipping theo-người dùng consent cho một bên thứ ba API điều này fronts.
  • Token passthrough — một máy chủ đó accepts một client token và forwards điều này để một downstream API unchecked breaks audit trails và security controls; đó spec says các máy chủ không được làm này.
  • Máy chủ-side yêu cầu forgery (SSRF) — một malicious máy chủ có thể point OAuth phát hiện tại internal IPs hoặc cloud metadata endpoints, tricking một client vào fetching them.
  • Legacy session hijacking — on một session-dùng older deployment, một guessable hoặc non-random session ID có thể let an attacker impersonate một client. Session IDs là state xử lý, không bao giờ substitutes cho authentication. Giao thức security hướng dẫn sets này boundary explicitly cho đó legacy session model.
  • Local máy chủ compromise — một locally installed MCP máy chủ chạy với đó người dùng own privileges, so một malicious hoặc compromised một có thể đọc files, exfiltrate credentials, hoặc chạy arbitrary commands; đó mitigation là sandboxing, least-privilege launch configuration, và reviewing điều gì một “one-click install” (bản dịch) «một-nhấp install» thực ra chạy trước approving điều này.

None of này là solved by “it’s an open standard” (bản dịch) «đây là an open tiêu chuẩn» hoặc by chuyển thành on OAuth. Giao thức compliance, dùng an chính thức SDK, enabling authorization, hoặc sandboxing một máy chủ mỗi close off cụ thể attack paths — none of them, alone hoặc together, bảo đảm an integration là safe, đó một model sẽ dùng một tool correctly, hoặc đó một máy chủ sẽ là widely adopted. Authorization hỗ trợ itself là tùy chọn và version-scoped trong đó spec, không một blanket security bảo đảm.

phổ biến myths

  1. “MCP and llms.txt are the same / they compete.” (bản dịch) «MCP và llms.txt là đó giống nhau / they compete.» Không — llms.txt là một static, một-way file; MCP là một trực tiếp, bidirectional giao thức. Khác nhau các vấn đề.
  2. “MCP is just function calling rebranded.” (bản dịch) «MCP là chỉ function calling rebranded.» Không — function calling là một model khả năng; MCP là một cross-vendor giao thức layered on top of đó ý tưởng.
  3. “MCP is a Google or OpenAI standard.” (bản dịch) «MCP là một Google hoặc OpenAI tiêu chuẩn.» Không — Anthropic đã tạo điều này (Nov 2024). OpenAI và Google DeepMind adopted điều này sau đó; đây là hiện tại governed by đó vendor- neutral Agentic AI Foundation.
  4. “Setting up an MCP server boosts my rankings.” (bản dịch) «Setting lên an MCP máy chủ boosts my thứ hạng.» Không evidence hỗ trợ đó. Điều này serves agents đang làm tasks, không khả năng hiển thị trên tìm kiếm.
  5. “MCP replaces APIs.” (bản dịch) «MCP replaces APIs.» Không — MCP các máy chủ là thường thin wrappers exposing existing APIs và dữ liệu trong một tiêu chuẩn way cho AI consumption.
  6. “It’s from Anthropic, so it’s secure by default.” (bản dịch) «đây là từ Anthropic, so đây là secure theo mặc định.» Không — real prompt-injection và tool-poisoning risks exist và không fully solved.

nơi điều này sits trong AI-tìm kiếm picture

MCP là hành động layer của agentic stack. Khoảng nó, phát hiện và identity layers — llms.txt, entity SEO, schema markup cho AI, và Cách agentic tìm kiếm thực ra plans và chạy tasks — round out map. giữ layers distinct và hype nhận lot easier để reason về.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.