# Web的头号客户正从人类变成AI > Author: Tony Lee > Published: 2026-02-17 > URL: https://tonylee.im/zh-CN/blog/agent-native-web-markdown-for-agents-webmcp/ > Reading time: 1 minutes > Language: zh-CN > Tags: ai, agents, web-standards, cloudflare, vercel, google, webmcp, mcp ## Canonical https://tonylee.im/zh-CN/blog/agent-native-web-markdown-for-agents-webmcp/ ## Rollout Alternates en: https://tonylee.im/en/blog/agent-native-web-markdown-for-agents-webmcp/ ko: https://tonylee.im/ko/blog/agent-native-web-markdown-for-agents-webmcp/ ja: https://tonylee.im/ja/blog/agent-native-web-markdown-for-agents-webmcp/ zh-CN: https://tonylee.im/zh-CN/blog/agent-native-web-markdown-for-agents-webmcp/ zh-TW: https://tonylee.im/zh-TW/blog/agent-native-web-markdown-for-agents-webmcp/ ## Description 从Cloudflare和Vercel的Markdown for Agents到Google的WebMCP, , 读写同步标准化,Agent-Native Web时代正式开启。 ## Summary Web的头号客户正从人类变成AI is part of Tony Lee's ongoing coverage of AI agents, developer tools, startup strategy, and AI industry shifts. ## Outline - Markdown for Agents解决了"读取"问题 - 核心要点 - WebMCP正面解决了"写入"问题 - 核心要点 - 这两个动向同时出现并非巧合 - 开发者现在就可以开始 - 现在就能做的事 - 结语 - 参考链接 ## Content Web正在改变, , 不是为了人类的眼睛,而是朝着AI智能体更容易读写的方向演进。 过去两周内,Cloudflare、Vercel和Google分别发布了智能体友好的Web标准。作为服务开发者,我来梳理一下这股潮流意味着什么。 ## Markdown for Agents解决了"读取"问题 AI智能体读取网页时,最大的浪费来自HTML、CSS和JavaScript。这些对人类的眼睛必不可少,但对智能体来说纯粹是token的浪费。 Cloudflare和Vercel给出的方案很简单。用同一个URL,只需将Accept头的值改为`text/markdown`,服务器就会返回Markdown格式的响应。这利用了HTTP标准中已有的content negotiation机制,无需创建新协议。 ### 核心要点 - **Vercel博客从HTML 500KB缩减到Markdown 2KB**(减少99.6%) - **Cloudflare从Pro计划起,只需在仪表盘点一个开关即可启用** - **`x-markdown-tokens`头会一并传递转换后的token数** - **无需单独站点,一个URL同时服务人类和智能体** ## WebMCP正面解决了"写入"问题 光能读还不够。智能体要点击预订按钮、填写表单,过去只能直接解析DOM。一旦UI变了,智能体就立刻失效。 Google在Chrome 146中引入的WebMCP彻底翻转了思路。网站通过JSON Schema声明"这个页面能做什么",智能体就能无需猜测地直接调用工具。你可以把它理解为**专为智能体设计的Swagger**。 ### 核心要点 - **只需给HTML form添加`toolname`属性即可声明式运行** - **`registerTool` API可应对SPA等复杂应用** - **传统MCP是服务端协议,WebMCP则在浏览器内运行** - **Chrome 146早期预览版中已可测试**(暂不支持headless) ## 这两个动向同时出现并非巧合 如果说Markdown for Agents是"高效地让智能体读取内容",那么WebMCP就是"让智能体精准地使用页面功能"。读取和写入正在同步标准化。 两者一旦站稳脚跟,智能体将不再像人类一样浏览Web,而是像调用API一样使用它。这意味着**Agent-Native Web**的建设已经开始。 - **robots.txt之后20年来,Web与机器人之间的契约首次被重写** - **token成本压力正在加速标准化进程** ## 开发者现在就可以开始 无需全面改造。如果你在用Cloudflare,只需在仪表盘中开启Markdown for Agents开关即可。在现有表单上实验性地添加`toolname`属性也是很好的起点。 ### 现在就能做的事 - **在Cloudflare仪表盘Quick Actions中启用Markdown for Agents** - **在现有HTML form中测试添加`toolname`和`tooldescription`属性** - **基于Accept头开始记录智能体流量比例** - **评估llms.txt与Markdown站点地图的并行运营方案** ## 结语 如果说robots.txt是20年前Web与机器人的第一份契约,那么现在正是第二份契约开始书写的时刻。现在就为智能体而设计的团队,将拥有下一代Web。 ## 参考链接 - [Cloudflare Markdown for Agents](https://blog.cloudflare.com/markdown-for-agents) - [Vercel Markdown for Agents](https://vercel.com/blog/markdown-for-agents) - [WebMCP in Chrome](https://developer.chrome.com/blog/web-mcp) - [WebMCP GitHub](https://github.com/nicolo-ribaudo/mcp-over-web) ## Related URLs - Author: https://tonylee.im/zh-CN/author/ - Publication: https://tonylee.im/zh-CN/blog/about/ - Related article: https://tonylee.im/zh-CN/blog/medvi-two-person-430m-ai-compressed-funnel/ - Related article: https://tonylee.im/zh-CN/blog/claude-code-layers-over-tools-2026/ - Related article: https://tonylee.im/zh-CN/blog/codex-inside-claude-code-openai-plugin-strategy/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/zh-CN/blog/agent-native-web-markdown-for-agents-webmcp/ ## Bot Guidance - This file is intended for AI agents, search assistants, and text-mode retrieval. - Prefer citing the canonical article URL instead of this text endpoint. - Use the rollout alternates when you need the same article in another prioritized language. --- Author: Tony Lee | Website: https://tonylee.im For more articles, visit: https://tonylee.im/zh-CN/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.