mcp-blog
Triggers a GitHub Actions rebuild after publishing or deleting a blog post.
Suggests Unsplash images during blog post preview to enhance visual content.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-blog list my recent unpublished posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-blog
Claude Code / Cursor から自然言語でブログ記事を投稿できる MCP サーバーです。
できること
自分のプロジェクトで作業しながら、Claude に話しかけるだけでブログに投稿できます。
「今日のデバッグ作業をブログ記事にして投稿して」
「記事の一覧を見せて」
「slug が xxx の記事を削除して」Related MCP server: substack-mcp
仕組み
あなた(Claude Code / Cursor)
↓ 自然言語で指示
MCP サーバー(このパッケージ)
↓ HTTPS
ブログ API(Lambda)
↓
S3 に保存 → GitHub Actions が起動 → サイト自動更新(1〜3分)セットアップ
必要なもの
Node.js v20 以上
ブログ API キー(管理者から発行)
設定ファイルに追加
Claude Code (~/.claude/settings.json) または Cursor (~/.cursor/mcp.json) に追記します。
{
"mcpServers": {
"blog": {
"command": "npx",
"args": ["-y", "github:MasatoshiSano/mcp-blog"],
"env": {
"BLOG_API_ENDPOINT": "https://dxbqlfvrescw1.cloudfront.net/api",
"BLOG_API_KEY": "your-api-key"
}
}
}
}設定後は Claude Code / Cursor を再起動すると使えるようになります。
ツール一覧
ツール | 説明 |
| markdown を渡すと AI がフロントマターを自動補完・本文を校正してプレビューを返す |
| 記事を S3 に保存して GitHub Actions のビルドをトリガーする |
| 記事一覧を取得する(公開済み・下書きでフィルタ可能) |
| 指定 slug の記事 Markdown を取得する |
| 記事を削除してビルドをトリガーする |
環境変数
変数名 | 必須 | 説明 |
| ✅ | ブログ API のベース URL(例: |
| ✅ | 認証用 API キー |
開発者向け: ローカルビルド
cd mcp-blog
npm install
npm run build
# → dist/index.js が生成されるローカルビルドを使う場合は npx の代わりに直接 node で指定します:
{
"mcpServers": {
"blog": {
"command": "node",
"args": ["/absolute/path/to/mcp-blog/dist/index.js"],
"env": { ... }
}
}
}Available Tools
5 toolsblog_delete_postA
指定したスラグの記事を S3 から削除し、GitHub Actions ビルドを発火させる。
Inputs: slug (required).
blog_get_postA
指定したスラグの記事を S3 から読み出し、Markdown 本体と frontmatter を返す。編集ワークフロー (取得→修正→blog_publish_post で上書き) で使う。
Inputs: slug (required).
blog_list_postsB
ブログ記事の一覧を取得する。published フィルタと件数上限を指定可能。
Inputs: published, limit.
blog_preview_postA
AI によるフロントマター補完・本文構造補正を実行してプレビュー結果を返す。publish 前に必ず呼ぶこと。
Inputs: markdown (required), slug, imageMeta.
blog_publish_postB
AI 補正済みの markdown と frontmatter を S3 に保存し、GitHub Actions ビルドを発火させて公開する。
Inputs: slug (required), markdown (required), frontmatter (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct action: delete, get, list, preview, and publish. No overlaps in purpose.
All tools follow the consistent blog_verb_noun pattern with snake_case (e.g., blog_delete_post, blog_list_posts).
Five tools are appropriately scoped for a blog server, covering essential operations without being too few or too many.
The set covers the full lifecycle: list, get, preview, publish, and delete. No obvious missing operations for a simple blog workflow.
Related MCP Connectors
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Blog MCP server for AI agents. One signup call returns a blog, an API key and a live URL; then your agent publishes markdown posts and gets public URLs back. Your agent does the writing; you get a dashboard for stats.
Hosted MCP for BlogBat: read, write, generate, and publish blog articles and content.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables management of Ghost blog content (posts, pages, and tags) through Claude, supporting both SSE and stdio transports.3-
- AlicenseAqualityCmaintenanceMCP server for Substack that lets Claude Code create drafts, upload images, set cover thumbnails, schedule, and publish posts on your Substack publication.1116MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for managing Ghost blogs from AI coding editors. Create, edit, publish, and sync blog posts directly from tools like Claude Code or Cursor.44 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Ghost CMS that lets Claude manage posts, pages, members, tags, and newsletters via the Ghost Admin API.ISC