个性化内容聚合服务

通过AI助手提供个性化内容聚合服务,支持从RSS、YouTube和GitHub等多种来源统一获取内容。

  • by mishaevoma
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 manifoldhiker/neuralpulse-mcp

使用说明

神经脉冲MCP

通过MCP通过任何AI助手提供个性化内容提要。

一个MCP服务器,将来自多种源类型(RSS、YouTube、GitHub)的内容聚合到一个统一的提要中。总结发生在AI助手方面。

支持的频道类型

  • RSS/原子源 --通过URL订阅任何RSS或Atom提要
  • YouTube播客/频道 --订阅YouTube频道的上传
  • GitHub存储库跟踪器 --跟踪发布、提交、PR和问题

设置

npm install

在游标中运行

回购包括 .cursor/mcp.json 它自动注册服务器。之后 npm install,重新启动Cursor(或重新加载MCP服务器),然后 neuralpulse 服务器将会出现。

然后,你可以问你的AI助手一些事情,比如:

  • “给我上午的简报”
  • “人工智能有什么新进展?”
  • “在YouTube上为我订阅3Blue1Brown”
  • “在GitHub上跟踪modelcontextprotocol/typescript-sdk的发布”
  • “有哪些可用的频道类型?”

MCP工具

喂养

  • get_feed --使用过滤器(limit、channel_ids、channel_types、标签、query、since)查询统一提要

内省

  • get_channel_types --列出所有支持的通道类型及其配置模式

渠道管理

  • list_channels --列出具有同步状态的已配置频道
  • create_channel --添加新通道(验证、持久化、初始同步)
  • update_channel --更新名称、配置、标签或启用状态
  • delete_channel --删除频道及其缓存项
  • sync_channel --强制立即刷新

构建

npm run build

独立运行(用于测试)

npm run dev

Docker Compose

# Start (build & run in background)
docker compose up -d --build

# View logs
docker compose logs -f app

# Restart after code changes
docker compose up -d --build app

# Push DB schema changes (after modifying src/db/schema.ts)
docker compose exec app npm run db:push

# Stop everything
docker compose down

# Stop and wipe the database volume
docker compose down -v

建筑

src/
  index.ts                 — server bootstrap + adapter registration
  core/
    types.ts               — domain types (NormalizedItem, InfoChannel, ChannelAdapter, etc.)
    feed-service.ts        — FeedService orchestrator
    sync-coordinator.ts    — background + on-demand sync with concurrency control
    adapter-registry.ts    — pluggable adapter registry
  stores/
    channel-store.ts       — channel config persistence (JSON)
    item-store.ts          — in-memory item store with query/filter
    sync-state-store.ts    — sync cursor/state persistence (JSON)
  adapters/
    rss.ts                 — RSS/Atom adapter
    youtube-podcast.ts     — YouTube channel adapter (Atom feed)
    github-trends.ts       — GitHub repo tracker (REST API)
  mcp/
    tools.ts               — MCP tool definitions
    render.ts              — text rendering for MCP responses

添加新的通道类型:实现 ChannelAdapter,呼叫 registry.register()核心无变化。