惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
腾讯CDC
V
V2EX
Martin Fowler
Martin Fowler
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point Blog
博客园 - 【当耐特】
Cisco Talos Blog
Cisco Talos Blog
The Hacker News
The Hacker News
K
Kaspersky official blog
Security Latest
Security Latest
H
Help Net Security
博客园_首页
美团技术团队
Spread Privacy
Spread Privacy
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
G
Google Developers Blog
NISL@THU
NISL@THU
爱范儿
爱范儿
I
Intezer
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
N
News and Events Feed by Topic
P
Privacy International News Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
雷峰网
雷峰网
人人都是产品经理
人人都是产品经理
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Hacker News: Ask HN
Hacker News: Ask HN
I
InfoQ
The Cloudflare Blog
F
Full Disclosure
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
N
Netflix TechBlog - Medium

MDN Blog

Under the hood of MDN's new frontend | MDN Blog Image formats: Codecs and compression tools | MDN Blog A beginner-friendly guide to view transitions in CSS | MDN Blog Launching MDN's new front end | MDN Blog Image formats: Pixel data from encoders to decoders | MDN Blog Celebrating 20 years of MDN | MDN Blog Image formats: Color models for humans and devices | MDN Blog Default styles for h1 elements are changing | MDN Blog Implications of Global Privacy Control | MDN Blog JavaScript Temporal is coming | MDN Blog Fix your website's Largest Contentful Paint by optimizing image loading | MDN Blog MDN 2024 content projects | MDN Blog A new learning experience on MDN | MDN Blog Countdown to the holidays with daily coding challenges | MDN Blog Monitoring and optimizing website performance | MDN Blog How to land your first developer job | MDN Blog Introducing the new MDN Community page | MDN Blog Fixing your website's JavaScript performance | MDN Blog Get back to school! Supercharge your learning with MDN and Scrimba | MDN Blog Efficient data handling with the Streams API | MDN Blog Locale-sensitive text segmentation in JavaScript with Intl.Segmenter | MDN Blog Optimize your workflow with Git stash | MDN Blog How to debug mobile apps across devices | MDN Blog Exclusive accordions using the HTML details element | MDN Blog Exploring the Broadcast Channel API for cross-tab communication | MDN Blog MDN partners with Scrimba to enhance web development learning | MDN Blog Introducing the MDN HTTP Observatory | MDN Blog Static Site Generation (SSG) with Next.js | MDN Blog New JavaScript Set methods | MDN Blog Securing APIs: Express rate limit and slow down | MDN Blog Using the Page Visibility API | MDN Blog A year of publishing the MDN Blog | MDN Blog Setting up service workers on Vultr | MDN Blog Interop 2023: MDN updates | MDN Blog Testing JavaScript with Jest on Vultr | MDN Blog Creating color palettes with the CSS color-mix() function | MDN Blog Modernizing conventional test automation with TestGrid | MDN Blog Lift-off: The MDN Curriculum launch | MDN Blog Creating effective technical documentation | MDN Blog Leveraging Bun on Vultr: A superior Node.js alternative | MDN Blog Border images in CSS: A key focus area for Interop 2023 | MDN Blog Build AI-powered applications using OpenLLM and Vultr Cloud GPU | MDN Blog Saying goodbye to third-party cookies in 2024 | MDN Blog Baseline's evolution on MDN | MDN Blog Developer essentials: JavaScript console methods | MDN Blog Getting started with CSS container queries | MDN Blog Deploying Node.js applications with PM2 on Vultr | MDN Blog VS Code: Tips and tricks for beginners | MDN Blog Coming Soon: MDN Observatory 2.0 | MDN Blog Optimizing DevSecOps workflows with GitLab's conditional CI/CD pipelines | MDN Blog Introduction to web sustainability | MDN Blog Migrating from GitHub to GitLab seamlessly: A step-by-step guide | MDN Blog Announcing the MDN front-end developer curriculum | MDN Blog Creating custom easing effects in CSS animations using the linear() function | MDN Blog Securing your CDN: Why and how should you use SRI | MDN Blog Scroll progress animations in CSS | MDN Blog Reflections on AI Explain: A postmortem | MDN Blog Developer essentials: How to search code using grep | MDN Blog Introducing AI Help (Beta): Your Companion for Web Development | MDN Blog Learn how to use hue in CSS colors with HSL | MDN Blog Introducing the MDN Playground: Bring your code to life! | MDN Blog MDN doc updates: CSS selectors & media queries, WebGPU & WebTransport APIs, Progressive web apps | MDN Blog How to draw any regular shape with just one JavaScript function | MDN Blog New reference pages on MDN for JavaScript regular expressions | MDN Blog Celebrating Global Accessibility Awareness Day | MDN Blog Using HTML landmark roles to improve accessibility | MDN Blog Introducing Baseline: a unified view of stable web features | MDN Blog How :not() chains multiple selectors | MDN Blog New functions, gradients, and hues in CSS colors (Level 4) | MDN Blog Welcome to the MDN blog | MDN Blog
Introducing the MDN MCP server | MDN Blog
The MDN Team June 15, 2026 4 minutes read · 2026-06-15 · via MDN Blog

We're excited to announce the release of the MDN MCP server. MCP (Model Context Protocol) is an open standard that enables AI tools to connect to external data sources. The MDN MCP server uses this protocol to bring MDN's documentation and browser compatibility data directly into your AI agent or IDE.

Why we built the MDN MCP

More and more AI tools are being integrated into web development workflows, but they can surface outdated web platform information based on their training data and knowledge cutoff.

For example, an LLM or coding agent may not know that a feature like @view-transition CSS at-rule exists, or whether it has reached "Widely Available" baseline and is safe to use across browsers.

The MDN MCP gives your coding agent access to accurate, up-to-date web platform information. It also makes it easier for you to access the latest documentation without leaving your preferred tools.

The server is currently experimental. See our privacy notice for details about data handling during this phase.

How to use the MDN MCP

The MDN MCP server works with any MCP-compatible client, including:

See the links in this list for how to set up MCP with each tool. For installation instructions and other details, check our MDN MCP server page .

As a quick example, to use it with Claude Code, you would run the following:

claude mcp add --transport http mdn https://mcp.mdn.mozilla.net/

We're looking forward to seeing how you integrate it into your web development workflow, and the scenarios where you find it most useful.

What difference does the MCP make?

Given the non-deterministic nature of LLMs and the variety of available models, it's often challenging to compare their behavior with or without certain skills, prompts, tools, and MCPs enabled.

We tested Claude Code Opus 4.7 with and without the MDN MCP on a few features recently shipped in Firefox 151, asking how to use the features and what the browser support is. Specifically:

  1. How to use the light-dark() CSS function for images and which browsers support it?
  2. How to use the :buffering CSS pseudo-class and which browsers support it?
  3. How to use the shadowrootslotassignment attribute on <template> and which browsers support it?
  4. How to use the Web Serial API and which browsers support it?

We noticed certain patterns in the results. In most cases, the usage notes from Claude Code with and without the MDN MCP enabled were comparable. Some answers which used the MCP were better structured and more complete. For example, the notes for the light-dark() CSS function also included examples with linear gradients that weren't directly mentioned in the question but are also supported.

When it came to browser support information, the winner was clear: the MDN MCP produced much better and more reliable results. Claude Code without the MCP got the browser support right only in one case: for the :buffering pseudo-class. For example, Claude Code without the MCP insisted that the declarative shadowrootslotassignment attribute is supported in Chrome 120 and Safari 18.3, possibly conflating it with the Element.attachShadow()'s slotAssignment option. But in fact, Firefox 151 is the first browser to ship support for this attribute.

Without the MCP, Claude Code also didn't provide any concrete browser support information about using images in the light-dark() function: "support is less uniform than the color variant", while with the MCP, it provided the full table listing Firefox 150 and Chrome (behind a flag) as supported browsers.

The worst performance of Claude Code without the MCP came from the Web Serial API question. Firefox 151 shipped support for the Web Serial API in May 2026. However, Claude Code without the MCP correctly mentioned Chromium-based browsers as supporting this feature, but also insisted that in Firefox it's:

Not implemented (and not on the roadmap — see Mozilla's standards position: "harmful")

With the MCP enabled, Claude Code correctly identified that Firefox 151 ships support for the Web Serial API, in line with the release notes.

Additionally, we noticed that in our tests, responses which used the MDN MCP were roughly twice as fast. Without the MCP, Claude Code had to fetch and parse quite a few HTML pages to find current information, which took some time, but even then didn't provide accurate results.

Get involved

Your feedback helps us improve. If you encounter issues, have comments or suggestions, or want to share how you're using the MDN MCP, we'd love to hear from you. Please feel free to come chat with us in the platform channel in our Discord. If you spot any issues, please raise them in the mdn/mcp GitHub repository.

What's next

As AI tools become a bigger part of web development workflows, we're committed to making MDN's documentation available wherever you need it. This release is one step toward that goal, and we're excited to continue improving the experience with your input.