
SourceSync.ai MCP Server

2025.03.09
1
TypeScript知识管理AI 集成开发效率
SourceSync.ai MCP Server 是一个基于 Model Context Protocol (MCP) 的服务实现,用于与 SourceSync.ai 的知识管理平台进行交互。它提供了一个标准化的接口,使 AI 模型能够管理和操作知识库中的内容。
View on GitHub
Overview
基本能力
产品定位
SourceSync.ai MCP Server 是一个知识管理平台的服务接口,旨在通过标准化的 MCP 协议,使 AI 模型能够高效地管理和操作知识库内容。
核心功能
- 知识库管理:支持创建、更新、删除和查询命名空间,用于组织知识内容。
- 内容摄取:支持从多种来源(文本、URL、网站、外部服务如 Notion、Google Drive 等)摄取内容到知识库。
- 文档操作:提供文档的检索、更新、删除和重新同步功能。
- 搜索功能:支持语义搜索和混合搜索(语义+关键词)。
- 外部服务连接:支持创建和管理与外部服务(如 Google Drive、Dropbox 等)的连接。
- API 验证:提供 API 密钥验证功能。
适用场景
- 知识管理:用于组织和检索企业或个人的知识库内容。
- AI 集成:作为 AI 模型的后端知识库,提供内容支持和检索功能。
- 内容自动化:自动化从多种来源摄取内容到知识库。
工具列表
- Authentication:
validate_api_key
- 验证 SourceSync.ai API 密钥。 - Namespaces:
create_namespace
,list_namespaces
,get_namespace
,update_namespace
,delete_namespace
- 管理命名空间。 - Data Ingestion:
ingest_text
,ingest_urls
,ingest_sitemap
,ingest_website
,ingest_notion
,ingest_google_drive
,ingest_dropbox
,ingest_onedrive
,ingest_box
,get_ingest_job_run_status
- 从多种来源摄取内容。 - Documents:
getDocuments
,updateDocuments
,deleteDocuments
,resyncDocuments
,fetchUrlContent
- 管理文档。 - Search:
semantic_search
,hybrid_search
- 执行搜索。 - Connections:
create_connection
,list_connections
,get_connection
,update_connection
,revoke_connection
- 管理外部服务连接。
常见问题解答
- 连接问题:确保路径正确、权限设置正确、环境变量已配置。
- 调试日志:通过设置 DEBUG 环境变量获取详细日志。
使用教程
使用依赖
- 需要安装 Node.js 和 npm。
安装教程
通过 npx 运行
env SOURCESYNC_API_KEY=your_api_key npx -y sourcesyncai-mcp
通过 Smithery 安装
npx -y @smithery/cli install @pbteja1998/sourcesyncai-mcp --client claude
手动安装
git clone https://github.com/yourusername/sourcesyncai-mcp.git
cd sourcesyncai-mcp
npm install
npm run build
node dist/index.js
在 Cursor 中配置
- 打开 Cursor 设置。
- 转到
Features > MCP Servers
。 - 点击
+ Add New MCP Server
。 - 输入名称、类型和命令。
在 Windsurf 中配置
在 ./codeium/windsurf/model_config.json
中添加配置。
在 Claude Desktop 中配置
- 找到配置文件并编辑。
- 添加 SourceSync.ai MCP 服务器配置。
- 保存并重启 Claude Desktop。
调试方式
- 直接运行服务器:
node /path/to/sourcesyncai-mcp/dist/index.js
- 检查日志和权限。
- 确保环境变量正确设置。