jb-mdn
Use the official MDN MCP server through a persistent mcporter server config for current web platform docs and browser compatibility, while avoiding a direct MCP connection in the agent harness.
Server URL: https://mcp.mdn.mozilla.net/
Configured name: mdn
When to use
- Questions about CSS, HTML, JavaScript, DOM, Web APIs, browser features, or web standards.
- Browser compatibility, Baseline, or “can I use this?” checks.
- New or recently shipped platform features where model memory may be stale.
- Implementation work where exact MDN examples, syntax, or compatibility tables matter.
Setup
Persist the official MDN MCP server in mcporter once per project or machine:
# Project-local config, preferred for repo-specific agent workflows
mcporter config add mdn https://mcp.mdn.mozilla.net/ --description "Official MDN Web Docs MCP server"
# Or global/home config when you want it everywhere
mcporter config add mdn https://mcp.mdn.mozilla.net/ --scope home --description "Official MDN Web Docs MCP server"
Verify:
mcporter config get mdn
mcporter list mdn --schema
Quick commands
# Inspect available MDN MCP tools
mcporter list mdn --schema
# Search MDN
mcporter call mdn.search query="view transition"
# Fetch an MDN documentation page as markdown
mcporter call mdn.get-doc path="/en-US/docs/Web/CSS/Reference/At-rules/@view-transition"
# Fetch browser compatibility data by BCD key
mcporter call mdn.get-compat key="css.at-rules.view-transition"
Prefer --output json when parsing results programmatically:
mcporter call mdn.search query="popover attribute" --output json
Workflow
- Search first when you do not know the exact MDN path or BCD key.
- Fetch docs with
get-doc for syntax, examples, notes, and links.
- Fetch compatibility with
get-compat for support tables and Baseline claims.
- Cite what you used in the final answer: MDN page path/URL and compatibility key when relevant.
Tool names
The server currently exposes:
search — search MDN documentation by query.
get-doc — retrieve an MDN page as markdown. Takes a docs path or full URL.
get-compat — retrieve MDN Browser Compatibility Data. Takes a BCD feature key like api.fetch, javascript.builtins.Promise, or css.properties.display.
Guardrails
- Do not rely on memory for current browser support when MDN MCP can answer it.
- Treat the MDN MCP server as experimental; if a call fails, retry once, then fall back to
fetch_content or web search and mention the fallback.
- Use the official remote HTTP server above, not an unofficial local MDN package, unless the user explicitly asks.
- Prefer a persistent
mcporter config named mdn; do not wire MDN directly into Claude, Codex, Pi, Cursor, or other harness MCP configs unless the user explicitly asks.
1---2name: jb-mdn3description: Query MDN Web Docs through the official MDN MCP server using a persistent mcporter config, avoiding a direct MCP connection in the agent harness. Use when checking current web platform docs, CSS/HTML/JavaScript/Web API behavior, MDN browser compatibility data, Baseline support, or when the user asks whether a browser feature is supported.4---56# jb-mdn78Use the official MDN MCP server through a persistent `mcporter` server config for current web platform docs and browser compatibility, while avoiding a direct MCP connection in the agent harness.910Server URL: `https://mcp.mdn.mozilla.net/`11Configured name: `mdn`1213## When to use1415- Questions about CSS, HTML, JavaScript, DOM, Web APIs, browser features, or web standards.16- Browser compatibility, Baseline, or “can I use this?” checks.17- New or recently shipped platform features where model memory may be stale.18- Implementation work where exact MDN examples, syntax, or compatibility tables matter.1920## Setup2122Persist the official MDN MCP server in mcporter once per project or machine:2324```fish25# Project-local config, preferred for repo-specific agent workflows26mcporter config add mdn https://mcp.mdn.mozilla.net/ --description "Official MDN Web Docs MCP server"2728# Or global/home config when you want it everywhere29mcporter config add mdn https://mcp.mdn.mozilla.net/ --scope home --description "Official MDN Web Docs MCP server"30```3132Verify:3334```fish35mcporter config get mdn36mcporter list mdn --schema37```3839## Quick commands4041```fish42# Inspect available MDN MCP tools43mcporter list mdn --schema4445# Search MDN46mcporter call mdn.search query="view transition"4748# Fetch an MDN documentation page as markdown49mcporter call mdn.get-doc path="/en-US/docs/Web/CSS/Reference/At-rules/@view-transition"5051# Fetch browser compatibility data by BCD key52mcporter call mdn.get-compat key="css.at-rules.view-transition"53```5455Prefer `--output json` when parsing results programmatically:5657```fish58mcporter call mdn.search query="popover attribute" --output json59```6061## Workflow62631. **Search first** when you do not know the exact MDN path or BCD key.642. **Fetch docs** with `get-doc` for syntax, examples, notes, and links.653. **Fetch compatibility** with `get-compat` for support tables and Baseline claims.664. **Cite what you used** in the final answer: MDN page path/URL and compatibility key when relevant.6768## Tool names6970The server currently exposes:7172- `search` — search MDN documentation by query.73- `get-doc` — retrieve an MDN page as markdown. Takes a docs path or full URL.74- `get-compat` — retrieve MDN Browser Compatibility Data. Takes a BCD feature key like `api.fetch`, `javascript.builtins.Promise`, or `css.properties.display`.7576## Guardrails7778- Do not rely on memory for current browser support when MDN MCP can answer it.79- Treat the MDN MCP server as experimental; if a call fails, retry once, then fall back to `fetch_content` or web search and mention the fallback.80- Use the official remote HTTP server above, not an unofficial local MDN package, unless the user explicitly asks.81- Prefer a persistent `mcporter` config named `mdn`; do not wire MDN directly into Claude, Codex, Pi, Cursor, or other harness MCP configs unless the user explicitly asks.