<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>MDN | 面条的草稿箱</title><description>无原创，纯转发</description><link>http://drafts.miantiao.me</link><item><title>AI 编程防翻车：MDN 正式推出 MCP 服务，让 AI 获取最新 Web 规范在大模型辅助编程的时代，你是否也遇到过 AI 给出过时 Web API，或错误浏览器兼容性数据的情况？为了解决这一痛点，MDN 官方宣布推出了 MDN MCP（Model Context Protocol）服务</title><link>http://drafts.miantiao.me/posts/139</link><guid isPermaLink="true">http://drafts.miantiao.me/posts/139</guid><pubDate>Tue, 16 Jun 2026 04:07:17 GMT</pubDate><content:encoded>AI 编程防翻车：&lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt; 正式推出 MCP 服务，让 AI 获取最新 Web 规范&lt;br /&gt;&lt;br /&gt;在大模型辅助编程的时代，你是否也遇到过 AI 给出过时 Web API，或错误浏览器兼容性数据的情况？&lt;br /&gt;&lt;br /&gt;为了解决这一痛点，&lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt; 官方宣布推出了 &lt;mark class=&quot;highlight&quot;&gt;&lt;b&gt;MDN&lt;/b&gt;&lt;/mark&gt;&lt;b&gt; MCP（Model Context Protocol）服务&lt;/b&gt;。&lt;br /&gt;&lt;br /&gt;&lt;b&gt;什么是 &lt;/b&gt;&lt;mark class=&quot;highlight&quot;&gt;&lt;b&gt;MDN&lt;/b&gt;&lt;/mark&gt;&lt;b&gt; MCP？&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;MCP 是一种开放标准，允许 AI 工具安全地连接到外部数据源。通过 &lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt; MCP，你可以将最新的 &lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt; 官方文档和浏览器兼容性数据（BCD）直接接入到你常用的 AI 编辑器（如 Cursor、VS Code、Zed）或命令行工具（如 Claude Code）中。&lt;br /&gt;&lt;br /&gt;&lt;b&gt;它能带来什么改变？&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;•   &lt;b&gt;消除 AI 幻觉与信息滞后&lt;/b&gt;：避免 AI 因“知识库截止时间”而给出过时信息。例如，它能准确告知你 Firefox 151 已支持 Web Serial API，而未启用 MCP 的 AI 则会根据旧数据坚称“Firefox 不支持”。&lt;br /&gt;•   &lt;b&gt;响应速度翻倍&lt;/b&gt;：测试表明，启用 MCP 后，AI 响应速度提升了约一倍。AI 无需再耗时爬取和解析网页，而是直接通过协议获取结构化数据。&lt;br /&gt;•   &lt;b&gt;快速配置&lt;/b&gt;：以 Claude Code 为例，只需运行一行命令即可快速集成：&lt;br /&gt;    &lt;code&gt;claude mcp add --transport http &lt;mark class=&quot;highlight&quot;&gt;mdn&lt;/mark&gt; https://mcp.mdn.mozilla.net/&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;目前该服务已处于实验阶段，感兴趣的开发者不妨立即配置，让你的 AI 助手掌握最权威的 Web 开发知识库。&lt;br /&gt;&lt;br /&gt;原链接：&lt;a href=&quot;https://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/&quot;&gt;https://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;/search/result?q=%23AI%E7%BC%96%E7%A8%8B&quot; title=&quot;#AI编程&quot;&gt;#AI编程&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23MDN&quot; title=&quot;#MDN&quot;&gt;#MDN&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23MCP&quot; title=&quot;#MCP&quot;&gt;#MCP&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%89%8D%E7%AB%AF%E5%BC%80%E5%8F%91&quot; title=&quot;#前端开发&quot;&gt;#前端开发&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B&quot; title=&quot;#大语言模型&quot;&gt;#大语言模型&lt;/a&gt;&lt;a class=&quot;tgme_widget_message_link_preview&quot; href=&quot;https://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;MDN&apos;s MCP server brings MDN&apos;s documentation and browser compatibility data directly into your editor or IDE, giving your LLM or coding agent access to accurate, up-to-date web platform information.&quot;&gt;
  &lt;i class=&quot;link_preview_right_image&quot; style=&quot;background-image:url(&apos;https://cdn4.telesco.pe/file/aqyaKRsUeefHAJgnXTIArXBJbxae0cr4tI3PiLQA36gskWjhEHDn5P8lL7ThjE9byHKLoX8-pdbfZFvStnDhDVCFOS4oC5aQRLN_G0gr3wDlhoFa2otU-lLZuL9gsQImdY0BCrBkMw5J_pOMcJHNGlUv6KhhVxxzJc1ivCL3aQXYj0VeDpSu6dQcdSVHy-7rX3uHbXmIh_AjB60RVPa1i9E_wBRBIUskMOPitGGqnSIn9nXmgwzck44EFZLhHXKKLA3I2l_dwwS3PSIrHqOJnoKUu0APTK7dgSNqnZ3zWn-IwT9kvWI1D0TDzvx-XMBPIyN6O8IkjvOycVMCFRfCqQ.jpg&apos;)&quot;&gt;&lt;/i&gt;
  &lt;div class=&quot;link_preview_site_name accent_color&quot;&gt;MDN Web Docs&lt;/div&gt;
  
  &lt;div class=&quot;link_preview_title&quot;&gt;Introducing the &lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt; MCP server | &lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt; Blog&lt;/div&gt;
  &lt;div class=&quot;link_preview_description&quot;&gt;&lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt;&apos;s MCP server brings &lt;mark class=&quot;highlight&quot;&gt;MDN&lt;/mark&gt;&apos;s documentation and browser compatibility data directly into your editor or IDE, giving your LLM or coding agent access to accurate, up-to-date web platform information.&lt;/div&gt;
&lt;/a&gt;</content:encoded></item></channel></rss>