使用说明
fetch2md MCP服务器
获取网站内容并将其转换为干净的markdown格式的MCP服务器。
安装
pnpm install
pnpm build
用法
添加到MCP客户端配置中:
{
"mcpServers": {
"fetch2md": {
"command": "node",
"args": ["/path/to/fetch2md/dist/index.js"]
}
}
}
工具
read_网站
获取网站并将其内容转换为markdown。仅返回不带元数据的页面内容。
参数:
url(string):要获取的网站的URL
例子:
{
"url": "https://example.com/article"
}
后续步骤
- []为流行/有用的网站制定更精细的策略
- []实现Google Search API以基于主题/查询检索相关URL
