Blog Automation

io.github.shsoftwaresolutioncom由 GitHub 账号 shsoftwaresolutioncom 发布v1.0.1更新于 Nov 7, 2026

Write blog articles with AI and publish them to WordPress, Shopify and 30+ platforms.

已验证Streamable HTTP可网页运行效率与工作流商业与电商AI 与机器学习

概览

AI 生成的概览

Blog Automation 让助手规划博客选题、用 AI 生成文章,并发布或定时发布到 WordPress 等平台。

可以做什么
  • 列出、创建并跟踪博客选题,含关键词、受众与优先级
  • 以异步任务方式用 AI 生成文章并查询任务状态
  • 列出和读取文章(含 HTML 与 SEO 字段),查看状态、排期与最近错误
  • 立即发布文章,或按指定时间、下一个空档定时发布
  • 查询 token 余额与价格,列出已连接站点和模板
适用场景
适合希望让助手端到端跑通博客流程的场景:构思并保存选题、起草文章,再发布或定时发布到已连接的站点。也适合已在使用 Blog Automation 的内容团队,通过 Claude、ChatGPT、Cursor 等 MCP 客户端来操作。
运行要求
需要 Blog Automation 账号,且套餐支持 API(Starter 或 Pro),并准备具备所需权限范围的 API 密钥。本地运行使用 Node 22 上的 npm 包 @blogautomation/mcp-server,密钥放在 BA_API_KEY;远程使用则连接托管端点,通过 OAuth 或 Authorization 的 Bearer 密钥认证。需要能访问 Blog Automation API 的网络。
安装前请注意
API 密钥是有效凭据,应尽量缩小权限范围,例如不授予 articles:publish,使助手只能写草稿。write_article 会消耗 token,即产生费用;publish_article 或定时发布会改动已连接站点上的线上内容。发布与消耗 token 的工具带有标注,客户端可先征求确认。远程端点只接受来自已配置来源的浏览器请求。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Blog Automation,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.shsoftwaresolutioncom%2Fblog-automation-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "blog-automation": {
      "type": "http",
      "url": "https://mcp.blog-automation.com/mcp"
    }
  }
}

README

Blog Automation MCP server

Model Context Protocol server for Blog Automation (https://blog-automation.com): plan ideas, write articles with AI, publish or schedule them on WordPress and check the token balance – from Claude, ChatGPT, Cursor or any MCP client. It is a thin wrapper around the Customer API https://app.blog-automation.com/api/v1/ext (app repo blogposter-app, server/routes/ext.js, docs/API.md). Node 22, @modelcontextprotocol/sdk 1.32, zod 4. Package @blogautomation/mcp-server, command blog-automation-mcp.

Tools

ToolAPI callNotes
list_ideasGET /ideasstatus, siteId, limit, cursor – read only
create_ideaPOST /ideastitle (+ keyword, notes, audience, priority 1–3, language, siteId); Idempotency-Key
write_articlePOST /articles/generate { …, async: true } → 202 { job }, then GET /jobs/{id} every 3 suses tokens; waits ≈ 50 s, then returns jobId (→ job_status); answer without HTML; Idempotency-Key
job_statusGET /jobs/{id}running / done (article) / failed (error)
list_articlesGET /articlesstatus list, siteId, q, limit, cursor (no HTML)
get_articleGET /articles/{id}with HTML and SEO fields
article_statusGET /articles/{id}/statusstatus, schedule, WordPress link, last error, job
publish_articlePOST /articles/{id}/publish or, with at, POST /articles/{id}/scheduleat = ISO time or "next" (next free slot = "add to calendar")
token_balanceGET /tokensbalance, lots, prices
list_sitesGET /sitesWordPress sites (ids for siteId)
list_templatesGET /templatesbuilt-in b:… and own templates

Errors come back as readable tool results with isError: true: 401 (key invalid/revoked), 402 (not enough tokens: needed / balance), 403 insufficient_scope (which scope is missing) / plan_required (which plans have the API), 404, 429 (seconds from Retry-After).

API key

Blog Automation → Entwickler / API → "API-Key erstellen" (plans Starter and Pro). Scopes: articles:read, articles:write, ai:generate (write_article), articles:publish (publish_article), ideas:read, ideas:write, templates:read, sites:read, account:read (token_balance). Leave out what the assistant should not do – e.g. without articles:publish it can write drafts but never publish.

Use it

stdio (local; the key comes from BA_API_KEY):

bash
npx -y @blogautomation/mcp-server          # once published; from this repo: node mcp/src/cli.js

Claude Desktop (claude_desktop_config.json) / Cursor (~/.cursor/mcp.json) – same block:

json
{ "mcpServers": { "blog-automation": { "command": "npx", "args": ["-y", "@blogautomation/mcp-server"], "env": { "BA_API_KEY": "ba_live_…" } } } }

Claude Code: claude mcp add blog-automation --env BA_API_KEY=ba_live_… -- npx -y @blogautomation/mcp-server

Streamable HTTP (remote clients – ChatGPT connectors / developer mode, Claude "custom connector", Cursor via URL):

bash
blog-automation-mcp --http --port 8787 --host 127.0.0.1 --origin https://chatgpt.com,https://claude.ai
  • Endpoint POST /mcp (stateless, JSON responses), health check GET /healthz. GET/DELETE on /mcp → 405 (no sessions).
  • Every request must send Authorization: Bearer ba_live_…; the key is used only for that request's API calls – not stored, not logged. Missing or malformed → 401 with WWW-Authenticate: Bearer.
  • Requests with an Origin header are only accepted from --origin / BA_MCP_ORIGINS (DNS-rebinding protection); without the option browser requests are refused, server-to-server calls (no Origin) work.
  • Binds 127.0.0.1 by default; put it behind the reverse proxy (TLS) for public use, e.g. https://mcp.blog-automation.com/mcp.
  • OAuth (since 1.1.0): clients that only do OAuth – ChatGPT apps / developer mode, Claude custom connectors, MCP Inspector – just get the URL https://mcp.blog-automation.com/mcp. The 401 points to /.well-known/oauth-protected-resource (RFC 9728), which names https://app.blog-automation.com as authorization server (dynamic client registration, PKCE S256). The person signs in to Blog Automation, sees the requested permissions and clicks "Erlauben"; the access token is a 1-hour API key, refreshed automatically, revocable under Entwickler / API. Env: BA_MCP_RESOURCE (public /mcp URL), BA_OAUTH_ISSUER (app base URL).

ChatGPT app

ChatGPT → Settings → Apps & Connectors → Advanced → Developer mode → "Create" → name "Blog Automation", MCP server URL https://mcp.blog-automation.com/mcp, authentication OAuth → sign in → allow. All tools carry readOnlyHint / destructiveHint annotations, so ChatGPT asks before writing (tokens) or publishing. Listing in the ChatGPT app directory: SUBMISSION.md.

BA_API_BASE overrides the API (e.g. https://pre.blog-automation.com/api/v1/ext).

Develop

bash
cd mcp && npm install && npm test     # node:test – 7 tests, fake API (no network, no key)

Tests: tools/list (names, annotations, schemas), request shape of every tool, Idempotency-Key, async job polling (done / still running / failed), publish vs. schedule, error mapping (401/402/403/404/429), HTTP transport (healthz, 401, Origin 403, 405, tools/list + call with the request's key).

来源:README.md,提交 b018190

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.1最新Nov 7, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。