{"_id":"@aiprintmoney-arc/mcp-server-hexo","name":"@aiprintmoney-arc/mcp-server-hexo","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@aiprintmoney-arc/mcp-server-hexo","repository":{"type":"git","url":"git+https://github.com/arc119226/mcp-tools.git","directory":"packages/server-hexo"},"publishConfig":{"access":"public"},"version":"0.1.0","description":"MCP server for managing Hexo blogs — create, edit, and publish posts via AI.","type":"module","bin":{"mcp-server-hexo":"dist/index.js"},"scripts":{"build":"tsc","clean":"rm -rf dist","dev":"tsc --watch","start":"node dist/index.js"},"keywords":["mcp","model-context-protocol","hexo","blog","static-site","ai-tools","claude","markdown"],"author":{"name":"arc119226"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1","zod":"^3.24.4"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.8.3"},"engines":{"node":">=20"},"_id":"@aiprintmoney-arc/mcp-server-hexo@0.1.0","gitHead":"5cbb3429687e73db4cdaac72c9f09a12fe6ec87c","bugs":{"url":"https://github.com/arc119226/mcp-tools/issues"},"homepage":"https://github.com/arc119226/mcp-tools#readme","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LMz7Efz33rXV5edRwBziIkL5UP2oxFVM2Fe5Pv/oJZ74ZcKBjD5qTXR/6NEV1+6l3mZXGTv23YRdNouk2peiCA==","shasum":"248e481a359050ca0b3b0d817ae437f7ebd6e5a5","tarball":"https://registry.npmjs.org/@aiprintmoney-arc/mcp-server-hexo/-/mcp-server-hexo-0.1.0.tgz","fileCount":6,"unpackedSize":39515,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCWZAUJEZnxUlDYq5qXLRkyT1z4P/jVWygufgGv8iZKSQIhAIYLvO1/YXDoDak7OK2M4e7v5jobD0hFrRXBHd+IMc0M"}]},"_npmUser":{"name":"arc119226","email":"a0973551680@gmail.com"},"directories":{},"maintainers":[{"name":"arc119226","email":"a0973551680@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server-hexo_0.1.0_1771931419600_0.7586793935200131"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-24T11:10:19.522Z","0.1.0":"2026-02-24T11:10:19.759Z","modified":"2026-02-24T11:10:19.934Z"},"maintainers":[{"name":"arc119226","email":"a0973551680@gmail.com"}],"description":"MCP server for managing Hexo blogs — create, edit, and publish posts via AI.","homepage":"https://github.com/arc119226/mcp-tools#readme","keywords":["mcp","model-context-protocol","hexo","blog","static-site","ai-tools","claude","markdown"],"repository":{"type":"git","url":"git+https://github.com/arc119226/mcp-tools.git","directory":"packages/server-hexo"},"author":{"name":"arc119226"},"bugs":{"url":"https://github.com/arc119226/mcp-tools/issues"},"license":"MIT","readme":"# mcp-server-hexo\r\n\r\nMCP server for managing Hexo blogs via AI. Create, edit, list, and publish posts.\r\n\r\n## Features\r\n\r\n- **Full CRUD** — Create, read, update, delete posts\r\n- **Smart metadata** — Auto-parse and generate Hexo front matter (tags, categories, dates)\r\n- **Build & deploy** — Run `hexo generate` and custom deploy commands\r\n- **Tag analytics** — List all tags/categories with post counts\r\n- **Zero Hexo dependency for read/write** — Works directly with markdown files\r\n\r\n## Quick Start\r\n\r\n### With Claude Desktop\r\n\r\nAdd to your `claude_desktop_config.json`:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"hexo\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aiprintmoney-arc/mcp-server-hexo\"],\r\n      \"env\": {\r\n        \"HEXO_DIR\": \"/path/to/your/hexo/blog\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### With Claude Code\r\n\r\nAdd to your `.mcp.json`:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"hexo\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aiprintmoney-arc/mcp-server-hexo\"],\r\n      \"env\": {\r\n        \"HEXO_DIR\": \"/path/to/your/hexo/blog\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n## Environment Variables\r\n\r\n| Variable | Required | Description |\r\n|----------|----------|-------------|\r\n| `HEXO_DIR` | No | Path to Hexo project root (default: current directory) |\r\n| `HEXO_DEPLOY_CMD` | No | Custom deploy command (default: `npx hexo deploy`) |\r\n\r\n## Tools\r\n\r\n### `list_posts`\r\n\r\nList all posts with metadata.\r\n\r\n| Parameter | Type | Required | Description |\r\n|-----------|------|----------|-------------|\r\n| `tag` | string | No | Filter by tag |\r\n| `category` | string | No | Filter by category |\r\n| `limit` | number | No | Max posts (1-100, default: 50) |\r\n\r\n### `read_post`\r\n\r\nRead a post's full content.\r\n\r\n| Parameter | Type | Required | Description |\r\n|-----------|------|----------|-------------|\r\n| `filename` | string | Yes | Post filename (e.g. `my-post.md`) |\r\n\r\n### `create_post`\r\n\r\nCreate a new post with front matter.\r\n\r\n| Parameter | Type | Required | Description |\r\n|-----------|------|----------|-------------|\r\n| `title` | string | Yes | Post title |\r\n| `content` | string | Yes | Post body (markdown) |\r\n| `tags` | string[] | No | Tags |\r\n| `categories` | string[] | No | Categories |\r\n| `slug` | string | No | Custom filename slug |\r\n| `date` | string | No | Post date (YYYY-MM-DD HH:mm:ss) |\r\n\r\n### `update_post`\r\n\r\nUpdate an existing post.\r\n\r\n| Parameter | Type | Required | Description |\r\n|-----------|------|----------|-------------|\r\n| `filename` | string | Yes | Post filename |\r\n| `content` | string | No | New body content |\r\n| `title` | string | No | New title |\r\n| `tags` | string[] | No | New tags |\r\n| `categories` | string[] | No | New categories |\r\n\r\n### `delete_post`\r\n\r\nDelete a post.\r\n\r\n| Parameter | Type | Required | Description |\r\n|-----------|------|----------|-------------|\r\n| `filename` | string | Yes | Post filename |\r\n\r\n### `list_tags`\r\n\r\nList all tags and categories with post counts.\r\n\r\n### `generate`\r\n\r\nRun `hexo generate` to build static files.\r\n\r\n### `deploy`\r\n\r\nRun a deploy command.\r\n\r\n| Parameter | Type | Required | Description |\r\n|-----------|------|----------|-------------|\r\n| `command` | string | No | Custom deploy command |\r\n\r\n## Why This Exists\r\n\r\nHugo has an MCP server. Hexo doesn't — until now. Hexo is hugely popular in Asia (Taiwan, China, Japan) and among developers who prefer a Node.js-based static site generator. This server lets AI manage your blog natively.\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md","_rev":"1-c5a4ae9ae8e1aa4fe622ab3e0f79061c"}