Pinecone 助手 MCP 服务器
用于从 Pinecone Assistant 检索信息的 MCP 服务器实现。
特征
从 Pinecone Assistant 检索信息
支持检索多个结果,结果数量可配置
Related MCP server: Pinecone Developer MCP
先决条件
您的系统上安装了 Docker
Pinecone API 密钥 - 从Pinecone 控制台获取
Pinecone Assistant API 主机 - 创建助手后(例如在 Pinecone Console 中),您可以在助手详细信息页面中找到该主机
使用 Docker 进行构建
要构建 Docker 镜像:
docker build -t pinecone/assistant-mcp .使用 Docker 运行
使用您的 Pinecone API 密钥运行服务器:
docker run -i --rm \
-e PINECONE_API_KEY=<YOUR_PINECONE_API_KEY_HERE> \
-e PINECONE_ASSISTANT_HOST=<YOUR_PINECONE_ASSISTANT_HOST_HERE> \
pinecone/assistant-mcp环境变量
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中:
{
"mcpServers": {
"pinecone-assistant": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PINECONE_API_KEY",
"-e",
"PINECONE_ASSISTANT_HOST",
"pinecone/assistant-mcp"
],
"env": {
"PINECONE_API_KEY": "<YOUR_PINECONE_API_KEY_HERE>",
"PINECONE_ASSISTANT_HOST": "<YOUR_PINECONE_ASSISTANT_HOST_HERE>"
}
}
}
}从源代码构建
如果您更喜欢从源代码构建而不使用 Docker:
确保已安装 Rust( https://rustup.rs/ )
克隆此存储库
运行
cargo build --release二进制文件将在
target/release/assistant-mcp中可用
与检查员一起测试
export PINECONE_API_KEY=<YOUR_PINECONE_API_KEY_HERE>
export PINECONE_ASSISTANT_HOST=<YOUR_PINECONE_ASSISTANT_HOST_HERE>
# Run the inspector alone
npx @modelcontextprotocol/inspector cargo run
# Or run with Docker directly through the inspector
npx @modelcontextprotocol/inspector -- docker run -i --rm -e PINECONE_API_KEY -e PINECONE_ASSISTANT_HOST pinecone/assistant-mcp执照
该项目根据 LICENSE 文件中指定的条款进行许可。
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.