Skip to main content
Glama
BlogDistiller · 博萃 MCP Server

BlogDistiller · 博萃 MCP Server

by yibeigen

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BLOGDISTILLER_DATA_DIRNo缓存库与登录态目录;默认为 `<REPO>/data` 或 `~/.blogdistiller/data`。与桌面端指向同一目录即可共享。
BLOGDISTILLER_LOG_LEVELNostderr 日志级别。INFO
BLOGDISTILLER_REPO_PATHNo博萃源码仓库根目录(含 `backend/app`);默认自动探测 `E:\Tools\Web\下载各个平台`。
BLOGDISTILLER_OUTPUT_DIRNo导出默认落盘目录。~/Downloads/BlogDistiller-MCP
BLOGDISTILLER_MAX_CONCURRENCYNo批量抓取并发上限(1..8)。3
BLOGDISTILLER_MAX_EXPORT_JOBSNo同时运行的导出任务上限(1..4)。2
BLOGDISTILLER_DEFAULT_MAX_CHARSNo单篇默认返回字符数。30000
BLOGDISTILLER_DISABLE_ACTIVATIONNo设为 `1` 可关闭批量检索/导出的激活门槛(作者/CI 用)。
BLOGDISTILLER_CATALOG_TTL_SECONDSNo目录缓存 TTL(30 分钟)。1800
BLOGDISTILLER_ALLOWED_OUTPUT_ROOTSNo文件写入白名单(系统路径分隔符分隔);默认为输出目录 + `~/Downloads`。
BLOGDISTILLER_ALLOW_PRIVATE_NETWORKNo仅本地测试时显式开启私网抓取。false
BLOGDISTILLER_BATCH_TOTAL_CHAR_BUDGETNo批量响应总字符预算。60000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

博萃(BlogDistiller)本地优先多平台博文抓取与归档工具,支持微信公众号、知乎、微博、简书、新浪博客、搜狐号、百家号、CSDN、掘金、博客园、51CTO 及通用网页。 推荐工作流:

  1. 读单篇文章直接调 fetch_article;读 2~20 篇调 fetch_articles_batch。

  2. 浏览博主/合集全量文章,先调 list_author_articles 分页检目录,再按需抓单篇或批量导出。

  3. 批量导出 Markdown/PDF/Word/HTML/ZIP 属于长耗时任务,请调 start_export_task 后轮询 get_export_task。

  4. 知乎全量主页或微博遇权限拦截时,先调 check_auth_status,再按需调 sync_platform_auth。

  5. 批量检索/导出需一次性激活(与桌面客户端互通):提示未激活时,引导用户到微信公众号【艺杯羹】发送「文章」免费领 4 位口令,再调 activate_software;单篇抓取与缓存检索无需激活。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_platformsB

列出博萃支持的 11+1 平台能力矩阵与本机环境状态(引擎加载、Playwright、缓存统计)

fetch_articleA

抓取单篇文章的去噪正文(Markdown)与结构化元数据。支持微信公众号/知乎/微博/简书/新浪博客/搜狐号/百家号/CSDN/51CTO/掘金/博客园与通用网页。长文自动分片(truncated + next_offset 续读),可选 save_to_path 完整落盘。单篇绝不触发博主全量溯源。

fetch_articles_batchA

批量抓取 1~20 篇文章正文(支持跨平台混合)。单篇限长 + 总字符预算双重防上下文爆炸;超预算篇目仅返回元数据并提示用 fetch_article 单篇续读。超过 20 篇请改用 start_export_task。

search_cached_articlesA

检索本地已缓存的历史文章(零网络)。按标题/作者/正文模糊搜索,支持平台与作者过滤。看全文时把结果里的 url 传给 fetch_article(use_cache=True) 即可毫秒级获取。

list_author_articlesA

检索博主主页或微信公众号合集的文章目录(服务端分页缓存)。首次传 target 全量检索并返回 catalog_id;后续翻页/关键词筛选/排序只传 catalog_id,毫秒级零重复请求。大博主绝不整表灌入上下文,先看目录再按需精读或导出。

check_auth_statusA

检查知乎/微博/微信的本地登录态是否有效(只返回脱敏状态,绝不回显 Cookie/Token)。知乎全量主页、微博长文与深翻页需要登录态。

sync_platform_authA

同步或重置平台本地登录态。sync_browser 从本机 Edge/Chrome 解密同步(推荐零摩擦,仅 Windows);qr_login 弹本机浏览器窗口扫码(需图形界面,最多等 120 秒);logout 清除本地凭证。所有返回均脱敏。调用前请征得用户同意。

start_export_taskA

启动异步批量导出任务(Markdown/PDF/Word/HTML/TXT + 双模态 ZIP 归档)。长耗时任务立即返回 task_id,用 get_export_task 轮询。支持博主主页、微信合集、catalog_id 精选或显式 URL 列表。部分抓取失败按 on_partial_failure 自动决策,绝不挂起等待人工确认。

get_export_taskA

查询导出任务进度与产物本地真实绝对路径。wait_seconds 可短等待(最多 25 秒),任务完成立即返回。completed 后 files 内含各格式文件路径与字节大小。

control_export_taskB

控制导出任务:pause/resume/cancel/stop_and_export(截断并立即导出已抓部分),以及 list_active/list_incomplete/resume_incomplete/discard_incomplete 管理中断续跑。

activate_softwareA

一次性激活博萃批量检索与导出功能(永久有效,与桌面客户端共享激活状态)。口令免费获取:微信公众号【艺杯羹】后台发送「文章」。已在桌面客户端激活过的用户无需调用本工具。单篇抓取/批量阅读/缓存检索不需要激活。

Prompts

Interactive templates invoked by user choice

NameDescription
research_blogger按目录检索 -> 挑选代表作 -> 批量精读 -> 结构化观点输出的工作流
archive_to_knowledge_base检查登录态 -> 确认规模 -> 异步导出 -> 轮询落盘的工作流

Resources

Contextual data attached and managed by the client

NameDescription
platforms
cache_stats
activation_qrcode

TDQS

A4/5.0

Scored across 11 tools

Disambiguation4/5

Tools are mostly distinct: single vs batch fetch, cached search vs author catalog listing, and the export lifecycle (start/get/control) are clearly separated. The slight overlap between fetch_article(use_cache=True) and search_cached_articles is explicitly explained in descriptions, but the relationship still requires careful reading.

Naming Consistency5/5

Consistent snake_case verb_noun pattern throughout (list_platforms, fetch_article, check_auth_status, start_export_task, etc.). The export trio (start/get/control_export_task) follows a predictable lifecycle naming scheme.

Tool Count5/5

11 tools is well within the ideal 3-15 range and each maps to a distinct capability (platform listing, fetching, caching, auth, export lifecycle, activation). No obvious redundancy or padding.

Completeness4/5

Covers the full workflow: discovery, single/batch fetch, local cache search, author catalog, auth check/sync, export lifecycle, and activation. Minor gaps like cache management/cleanup or catalog refresh exist, but core read/export/auth lifecycles are well covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues