Skip to main content
Glama
leejersey

Hexo Blog MCP Server

by leejersey

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
site-config博客站点配置文件 _config.yml 的内容
theme-configApollo 主题配置文件 _config.apollo.yml 的内容
posts-summary所有博客文章的元数据汇总列表

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leejersey/hexo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server