Skip to main content
Glama

mcp-blog

用于博客管理 API 的 MCP 服务器。提供通过 stdio 传输从 Claude Code 预览、发布、列出和删除博客文章的工具。

工具

工具

描述

blog_preview_post

AI 辅助的 frontmatter 补全和正文结构校正。返回校正后的 markdown + diff + Unsplash 图片建议。

blog_publish_post

将校正后的 markdown 保存到 S3 并触发 GitHub Actions 重建。

blog_list_posts

列出文章,支持可选的 published 过滤器和 limit

blog_delete_post

通过 slug 删除文章并触发重建。

设置

本地路径(开发)

// ~/.claude/settings.json
{
  "mcpServers": {
    "blog": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-blog/dist/index.js"],
      "env": {
        "BLOG_API_ENDPOINT": "https://dxbqlfvrescw1.cloudfront.net/api",
        "BLOG_API_KEY": "<your-api-key>"
      }
    }
  }
}

GitHub(未来分发)

// ~/.claude/settings.json
{
  "mcpServers": {
    "blog": {
      "command": "npx",
      "args": ["-y", "github:sano/mcp-blog"],
      "env": {
        "BLOG_API_ENDPOINT": "https://dxbqlfvrescw1.cloudfront.net/api",
        "BLOG_API_KEY": "<your-api-key>"
      }
    }
  }
}

环境变量

变量

必需

描述

BLOG_API_ENDPOINT

博客 API 的基础 URL(例如 https://dxbqlfvrescw1.cloudfront.net/api

BLOG_API_KEY

用于 HMAC 身份验证的 API 密钥

构建

npm install
npm run build
Install Server
F
license - not found
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/MasatoshiSano/mcp-blog'

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