Skip to main content
Glama

mcp-blog

블로그 관리 API용 MCP 서버입니다. Claude Code에서 stdio 전송을 통해 블로그 게시물을 미리보기, 게시, 목록 조회 및 삭제할 수 있는 도구를 제공합니다.

도구

도구

설명

blog_preview_post

AI 지원 프론트매터 완성 및 본문 구조 수정. 수정된 마크다운 + diff + Unsplash 이미지 제안을 반환합니다.

blog_publish_post

수정된 마크다운을 S3에 저장하고 GitHub Actions 재빌드를 트리거합니다.

blog_list_posts

선택적 published 필터 및 limit을 사용하여 게시물 목록을 조회합니다.

blog_delete_post

슬러그(slug)로 게시물을 삭제하고 재빌드를 트리거합니다.

Related MCP server: substack-mcp

설정

로컬 경로 (개발)

// ~/.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

Available Tools

5 tools
blog_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

    A3.9/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct action: delete, get, list, preview, and publish. No overlaps in purpose.

    Naming Consistency5/5

    All tools follow the consistent blog_verb_noun pattern with snake_case (e.g., blog_delete_post, blog_list_posts).

    Tool Count5/5

    Five tools are appropriately scoped for a blog server, covering essential operations without being too few or too many.

    Completeness5/5

    The set covers the full lifecycle: list, get, preview, publish, and delete. No obvious missing operations for a simple blog workflow.

    Related MCP Connectors

    Related MCP Servers