Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.3 KB

File metadata and controls

60 lines (42 loc) · 1.3 KB

ContentAug

安装

需要 Node.js 18+

git clone https://github.com/coderyi/ContentAug.git
cd ContentAug
npm install && npm run build

快速开始

contentaug init                    # 创建 ~/.contentaug/profiles.json
contentaug add "https://example.com/docs"
contentaug add-repo "https://github.com/owner/repo"   # 默认 README.md、docs/;可 --paths
contentaug status
contentaug serve

接入 MCP(Cursor / Claude Code 等)

{
  "mcpServers": {
    "contentaug": {
      "command": "contentaug",
      "args": ["serve"],
      "env": {
      }
    }
  }
}

未全局安装时:将 command 设为 nodeargs["/绝对路径/本仓库/dist/cli.js", "serve"]。具体配置文件路径见各客户端文档。

命令行

命令 说明
init [id], init --all 按配置拉取并重建索引
use <id> / profiles 切换 / 列出 Profile
status [id] / validate 状态 / 校验配置
add <url> / add-repo <repo> 加网页;仓库支持写 GitHub HTTPS URL(亦支持 owner/repo);--paths--profile
serve MCP Server

MCP 工具

search_docsquery)、switch_profilelist_profilesadd_document

许可证

MIT