juejin-mcp

juejin-mcp is a skill for Claude Code, Codex from iceycn/juejin-release-mcp. It costs 59 tokens per session (1,563 once invoked), scanned A, original, MIT.

An MCP server and skill for managing articles on 掘金 (Juejin), a Chinese developer publishing platform. It supports publishing, drafts, published articles, categories, tags, and user information.

In plain words
What is it for?
Creating, updating, listing, and deleting drafts; publishing and managing articles; retrieving categories and tags; and checking the logged-in user.
Why use it?
It removes the need to copy and paste article content and manage the publishing workflow manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating, updating, listing, and deleting drafts; publishing and managing articles; retrieving categories and tags; and checking the logged-in user.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iceycn/juejin-release-mcp/juejin-mcp-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iceycn/juejin-release-mcp --skill juejin-mcp-skill
Clone the repo
git clone --depth 1 https://github.com/iceycn/juejin-release-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for juejin-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/iceycn/juejin-release-mcp/juejin-mcp-skill/github.svg)](https://agentmods.dev/skills/iceycn/juejin-release-mcp/juejin-mcp-skill)
Your own site
<a href="https://agentmods.dev/skills/iceycn/juejin-release-mcp/juejin-mcp-skill"><img src="https://agentmods.dev/badge/skills/iceycn/juejin-release-mcp/juejin-mcp-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for juejin-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/iceycn/juejin-release-mcp/juejin-mcp-skill"><img src="https://agentmods.dev/badge/skills/iceycn/juejin-release-mcp/juejin-mcp-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01563
Opus 5 $0.00030 $0.00781
Sonnet 5 $0.00012 $0.00313
Haiku 4.5 $0.00006 $0.00156

Measured 11d ago against content hash faa3f505aafe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

juejin-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

juejin-mcp-skill/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

掘金 MCP 服务器

概述

告别手动复制粘贴,通过自然语言让 AI 帮你发布掘金文章、管理草稿、获取内容列表,实现「动动嘴皮子就能写博客」的流畅体验。

核心功能:

  • ✍️ 一键发布 - 自动完成创建草稿 + 发布两步操作
  • 📝 草稿管理 - 创建、更新、删除、列出草稿
  • 📄 文章管理 - 获取、更新、删除已发布文章
  • 🏷️ 分类标签 - 自动获取掘金官方分类和热门标签
  • 👤 用户信息 - 获取当前登录用户信息

快速配置

方式一:龙虾/AI 助手配置(最简单)

直接告诉你的 AI 助手(如龙虾、Cursor):

请帮我配置 juejin-mcp-skill 技能,
我的掘金 Cookie 是:sessionid=dc673cde72c7c81539d2fa3xxxxxxxx

AI 会自动帮你完成配置,无需手动编辑文件。

方式二:uvx 运行(推荐,无需安装)

{
  "mcpServers": {
    "juejin": {
      "command": "uvx",
      "args": ["juejin-release-mcp"],
      "env": {
        "JUEJIN_COOKIE": "sessionid=your_sessionid"
      }
    }
  }
}

方式三:pip 安装后运行

pip install juejin-release-mcp
{
  "mcpServers": {
    "juejin": {
      "command": "juejin-release-mcp",
      "env": {
        "JUEJIN_COOKIE": "sessionid=your_sessionid"
      }
    }
  }
}

🚀 使用指南

第一步:获取掘金 Cookie

  1. 登录 掘金,进入创作者中心
  2. F12 打开浏览器开发者工具,切换到 Network(网络) 标签
  3. 刷新页面,找到任意 API 请求(如 list_by_userquery_category_list
  4. Request Headers 中找到并复制 sessionid 字段

获取 Cookie 示意图

⚠️ 重要提醒:掘金 Cookie 有效期约为 30 天,过期后会导致发布失败。如遇「鉴权失败」错误,请重新获取 Cookie。

第二步:配置到 Cursor

  1. 打开 Cursor 设置 → MCP 页面
  2. 点击「添加服务器」
  3. 粘贴上面的配置 JSON
  4. your_sessionid 替换为你复制的真实 Cookie
  5. 保存配置

第三步:开始使用

配置完成后,直接在对话中使用:

请帮我发布一篇掘金文章:
- 标题:我的 2024 技术总结
- 内容:# Hello World

这是我的第一篇博客文章...
- 分类:后端
- 标签:Python, MCP

核心工具

工具 功能 必填参数
publish_article 发布文章(创建草稿+发布) title, content
create_draft 创建草稿 title, content
update_draft 更新草稿 draftId
delete_draft 删除草稿 draftId
list_drafts 草稿列表 -
get_article 获取文章详情 articleId
list_articles 文章列表 -
update_article 更新文章 articleId
delete_article 删除文章 articleId
list_categories 分类列表 -
list_tags 标签列表 -
get_user_info 用户信息 -

Read the full file on GitHub · 202 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 202 lines · 59 tokens per session scan A faa3f505aafe

Subscribe to this mod's changes

juejin-mcp is a skill published in the GitHub repository iceycn/juejin-release-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 59 tokens to every session and 1,563 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens