Skip to main content
Glama

velog_mcp

An MCP server that allows Claude to directly write and publish posts on Velog.

It supports Velog, which lacks a public API, through GraphQL reverse engineering. Designed with a human-in-the-loop flow of draft → user review → publish, it maintains full user control while automating content creation.

Installation

npx velog_mcp_setup

While logged into Velog, copy the access_token and refresh_token values from your browser's DevTools → Application → Cookies → https://velog.io.

The tokens will be saved to ~/.velog-mcp.json with 0600 permissions. Please add it to your .gitignore.

Related MCP server: velog-mcp

Claude CLI (Claude Code) Setup

Add to Project

claude mcp add velog npx -y velog_mcp

Or add it directly to your project's .claude/settings.json:

{
  "mcpServers": {
    "velog": {
      "command": "npx",
      "args": ["-y", "velog_mcp"]
    }
  }
}

Add Globally

claude mcp add --scope global velog npx -y velog_mcp

Global settings are available in all projects.

Verification

claude mcp list

If the velog server appears in the list, you are ready. You can use it directly in Claude Code conversations.

나: "React 훅에 대한 글 써줘"
Claude: (velog_draft_post 호출 → 검토 후 발행)

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "velog": {
      "command": "npx",
      "args": ["-y", "velog_mcp"]
    }
  }
}

Usage

Writing and Publishing Posts

나: "React 19 concurrent features에 대한 글 써줘"

Claude: velog_draft_post 호출
→ { draft_id: "abc123", title: "React 19 Concurrent Features 정리", body_preview: "..." }

나: "좋아, 발행해"

Claude: velog_publish_post(draft_id: "abc123") 호출
→ { url: "https://velog.io/@username/react-19-...", post_id: "..." }

Private Publishing

나: "이 글 비공개로 발행해줘"
Claude: velog_publish_post(draft_id: "abc123", is_private: true)

Tool List

Tool

Description

velog_draft_post

Create a post draft (stored in session memory)

velog_publish_post

Publish a draft to Velog

velog_list_posts

View a list of your posts

velog_get_post

View the full content of a specific post

velog_update_post

Update an existing post

velog_delete_post

Delete a post

Authentication

  • access_token: ~1-2 hour TTL. The Velog server automatically refreshes it via Set-Cookie in GraphQL responses.

  • refresh_token: ~30 day TTL. If it expires, you must re-run npx velog_mcp_setup.

  • No separate refresh endpoint — handled automatically by Velog middleware.

Error Handling

Situation

Message

Token expired (401)

"The token has expired or is invalid. Please re-run npx velog_mcp_setup."

No config file

"Configuration file not found. Please run npx velog_mcp_setup."

Network error

"Cannot connect to Velog API. Please check your network."

Invalid draft_id

"draft_id does not exist. Please call velog_draft_post first."

GraphQL error

Returns the Velog server error message as is

Precautions

  • Drafts are stored in the session memory of the MCP server process. They are lost when Claude Desktop is restarted.

  • To save without publishing, use velog_publish_post(is_private: true) to save as private.

  • Images: Use the markdown external URL reference method (![alt](url)).

License

MIT

Available Tools

6 tools
velog_delete_postC

Velog 포스트를 삭제합니다.

Inputs: post_id (required).

velog_draft_postB

Velog 포스트 초안을 세션 메모리에 저장합니다. 발행 전 사용자가 검토할 수 있도록 draft_id를 반환합니다.

Inputs: title (required), body (required), tags, is_private, +1 more.

velog_get_postC

특정 Velog 포스트의 전체 내용을 가져옵니다.

Inputs: url_slug (required).

velog_list_postsC

내 Velog 포스트 목록을 가져옵니다.

Inputs: limit.

velog_publish_postA

초안(draft_id)을 Velog에 발행합니다. velog_draft_post 호출 후 사용하세요.

Inputs: draft_id (required), is_private.

velog_update_postC

기존 Velog 포스트를 수정합니다.

Inputs: post_id (required), title, body, tags, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity: delete, draft, get, list, publish, and update are all specific actions targeting Velog posts. The descriptions reinforce this by specifying when to use each tool (e.g., velog_publish_post after velog_draft_post).

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'velog_' prefix and snake_case: velog_delete_post, velog_draft_post, velog_get_post, velog_list_posts, velog_publish_post, velog_update_post. There are no deviations in naming style.

    Tool Count5/5

    With 6 tools, this server is well-scoped for managing Velog posts. Each tool earns its place by covering essential CRUD and lifecycle operations (drafting and publishing), avoiding both bloat and thin coverage.

    Completeness5/5

    The tool set provides complete CRUD and lifecycle coverage for Velog posts: create (via draft and publish), read (get and list), update, and delete. There are no obvious gaps, and the workflow from drafting to publishing is explicitly supported.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers