A mcp server for Hexo
Project description
Hexo MCP Server
简体中文 | English
一个用于 Hexo 博客自动化和管理的 MCP 服务器。
📋 项目简介
Hexo MCP Server 旨在通过 MCP 协议帮助你自动化和管理 Hexo 博客。
✨ 功能特性
- 一键新建 Hexo 页面
🪧效果
在 Trae 中使用效果如下:
🚀 安装
通过 JSON 配置安装
{
"mcpServers": {
"hexo-mcp-server": {
"command": "uvx",
"args": [
"hexo-mcp-server"
],
"env": {
"HEXO_DIR": "<YOUR_HEXO_DIRECTORY>"
}
}
}
}
注意:一定要配置 JSON 中的 HEXO_DIR 环境变量,配置为你的 hexo 博客目录,例如你的博客目录在:D:\study\myblog,可以配置为如下JSON内容:
{
"mcpServers": {
"hexo-mcp-server": {
"command": "uvx",
"args": [
"hexo-mcp-server"
],
"env": {
"HEXO_DIR": "D:\\study\\myblog"
}
}
}
}
🛠️ 可用工具
- create_hexo_page(title: str) :根据标题新建 Hexo 页面。
📓开发计划
- 启动 / 停止 hexo 服务工具
- 创建 hexo 页面的时候同时可以添加页面内容
🧪 测试
运行测试:
pytest
📄 许可证
MIT License
📬 联系方式
- 作者: powercheng
- 邮箱: hczshd@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexo_mcp_server-0.1.0.tar.gz
(98.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hexo_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: hexo_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 98.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75aace0352321e4eae180970b508aa195db3e2904f90597740a24a15efbc84d0
|
|
| MD5 |
248952c7b26ad39bc0a192b907a72104
|
|
| BLAKE2b-256 |
87c487c711176238e255aa6e8c423549ab3b7b83a54eb06fee8954a4ec02edd1
|
File details
Details for the file hexo_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hexo_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a1b3be548f9e814f7f48a86ad36fb310f21b8e31b9f2c9fcca60d602c9a5b80
|
|
| MD5 |
82d089485b71b182efce4701c60903e9
|
|
| BLAKE2b-256 |
cf2a7f6a60f39de586cd74fc7a57d20fb5d76a8e66ec230a164759c05d62c517
|