Pinecone Assistant MCP 服务器是一个 MCP(Model Context Protocol)服务器实现,旨在从 Pinecone Assistant 中检索信息。它允许客户端通过 MCP 协议连接到 Pinecone Assistant,并获取其知识引擎中的上下文信息。
主要能力:
- 从 Pinecone Assistant 检索信息。
- 支持检索多个结果,结果数量可配置。
使用方式:
-
前置条件:
- 系统已安装 Docker。
- 拥有 Pinecone API 密钥(可从 Pinecone 控制台获取)。
- 拥有 Pinecone Assistant API 主机地址(创建 Assistant 后,可在 Assistant 详情页找到)。
-
使用 Docker 构建: 构建 Docker 镜像(具体命令未在资料中提供)。
-
使用 Docker 运行: 使用 Pinecone API 密钥运行服务器(具体命令未在资料中提供)。
-
环境变量:
- PINECONE_API_KEY(必需):你的 Pinecone API 密钥。
- PINECONE_ASSISTANT_HOST(可选):Pinecone Assistant API 主机地址(默认:https://prod-1-data.ke.pinecone.io)。
- LOG_LEVEL(可选):日志级别(默认:info)。
-
与 Claude Desktop 配合使用: 将配置添加到 claude_desktop_config.json 中(具体配置内容未在资料中提供)。
-
从源码构建:
- 确保已安装 Rust(https://rustup.rs/)。
- 克隆此仓库。
- 运行 cargo build --release。
- 生成的二进制文件位于 target/release/assistant-mcp。
-
使用 inspector 进行测试(具体步骤未在资料中提供)。
适用场景: 适用于需要通过 MCP 协议从 Pinecone Assistant 检索信息的场景,例如在 Claude Desktop 等支持 MCP 的客户端中集成 Pinecone Assistant 的知识检索能力。
限制:
- 需要 Docker 或 Rust 环境进行构建和运行。
- 需要有效的 Pinecone API 密钥和 Assistant API 主机地址。
- 具体构建、运行命令及 Claude Desktop 配置细节未在资料中提供。
该项目采用 LICENSE 文件中指定的许可条款。