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
Metadata
Release files for hexo-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hexo_mcp_server-0.1.0.tar.gz | 98.9 kB | Without provenance | Details for hexo_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hexo_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hexo_mcp_server-0.1.0-py3-none-any.whl |
Total release size: 102.6 kB
Release files / hexo_mcp_server-0.1.0.tar.gz
| Download URL | hexo_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 98.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75aace0352321e4eae180970b508aa195db3e2904f90597740a24a15efbc84d0
|
|
BLAKE2b-256 checksum How to use checksums |
87c487c711176238e255aa6e8c423549ab3b7b83a54eb06fee8954a4ec02edd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / hexo_mcp_server-0.1.0-py3-none-any.whl
| Download URL | hexo_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a1b3be548f9e814f7f48a86ad36fb310f21b8e31b9f2c9fcca60d602c9a5b80
|
|
BLAKE2b-256 checksum How to use checksums |
cf2a7f6a60f39de586cd74fc7a57d20fb5d76a8e66ec230a164759c05d62c517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for hexo-mcp-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.