SuperAPI AI 工具集

assistant-mcp

Pinecone Assistant MCP 服务器是一个基于 MCP 协议的服务端实现,用于从 Pinecone Assistant 中检索信息。它支持返回多个结果,并可配置结果数量。使用前需要安装 Docker、获取 Pinecone API 密钥以及 Assistant API 主机地址。该服务器可通过 Docker 构建和运行,也可从源码编译,并提供了与 Claude Desktop 集成的配置方式。

访问官网

工具介绍

Pinecone Assistant MCP 服务器是一个 MCP(Model Context Protocol)服务器实现,旨在从 Pinecone Assistant 中检索信息。它允许客户端通过 MCP 协议连接到 Pinecone Assistant,并获取其知识引擎中的上下文信息。

主要能力:

  • 从 Pinecone Assistant 检索信息。
  • 支持检索多个结果,结果数量可配置。

使用方式:

  1. 前置条件:

    • 系统已安装 Docker。
    • 拥有 Pinecone API 密钥(可从 Pinecone 控制台获取)。
    • 拥有 Pinecone Assistant API 主机地址(创建 Assistant 后,可在 Assistant 详情页找到)。
  2. 使用 Docker 构建: 构建 Docker 镜像(具体命令未在资料中提供)。

  3. 使用 Docker 运行: 使用 Pinecone API 密钥运行服务器(具体命令未在资料中提供)。

  4. 环境变量:

    • PINECONE_API_KEY(必需):你的 Pinecone API 密钥。
    • PINECONE_ASSISTANT_HOST(可选):Pinecone Assistant API 主机地址(默认:https://prod-1-data.ke.pinecone.io)。
    • LOG_LEVEL(可选):日志级别(默认:info)。
  5. 与 Claude Desktop 配合使用: 将配置添加到 claude_desktop_config.json 中(具体配置内容未在资料中提供)。

  6. 从源码构建:

    • 确保已安装 Rust(https://rustup.rs/)。
    • 克隆此仓库。
    • 运行 cargo build --release。
    • 生成的二进制文件位于 target/release/assistant-mcp。
  7. 使用 inspector 进行测试(具体步骤未在资料中提供)。

适用场景: 适用于需要通过 MCP 协议从 Pinecone Assistant 检索信息的场景,例如在 Claude Desktop 等支持 MCP 的客户端中集成 Pinecone Assistant 的知识检索能力。

限制:

  • 需要 Docker 或 Rust 环境进行构建和运行。
  • 需要有效的 Pinecone API 密钥和 Assistant API 主机地址。
  • 具体构建、运行命令及 Claude Desktop 配置细节未在资料中提供。

该项目采用 LICENSE 文件中指定的许可条款。