Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

自动发文 MCP Server
An MCP server that lets AI agents search interview experiences, look up tech news, and publish articles to CSDN, Juejin, and Cnblogs.
WHAT IT DOES
- •Searches Niuke for interview experience posts written by users.
- •Queries the web for the latest technology news topics.
- •Publishes articles with a title, content, and description, returning the article ID and link.
- •Supports publishing to CSDN, Juejin, and Cnblogs using account cookies configured via environment variables.
BEST FOR
- •AI agents that generate an article and automatically publish it to Chinese blogging platforms.
- •Users who want to search interview experiences and tech news before drafting content.
ABOUT MCP-SERVER-ARTICLE
自动发文 MCP Server is cataloged as an MCP server attributed to gulihua10010. An MCP server that lets AI agents search interview experiences, look up tech news, and publish articles to CSDN, Juejin, and Cnblogs. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability inspector
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
Tools (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Resources (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Prompts (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for 自动发文 MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Which environments must be set to publish articles?
Cookies for Juejin, CSDN, and Cnblogs must be provided, plus the Cnblogs x-xsrf-token.
Which MCP-capable assistants can connect to this server?
Any agent assistant that supports the MCP protocol, such as Claude, Cursor, or Qianfan AppBuilder.
Upstream README
README.md · b08f2f70f883 · Fetched 2026-11-13 10:53:35 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
自动发文 MCP Server
简介
本项目实现通过AI生成一篇文章,然后自动发文到CSDN、掘金、博客园。关于MCP协议,详见MCP官方文档。
依赖MCP Java SDK开发,任意支持MCP协议的智能体助手(如Claude、Cursor以及千帆AppBuilder等)都可以快速接入。
以下会给更出详细的适配说明。
工具列表
搜索面经 searchExperienceQuestion
- 从牛客搜索用户发表的面经
- 输出:
面经内容
查询资讯 searchNews
- 从网上查询最新的科技资讯话题内容
- 输出:
资讯标题、资讯内容
发布文章到CSDN publishArticle2Csdn
- 输入:
文章标题、内容、描述 - 输出:
文章id、文章链接
发布文章到掘金 publishArticle2Juejin
- 输入:
文章标题、内容、描述 - 输出:
文章id、文章链接
发布文章到博客园 publishArticle2Cnblog
- 输入:
文章标题、内容、描述 - 输出:
文章id、文章链接
环境参数
JUEJIN_COOKIE
掘金账号的Cookie,主要的请求头Cookie的sessionid字段
CSDN_COOKIE
CSDN账号的Cookie,主要是请求头Cookie的SESSION字段、UserName字段,UserInfo字段、UserToken字段 请求头签名:x-ca-key、x-ca-nonce、x-ca-signature、x-ca-signature-headers、accept、content-type 写死就行了
CNBLOG_COOKIE
博客园账号的Cookie,主要是请求头Cookie的.CNBlogsCookie字段、AspNetCore.Antiforgery.xxxxxxxx字段,.Cnblogs.AspNetCore.Cookies字段
CNBLOG_TOKEN
博客园请求头x-xsrf-token字段
快速开始
使用发文 MCP Server主要通过Java SDK 的形式
Java 接入
前提需要Java 17 运行时环境
安装
git clone https://github.com/yuyuanweb/mcp--server-article
构建
cd mcp--server-article
mvn clean package
使用
-
打开
Cherry Studio的设置,点击MCP 服务器。
-
点击
编辑 JSON,将以下配置添加到配置文件中。
{
"mcpServers": {
"articleServer": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-Dspring.main.web-application-type=none",
"-Dlogging.pattern.console=",
"-jar",
"/Users/gulihua/IdeaProjects/mcp-server-article/target/mcp-server-0.0.1-SNAPSHOT.jar"
],
"env": {
"JUEJIN_COOKIE": "掘金的cookie",
"CNBLOG_COOKIE": "博客园的cookie",
"CNBLOG_TOKEN": "博客园的x-xsrf-token",
"CSDN_COOKIE": "CSDN的cookie"
}
}
}
}

- 在设置-模型服务里选择一个模型,输入API密钥,选择模型设置,勾选下工具函数调用功能。

- 在输入框下面勾选开启MCP服务。

- 配置完成,然后查询牛客的用户真实面经,AI生成文章,然后发布到CSDN、掘金、博客园。

代码调用
- 引入依赖
<dependency>
<groupId>com.alibaba.cloud.ai</groupId>
<artifactId>spring-ai-alibaba-starter</artifactId>
<version>1.0.0-M6.1</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-mcp-client-spring-boot-starter</artifactId>
<version>1.0.0-M6</version>
</dependency>
- 配置MCP服务器 需要在application.yml中配置MCP服务器的一些参数:
spring:
ai:
mcp:
client:
stdio:
# 指定MCP服务器配置文件
servers-configuration: classpath:/mcp-servers-config.json
mandatory-file-encoding: UTF-8
其中mcp-servers-config.json的配置如下:
{
"mcpServers": {
"articleServer": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-Dspring.main.web-application-type=none",
"-Dlogging.pattern.console=",
"-jar",
"/Users/gulihua/IdeaProjects/mcp-server-article/target/mcp-server-0.0.1-SNAPSHOT.jar"
],
"env": {
"JUEJIN_COOKIE": "掘金的cookie",
"CNBLOG_COOKIE": "博客园的cookie",
"CNBLOG_TOKEN": "博客园的x-xsrf-token",
"CSDN_COOKIE": "CSDN的cookie"
}
}
}
}
客户端我们使用阿里巴巴的通义千问模型,所以引入spring-ai-alibaba-starter依赖,如果你使用的是其他的模型,也可以使用对应的依赖项,比如openAI引入spring-ai-openai-spring-boot-starter 这个依赖就行了。
配置大模型的密钥等信息:
spring:
ai:
dashscope:
api-key: ${通义千问的key}
chat:
options:
model: qwen-max
通义千问的key可以直接去官网 去申请,模型我们用的是通义千问-Max。 3) 初始化聊天客户端
@Bean
public ChatClient initChatClient(ChatClient.Builder chatClientBuilder,
ToolCallbackProvider mcpTools) {
return chatClientBuilder
.defaultTools(mcpTools)
.build();
}
- 接口调用
@PostMapping(value = "/ai/answer/sse", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
public Flux<String> generateStreamAsString(@RequestBody AskRequest request) {
Flux<String> content = chatClient.prompt()
.user(request.getContent())
.stream()
.content();
return content
.concatWith(Flux.just("[complete]"));
}
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for 自动发文 MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-article)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Downloads and pulls
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

