M
MCP
作者 @mdn
MDN's prototype MCP server
创建于 10/3/2025
更新于 2 months ago
README
Repository documentation and setup instructions
mdn-mcp
This is an MCP server which provides access to MDN's search, documentation and Browser Compatibility Data.
Using the remote server
Add the remote server to your tool of choice, e.g. in Claude Code:
claude mcp add --transport http mdn https://mdn-mcp-0445ad8e765a.herokuapp.com/mcp
Using locally
- Install dependencies:
npm install - Start the server:
npm start
Add the server to your tool of choice, e.g. in Claude Code:
claude mcp add --transport http mdn-local http://localhost:3002/mcp
Local development
- Install dependencies:
npm install - Start the development server, MCP inspector and tests:
npm run dev - Your browser should automatically open the MCP inspector, and the server will restart when you make changes
快速设置
此服务器的安装指南
安装命令 (包未发布)
git clone https://github.com/mdn/mcp
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。
Cursor 配置 (mcp.json)
{
"mcpServers": {
"mdn-mcp": {
"command": "git",
"args": [
"clone",
"https://github.com/mdn/mcp"
]
}
}
}