# WebMCP：让网站学会与AI Agent对话

Original title: WebMCP: Teaching Your Website to Talk to AI Agents

> Hacker News story 49450417 · language: zh · submitted 2026-08-26
> Web version: https://zeli.app/zh/story/49450417
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 56 · by [sreenathmenon](<https://news.ycombinator.com/user?id=sreenathmenon>) · 💬 57
[original](<https://sreenathmenon.com/blog/2026-08-04-webmcp-teaching-websites-to-talk-to-ai-agents/>) · [HN discussion](<https://news.ycombinator.com/item?id=49450417>)

## Summary

目前的AI Agent操作网站就像在电话里描述截图，充满猜测且极易出错。WebMCP提出了一种更理性的方案：不再让Agent去猜测页面功能，而是让网站直接声明它能做什么。这项由Google和Microsoft在W3C社区组共同推动的提案，允许网页通过JavaScript API注册结构化工具，让Agent直接调用。这意味着Agent不再需要模拟点击或解析DOM，而是像调用API一样与网站交互。目前WebMCP已在Chrome 149中开启Origin Trial，开发者仅需十分钟即可为现有网站添加支持。通过区分只读工具与需要人工确认的操作，WebMCP在提升自动化效率的同时，也构建了可靠的安全模型。

## Key quote

> 这就是Agent在操作你的网站，与Agent在操作一张网站截图之间的区别。

---

## Cite

- Page: https://zeli.app/zh/story/49450417
- Date: 2026-08-26
- Source: sreenathmenon.com (https://sreenathmenon.com/blog/2026-08-04-webmcp-teaching-websites-to-talk-to-ai-agents/)
- Hacker News: https://news.ycombinator.com/item?id=49450417

## Other languages

- en: https://zeli.app/story/49450417 · markdown: https://zeli.app/story/49450417.md
- ja: https://zeli.app/ja/story/49450417 · markdown: https://zeli.app/ja/story/49450417.md
- ko: https://zeli.app/ko/story/49450417 · markdown: https://zeli.app/ko/story/49450417.md
- de: https://zeli.app/de/story/49450417 · markdown: https://zeli.app/de/story/49450417.md
- es: https://zeli.app/es/story/49450417 · markdown: https://zeli.app/es/story/49450417.md
- ru: https://zeli.app/ru/story/49450417 · markdown: https://zeli.app/ru/story/49450417.md
