基本能力
产品定位
MCP Embedding Storage Server 是一个基于向量嵌入技术的知识存储与检索系统,旨在通过语义搜索提高信息检索效率。
核心功能
- 自动生成内容的嵌入向量并存储
- 基于语义相似性的内容搜索
- 支持通过工具和资源访问内容
- 提供常见操作的预定义提示
适用场景
- 知识管理:存储和检索大量文档或知识库内容
- 研究辅助:快速找到与研究主题相关的资料
- 内容推荐:基于语义相似性推荐相关内容
- 开发工具:为开发者提供高效的文档检索功能
工具列表
- store-content
- 功能:存储带有自动生成嵌入向量的内容
-
参数:
content
: 要存储的内容path
: 内容的唯一标识路径type
(可选): 内容类型(如'markdown')source
(可选): 内容来源parentPath
(可选): 父内容的路径(如适用)
-
search-content
- 功能:使用向量相似性搜索内容
- 参数:
query
: 搜索查询maxMatches
(可选): 返回的最大匹配数
常见问题解答
- 如何集成到Claude for Desktop?
在claude_desktop_config.json
文件中添加配置并重启应用
使用教程
使用依赖
需要安装Node.js环境
安装教程
```bash
使用npm安装
npm install -g mcp-embedding-storage
或使用pnpm
pnpm add -g mcp-embedding-storage
或使用yarn
yarn global add mcp-embedding-storage
```
调试方式
```bash
克隆仓库
git clone https://github.com/yourusername/mcp-embedding-storage.git
cd mcp-embedding-storage
安装依赖
pnpm install
构建项目
pnpm run build
启动服务器
pnpm start
```