博客作者mcp
AI 블로그 자동화 MCP 서버
당신이 사랑한 것들에서 당신만의 목소리를 찾아드립니다
AI Blog Automation MCP Server
We find your voice in the things you love
______________________________________________________________________
第四条道路:⟨H⊕A⟩↦ Ω
人类(H)和人工智能(A),而不是工具和用户-- 但随着合作伙伴朝着更好的方向发展(Ω)。
22B Labs就是这样构建的。一切免费,一切开放。 → 4thpath.com
22B实验室|4thpath.com MIT许可证
______________________________________________________________________
目录/Table of Contents
______________________________________________________________________
这是什么? / What is this?
博客作者mcp是直接连接到Claude或ChatGPT使用的博客自动化工具。
*博客作者mcp是一个直接连接到Claude或ChatGPT的博客自动化工具。*
与现有的博客自动化工具有什么不同?
| 现有工具 | blog-writer-mcp | |
|---|---|---|
| 写作基础 学习你写的文章 爱的东西学习 | ||
| 对象 | 能写字的人 | 不能写字也OK |
| 界面 | 需要单独的Web UI | Claude/ChatGPT对话框 |
| 个性化方式 | 模仿文体反映世界观·感受性 | |
| 价格 | 月费 | 完全免费 |
这与其他博客工具有何不同?
| 其他工具 | 博客作者mcp | |
|---|---|---|
| 写作基础 | 从你过去的写作中学习 | 从你的作品中学习 爱 |
| 目标用户 | 能写作的人 | 任何人,甚至是非作家 |
| 接口 | 单独的web UI | Claude/ChatGPT聊天 |
| 个性化 | 风格模仿 | 世界观与感性 |
| 价格 | 每月订阅 | 完全免费 |
______________________________________________________________________
什么是创作DNA? / What is Creative DNA?
大多数AI写作工具都说:“上传你写的文章后,我会以那种风格写出来。” 不过 因为不会写字,所以对来帮忙的人没有用。
*大多数人工智能写作工具都说“上传你过去的写作,我们会匹配你的风格。” 但对于那些因为不会写字而来寻求帮助的人来说,这是无用的。*
创作DNA不同。你 感动的东西从中提取你的世界观。
*创意DNA是不同的。它从以下事物中提取你的世界观 感动你.*
좋아하는 작가 → 문체의 깊이와 호흡
좋아하는 책 → 주제의식과 인생관
좋아하는 영화 → 감정의 결과 스케일
좋아하는 애니 → 가치관과 전달 방식
Favorite authors → Depth and rhythm of writing
Favorite books → Themes and life philosophy
Favorite films → Emotional register and scale
Favorite anime → Values and how they're conveyed例如,/For example:
保罗•科埃略+希腊人乔尔巴+星际穿越+吉卜力 保罗·科埃略+希腊佐巴+星际+吉卜力
在此组合中,系统将提取以下内容:
*从该组合中,系统提取:*
- 主题:自由,旅程,宇宙连接,生活的积极性
- 文体:简单的句子里有深刻的真理/Simple sengments carrieng deep truths
- 禁止色调:说教的,冷嘲热讽的,机械的/Preachy,cynical,mechanical
结果,这是AI写的文章,感觉像是你写的。
*结果:AI编写的内容感觉像 *你* 写的。*
______________________________________________________________________
主要功能/Features
创作DNA系统/Creative DNA系统
- 从喜欢的作家、书籍、电影中自动提取写作世界观
- 自动从喜爱的作家、书籍、电影中提取写作世界观
- 设置一次后,将自动应用于所有后续文章
- 设置一次,应用于所有未来的写作
AI写作/AI Writing
- 收集趋势→选题→写作→发行全过程自动化
- 完整管道:趋势收集→ 选题→ 写作→ 出版
- 自动发布Google Blogger/自动发布到Google Blogger
- 自动生成图像/自动生成和附加图像
SEO+GEO优化/SEO+GEO优化
- 元标记、标题结构、关键字密度自动优化
- 自动优化元标签、标题结构、关键字密度
- GEO(Generative Engine Optimization):优化ChatGPT、Claude和Perplexity引用
- GEO:优化AI搜索引擎中的引用
性能反馈循环/Performance Feedback Loop
- 结合Google Search Console分析实际流量
- 通过谷歌搜索控制台分析真实流量
- 性能良好的文章模式→自动推荐下一个主题
- 高性能模式→ 自动下一主题推荐
Coupang Partners自动链接/Auto Affiliate Links
- 自动插入符合文章内容的Coupang链接
- 自动插入相关Coupang联盟链接
______________________________________________________________________
安装方法/Installation
前提条件/前提条件
- Python3.11或更高版本/Python3.11或更高版本
- Node.js 18或更高版本(用于前端构建)/Node.js 18+(for frontend build)
- Claude Desktop或ChatGPT Plus/Pro帐户
- 克劳德桌面或ChatGPT Plus/Pro帐户
- Google Blogger博客或博客网站/Google Blogger博客或博客网站
步骤1-下载代码/Step1-Download
git clone https://github.com/sinmb79/blog-writer_mcp.git
cd blog-writer_mcp步骤2-首选参数/Step2-Environment Setup
# Windows
scripts\setup.bat
# Mac/Linux
pip install -e .setup.bat自动/ setup.bat 自动:
- 创建python虚拟环境/Creates python virtual environment
- 安装软件包/Installs packages
- 创建所需目录/Creates required directories
- 下载韩文字体/Downloads Korean fonts
步骤3-设置API密钥/Step3-API Keys
copy .env.example .env.env 打开文件,输入以下值/Open .env 并填写:
# Google Blogger 인증 / Google Blogger Auth
GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
# 아래 명령어 실행 후 자동 입력됨
# Run the command below and this will be auto-filled:
# python scripts/get_token.py
GOOGLE_REFRESH_TOKEN=
# 블로그 ID (Blogger URL에서 확인) / Blog ID (found in Blogger URL)
BLOG_MAIN_ID=your_18_digit_blog_id
# WordPress Application Password 인증 (선택) / WordPress Application Password auth (optional)
WP_URL=https://your-site.com
WP_USERNAME=your_username
WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
# Telegram 알림 (선택) / Telegram notifications (optional)
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# 쿠팡 파트너스 (선택) / Coupang Partners (optional)
COUPANG_ACCESS_KEY=
COUPANG_SECRET_KEY=步骤4-Google身份验证/Step4-Google身份验证
python scripts/get_token.py浏览器打开后,使用Google帐户登录→自动 token.json 保存。
*浏览器将打开。使用您的Google帐户登录→ token.json 会自动保存。*
步骤5-运行MCP服务器/Step5-Start MCP服务器
python -m blogwriter_mcp.serverhttp://127.0.0.1:8766/mcp 将在中运行服务器。
*服务器运行于 http://127.0.0.1:8766/mcp.*
______________________________________________________________________
克劳德桌面版연결 / Claude桌面设置
克劳德桌面版이란?/什么是克劳德桌面?
Anthropic创建的AI应用程序。 claude.ai/下载可以从免费下载。 连接MCP服务器后,Claude可以直接使用博客工具。
*Claude Desktop是Anthropic的一款人工智能应用程序。免费下载 claude.ai/下载. 连接MCP服务器,克劳德可以直接使用博客工具。*
设置方法/Setup
配置文件位置/Config file location:
- 窗户:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
打开文件并添加以下内容:
{
"mcpServers": {
"blog_writer": {
"command": "mcp-remote",
"args": ["http://127.0.0.1:8766/mcp"]
}
}
}重新启动Claude Desktop/Restart Claude Desktop.
如果在输入窗口底部出现工具图标,则连接成功。
*如果在输入框底部看到工具图标,则连接成功。*
______________________________________________________________________
ChatGPT连接/ChatGPT Setup
必要条件/Requirements:ChatGPT Plus、Pro、Team或Enterprise订阅 需要ChatGPT Plus、Pro、Team或Enterprise订阅
ChatGPT localhost无法直接连接到,需要隧道。
*ChatGPT无法访问 localhost 直接,因此需要隧道。*
步骤1-ngrok安装/Step1-Install ngrok
ngrok.com在中创建并安装免费帐户。
*在以下网址创建免费帐户 ngrok.com 并安装。*
ngrok http 8766https://abc123.ngrok.app 将创建相同的地址。
*URL类似 https://abc123.ngrok.app 将生成。*
步骤2-注册ChatGPT Connector/Step2-注册ChatGPT Connector
- 打开ChatGPT设置/Open ChatGPT Settings
- Connectors→Developer Mode激活/Enable Developer Mode
- 创建 클릭 / 单击“创建”
- 输入/Fill in:
Connector name: blog-writer-mcp
Description: AI 블로그 자동화. 창작 DNA로 당신만의 목소리로 씁니다.
AI blog automation. Write in your own voice with Creative DNA.
Connector URL: https://abc123.ngrok.app/mcp如果URL更改,则必须更新Connector。 当隧道URL更改时更新连接器。
______________________________________________________________________
如何使用/How to Use
第一次开始-设置创作DNA/Getting Started-Set Your Creative DNA
在Claude Desktop或ChatGPT中这样说/Say this in Claude Desktop or ChatGPT:
내 창작 DNA를 설정해줘.
좋아하는 작가: 파울로 코엘료
좋아하는 책: 그리스인 조르바
좋아하는 영화: 인터스텔라
좋아하는 애니: 지브리 스타일 (자연, 교훈, 경이로움)
나의 키워드: 자유, 여정, 인간과 기술의 공존
---
Set my creative DNA.
Favorite author: Paulo Coelho
Favorite book: Zorba the Greek
Favorite film: Interstellar
Favorite anime style: Ghibli (nature, lessons, wonder)
My keywords: freedom, journey, human-technology coexistence系统分析你的喜好,提取你自己的写作世界观。设置一次就结束了。
*该系统分析您的偏好,并提取您独特的写作世界观。设置一次,就完成了。*
______________________________________________________________________
글 쓰기 / 写一篇文章
오늘 AI 관련 트렌드 하나 골라서 블로그 글 써줘.
내 DNA 스타일로.
---
Pick one AI trend today and write a blog post.
Apply my DNA style.Claude可以自行执行以下流程:
- 收集趋势(
blog_get_trending) - 选题和写作(
blog_write_article) - SEO优化(
blog_optimize_seo) - 创建图像(
blog_generate_image) - 插入Coupang链接(
blog_insert_affiliate_links) - 发布(
blog_publish,platform="blogger" | "wordpress" | "both")
______________________________________________________________________
检查性能/Check Performance
최근 한 달 블로그 성과 보여줘. 다음에 뭘 쓰면 좋을지 추천도 해줘.
---
Show me last month's blog performance. Recommend what to write next.______________________________________________________________________
一次完整管线/Full Pipeline at Once
"AI와 인간의 미래" 주제로 전체 파이프라인 돌려줘.
---
Run the full pipeline on the topic "The future of AI and humanity."______________________________________________________________________
工具列表/Tools
| 工具名/Tool Name说明/Description基于/Based on | ||
|---|---|---|
blog_get_trending | 趋势收集/Collect trends | collector_bot.py |
blog_write_article | 写作(DNA应用)/Write article(with DNA) writer_bot.py | |
blog_generate_image | 生成图像/生成图像 | image_bot.py |
blog_optimize_seo SEO+GEO优化/SEO+GEO优化 article_parser.py + seo_optimizer.py | ||
blog_insert_affiliate_links | 插入Coupang链接/Insert affiliate links | linker_bot.py |
blog_publish | 博客/WordPress발행 / 发布到Blogger或WordPress | publisher_bot.py + wp_publisher_bot.py |
blog_get_analytics | 性能分析/Performance analytics | analytics_bot.py |
blog_full_pipeline | 全自动化/全自动化 | assist_bot.py + server.py |
blog_set_creative_dna | 创作DNA设置/Set Creative DNA | creative_dna.py |
blog_get_performance_feedback | 绩效反馈/Performance feedback | performance_feedback.py |
______________________________________________________________________
项目结构/Project Structure
blog-writer-mcp/
├── bots/ # 핵심 로직 / Core logic
│ ├── collector_bot.py # 트렌드 수집 / Trend collection
│ ├── writer_bot.py # AI 글쓰기 / AI writing
│ ├── publisher_bot.py # Blogger 발행 / Blogger publishing
│ ├── wp_publisher_bot.py # WordPress 발행 / WordPress publishing
│ ├── image_bot.py # 이미지 생성 / Image generation
│ ├── analytics_bot.py # 성과 분석 / Analytics
│ ├── linker_bot.py # 쿠팡 링크 / Coupang links
│ └── engine_loader.py # AI 엔진 팩토리 / AI engine factory
│
├── blogwriter_mcp/ # MCP 서버 / MCP server
│ ├── server.py # FastMCP HTTP, :8766
│ └── tools/
│ ├── creative_dna.py # 창작 DNA / Creative DNA
│ ├── seo_optimizer.py # SEO + GEO
│ └── performance_feedback.py
│
├── config/
│ ├── engine.json # AI 엔진 설정 / AI engine config
│ └── creative_dna.json # DNA 설정 / DNA config
│
├── templates/ # 프롬프트 템플릿 / Prompt templates
├── tests/ # 테스트 (pytest 22 passed)
├── .env.example # 환경변수 예시 / Env template
├── pyproject.toml
├── requirements.txt
└── README.md______________________________________________________________________
常见问题解答
Q:完全没有写作经验也可以吗?
可以。反而是更需要这个工具的人。只要有你感动的东西就可以了。
*对。事实上,这个工具是为你量身定做的。你所需要的就是那些让你感动的东西。*
______________________________________________________________________
问:如果不设置创作DNA会怎么样?
它以普通的AI写作方式工作。任何时候设置DNA都会立即生效。
*它是一个普通的AI作家。随时设置你的DNA,它会立即应用。*
______________________________________________________________________
问:除了Blogger之外,还支持其他平台吗?
当前版本支持Google Blogger和Word。NAVER博客支持可以在以后的版本中扩展。
*当前版本支持谷歌博客和WordPress。Naver博客支持可以在未来的版本中添加。*
______________________________________________________________________
问:没有Claude Desktop就不能用吗?
只需要Claude Desktop或ChatGPT Plus/Pro。
*您需要Claude Desktop或ChatGPT Plus/Pro-只是其中之一。*
______________________________________________________________________
问:您需要很多API密钥吗?
基本功能只需要Google帐户。Telegram、Coupang和Search Console都是可选的。
*基本功能只需要一个谷歌帐户。Telegram、Coupang和Search Console都是可选的。*
______________________________________________________________________
Q:可以商业使用吗?
MIT许可证。您可以自由使用,不受商业使用限制。
*MIT许可证。您可以在商业上使用它,不受任何限制。*
______________________________________________________________________
贡献/Contributing
欢迎错误报告、功能建议和PR。
*欢迎提交Bug报告、功能建议和PR。*
# 로컬 개발 / Local development
git clone https://github.com/sinmb79/blog-writer_mcp.git
cd blog-writer_mcp
pip install -e ".[dev]"
pytest tests/ -v______________________________________________________________________
发布验证
python -m pytest tests -v
python -m compileall blogwriter bots dashboard blog_engine_cli.py blog_runtime.py runtime_guard.py
cd dashboard/frontend && npm run build______________________________________________________________________
相关项目/Related Projects
- sinmb79/博客作者 -自动化原始博客/Original blog automation
______________________________________________________________________
创建者/Author
22B实验室 (sinmb79)
*第四条道路:⟨H⊕A⟩↦ Ω*
人类×人工智能→ 一个更美好的世界。
*22B实验室|4thpath.com*
______________________________________________________________________
The 4th Path: ⟨H⊕A⟩ ↦ Ω
Human × AI → a better world.
