{
"mcpServers": {
"mcp-server-juejin": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 137 days ago. 8 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Juejin and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
一个基于 Spring AI MCP Server 的掘金文章发布服务,支持通过 AI 自动创建和发布文章到掘金社区。
mcp-server-juejin/
├── src/
│ └── main/
│ ├── java/
│ │ └── cn/bugstack/mcp/server/juejin/
│ │ ├── domain/ # 领域层
│ │ │ ├── adapter/ # 端口接口
│ │ │ ├── model/ # 领域模型
│ │ │ └── service/ # 领域服务
│ │ ├── infrastructure/ # 基础设施层
│ │ │ └── adapter/ # 适配器实现
│ │ ├── gateway/ # 网关层
│ │ │ └── dto/ # 数据传输对象
│ │ ├── types/ # 类型定义
│ │ │ ├── properties/ # 配置属性
│ │ │ └── utils/ # 工具类
│ │ └── McpServerApplication.java
│ └── resources/
│ └── application.yml
└── pom.xml
在 src/main/resources/application.yml 中配置掘金 Cookie:
juejin:
api:
cookie: your-juejin-cookie-here # 掘金登录 Cookie
spring:
application:
name: mcp-server-juejin
ai:
mcp:
server:
name: ${spring.application.name}
version: 1.0.0
main:
web-application-type: none # stdio 模式
如何获取掘金 Cookie:
Cookie 值mvn clean package
java -jar target/mcp-server-juejin-1.0.0.jar
通过 @Tool 注解暴露的工具方法,AI 可以调用 saveArticleToJueJin 方法发布文章。
功能流程:
请求参数:
title: 文章标题markdowncontent: Markdown 格式的文章内容tags: 文章标签(多个标签用逗号分隔)返回信息:
项目采用 DDD(领域驱动设计)架构:
数据流转:
AI → @Tool 方法 → JueJinArticleService → IJueJinPort → JueJinPort → IJueJinService → 掘金 API
当作为 MCP Server 运行时,AI 可以通过以下方式调用:
{
"method": "tools/call",
"params": {
"name": "saveArticleToJueJin",
"arguments": {
"title": "深入理解 Spring Boot 自动配置",
"markdowncontent": "# 深入理解 Spring Boot 自动配置\n\nSpring Boot 的自动配置机制...",
"tags": "Spring Boot,Java,后端开发"
}
}
}
saveArticleToJueJin 工具方法createArticle: 创建文章草稿publishArticle: 发布文章JueJinArticleService 中添加新的 @Tool 注解方法IJueJinPort 接口中定义新的端口方法JueJinPort 中实现适配逻辑IJueJinService 中添加对应的 API 接口项目使用掘金开放 API:
https://api.juejin.cn//content_api/v1/article_draft/create/content_api/v1/article/publish日志文件位置:data/log/mcp-server-juejin.log
本项目采用 MIT 许可证。
Daniel G