loading…
Search for a command to run...
loading…
Enables browsing Material Design 3 documentation by listing top-level sections and retrieving page content as Markdown.
Enables browsing Material Design 3 documentation by listing top-level sections and retrieving page content as Markdown.
A Cloudflare Worker that exposes an MCP (Model Context Protocol) server for browsing the Material Design 3 documentation.
list_pages — List all documentation pages from the Material Design sitemapget_page — Navigate any Material Design page and get its content as clean Markdownnodejs_compat)toMarkdown()@modelcontextprotocol/server v2)Because m3.material.io is a JavaScript-heavy SPA, the worker uses Playwright to wait for the client-side <article> element to render before extracting content.
# Install dependencies
pnpm install
# Generate TypeScript types from wrangler.jsonc
pnpm run gen:cf-types
# Start local dev server (connects to remote Cloudflare services)
pnpm dev
The MCP endpoint is available at http://localhost:8787/mcp.
pnpm deploy
list_pagesReturns all documentation page paths from the Material Design sitemap.
Input: none
Example output:
blog
components
develop
foundations
get-started
styles
get_pageNavigates to a specific Material Design page, extracts the article content, and converts it to Markdown.
Input:
path — URL path on m3.material.io (e.g. /foundations/overview)Example output:
## Accessibility & Material Design
**Accessibility by default** is a core design value for Material...
Any MCP client that supports Streamable HTTP can connect to:
https://<your-worker>.<your-subdomain>.workers.dev/mcp
For example, with Claude Desktop:
{
"mcpServers": {
"material-design": {
"url": "https://material-mcp.your-account.workers.dev/mcp"
}
}
}
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"material-design-mcp-server": {
"command": "npx",
"args": []
}
}
}