Fetches web pages and converts their HTML to clean Markdown with Turndown.js, saving large pages to files to stay within token limits.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add html-to-markdown -- npx html-to-markdown-mcp~/.codex/config.toml
[mcp_servers.html-to-markdown]
command = "npx"
args = ["html-to-markdown-mcp"]
# codex mcp add html-to-markdown -- npx html-to-markdown-mcp~/.cursor/mcp.json
{
"mcpServers": {
"html-to-markdown": {
"command": "npx",
"args": [
"html-to-markdown-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"html-to-markdown": {
"type": "stdio",
"command": "npx",
"args": [
"html-to-markdown-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"html-to-markdown": {
"command": "npx",
"args": [
"html-to-markdown-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"html-to-markdown": {
"command": "npx",
"args": [
"html-to-markdown-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"html-to-markdown": {
"command": "npx",
"args": [
"html-to-markdown-mcp"
]
}
}
}