Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_posts | 列出所有博客文章,支持按关键词过滤标题和标签 |
| search_posts | 按关键词搜索文章标题和正文内容 |
| read_post | 读取指定文章的完整内容(含 Front-matter 和正文) |
| create_post | 创建一篇新的博客文章 |
| update_post | 修改指定文章的内容或元数据 |
| delete_post | 删除指定的博客文章(不可撤销) |
| preview_blog | 启动 Hexo 本地预览服务器(localhost:4000) |
| stop_preview | 停止正在运行的 Hexo 本地预览服务器 |
| deploy_blog | 构建并发布博客到 GitHub Pages(执行 hexo clean && hexo generate && hexo deploy) |
| backup_source | 将博客源码通过 Git 备份到 hexo-source 分支 |
| quick_publish | 一键完成博客发布和源码备份(deploy + backup 组合操作) |
| git_status | 查看博客项目当前的 Git 状态(未提交的更改) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| site-config | 博客站点配置文件 _config.yml 的内容 |
| theme-config | Apollo 主题配置文件 _config.apollo.yml 的内容 |
| posts-summary | 所有博客文章的元数据汇总列表 |