velog_mcp
velog_mcp
一个允许 Claude 直接在 Velog 上撰写和发布文章的 MCP 服务器。
通过 GraphQL 逆向工程支持没有公开 API 的 Velog。设计为“草稿 → 用户审核 → 发布”的人机协作流程,既实现了自动化,又让用户保持完全的控制权。
安装
npx velog_mcp_setup在登录 Velog 的状态下,打开浏览器 DevTools → Application → Cookies → https://velog.io,复制并输入 access_token 和 refresh_token 的值。
令牌将以 0600 权限保存在 ~/.velog-mcp.json 中。请将其添加到 .gitignore 中。
Related MCP server: velog-mcp
Claude CLI (Claude Code) 设置
添加到项目
claude mcp add velog npx -y velog_mcp或者直接添加到项目的 .claude/settings.json 中:
{
"mcpServers": {
"velog": {
"command": "npx",
"args": ["-y", "velog_mcp"]
}
}
}全局添加
claude mcp add --scope global velog npx -y velog_mcp全局设置可在所有项目中使用。
确认
claude mcp list如果 velog 服务器出现在列表中,则准备就绪。之后可以直接在 Claude Code 对话中使用。
나: "React 훅에 대한 글 써줘"
Claude: (velog_draft_post 호출 → 검토 후 발행)Claude Desktop 设置
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"velog": {
"command": "npx",
"args": ["-y", "velog_mcp"]
}
}
}使用方法
撰写并发布文章
나: "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: "..." }私密发布
나: "이 글 비공개로 발행해줘"
Claude: velog_publish_post(draft_id: "abc123", is_private: true)工具列表
工具 | 说明 |
| 创建文章草稿(保存在会话内存中) |
| 将草稿发布到 Velog |
| 查询我的文章列表 |
| 查询特定文章的全部内容 |
| 修改现有文章 |
| 删除文章 |
认证
access_token: TTL 约为 1-2 小时。Velog 服务器会在 GraphQL 响应中通过Set-Cookie自动更新。refresh_token: TTL 约为 30 天。过期时需要重新运行npx velog_mcp_setup。没有单独的刷新端点 — 由 Velog 中间件自动处理。
错误处理
情况 | 消息 |
令牌过期 (401) |
|
配置文件不存在 |
|
网络错误 |
|
无效的 draft_id |
|
GraphQL 错误 | 原样返回 Velog 服务器错误消息 |
注意事项
草稿保存在 MCP 服务器进程的会话内存中。重启 Claude Desktop 时会丢失。
若要保存而不发布,请使用
velog_publish_post(is_private: true)进行私密保存。图片:使用 Markdown 外部 URL 引用方式 (
)。
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceConnects Claude to WordPress sites through the REST API, enabling AI-assisted content creation, publishing, media management, user administration, and site maintenance tasks through natural language.472222MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to read, search, and write Velog blog posts. Supports post management, trending, and series/profile retrieval.10117MIT
- Flicense-qualityDmaintenanceEnables creating draft posts and listing published posts on abelcastro.dev directly from Claude.
- Flicense-qualityDmaintenanceMulti-platform blog publishing tool that enables users to save, schedule, and publish SEO-optimized articles to platforms like websites, LinkedIn, Twitter, and Substack directly from Claude.
Related MCP Connectors
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Read, edit, publish, and preview your pepita websites from Claude.
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/seongwon030/velog_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server