
一个AI驱动的内容工作流程,将RSS的素材和行业讨论转化为研究支持的,SEO准备好的内容和Reddit的想法.
概览
这个项目被批准参加Graftcode影响方案。 一个从TypeScript仪表盘和一个通过Graftcode的节点脚本直接调用到的Python服务(一个文章-研究-并起草的管道),有: 没有FastAPI路由,没有Pydantic DTO,没有手写取客户端. 没有HTTP适配器:浏览器直接将生成的Graft导入到"Gateway". MCP是Gateway的内置终点,而不是单独的桥梁. 它是为Wayzy的内容引擎而建. 接收器在捆绑的样本数据上以演示模式运行。 该寄存器有一个Python服务以及几种使用方式. 仪表板和节点客户端通过WebSocket使用生成的Graft;MCP相容客户端使用Gateway的内置HTTP端点. 皆能通达同出大众活佛法. 重要的边界是Python服务. UI,脚本,和AI助手是同一服务的客户端,而不是内容逻辑的单独拷贝.
概述(AI 翻译)
** Graftcode影响方案:** 本项目核准参加Graftcode影响方案。 Python服务(一条文章研究和起草管道) TypeScript 仪表板和一个通过 Graftcode 的节点脚本 **无 REST 层 **:无 FastAPI 路由,无 Pydantic DTO ,无手写取客户端.
没有 HTTP 适配器: 浏览器将生成的 Graft 导入到 Gateway 直接说 MCP是Gateway的内置终点,而不是单独的桥梁.
它是为Wayzy的内容引擎而建. 你不需要这个 运行此 repo 的管道:** 没有它,接收器在捆绑的样本数据上以 demo 模式 运行。
碎片如何组合
执行视频 MCPUSE
该寄存器有一个Python服务以及几种使用方式. 仪表板和节点 客户端通过 WebSocket 使用生成的 Graft; MCP 兼容客户端使用 Gateway 的 内建的 HTTP 端点 。 皆能通达同出大众活佛法.
重要的边界是Python服务. UI,脚本和AI助手都是客户端 ,而不是单独复制内容逻辑。
□ 内容工作流程
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Python ↔ TypeScript with Graftcode: a content-pipeline demo
Graftcode Impact Programme: this project is approved for participation in the Graftcode Impact Programme. A Python service (an article-research-and-drafting pipeline) called directly from a TypeScript dashboard and a Node script through Graftcode, with no REST layer: no FastAPI routes, no Pydantic DTOs, no hand-written fetch client.
Browser (React) ── generated Graft ── WebSocket ─┐
Node test script ─ generated Graft ──────────────┤
▼
Claude / Cursor ── MCP over HTTP ──────► Graftcode Gateway ─► ArticlePipelineService (Python)
:8080 ws · :8081 /mcp plain public methods
There is no HTTP adapter: the browser imports the generated Graft and talks to the Gateway directly. MCP is the Gateway’s built-in endpoint, not a separate bridge.
It was built for Wayzyy’s content engine. You do not need that pipeline to run this repo: without it the receiver runs in demo mode on bundled sample data.
How the pieces fit together
Implementation video MCPUSE
The repository has one Python service and several ways to use it. The dashboard and Node client use the generated Graft over WebSocket; MCP-compatible clients use the Gateway’s built-in HTTP endpoint. They all reach the same public Python methods.
flowchart LR
A[React dashboard] -->|generated GraftWebSocket :8080| G[Graftcode Gateway]
B[Node.js client] -->|generated GraftWebSocket :8080| G
C[Claude / Cursor] -->|MCP over HTTP/mcp :8081| G
G --> S[ArticlePipelineServiceplain Python methods]
S --> D[(Topics and drafts)]
S --> P[Optional real pipelineresearch, writing, publishing]
The important boundary is the Python service. The UI, scripts, and AI assistants are clients of the same service rather than separate copies of the content logic.
The content workflow
The demo models an editorial workflow from an idea to a reviewable change. Sources and rules inform the draft, while the human review step remains the publishing gate.
flowchart LR
I[Topic queue] --> R[RSS and web research]
I --> K[Keyword research]
R --> O[Outline]
K --> O
B[Existing blog] --> L[Style and rulebook]
L --> O
O --> W[Write draft]
W --> E[SEO and style checks]
E --> H{Human review}
H -->|needs changes| W
H -->|approved| PR[Stage GitHub PR]
H -->|approved| X[Optional publisher]
The bundled receiver runs this flow in demo mode with sample data. Attaching the real article pipeline replaces the sample sources and placeholder writer with the project’s live research, LLM, and publishing integrations.
For the expanded diagrams and demo notes, see
docs/architecture.md.
安装
npx -y mcp-remote http://localhost:8081/mcp配置
{ "mcpServers": { "graft-content-pipeline": { "url": "http://localhost:8081/mcp" } } }