An MCP server implementation for retrieving information from Pinecone Assistant.
- Retrieves information from Pinecone Assistant
- Supports multiple results retrieval with a configurable number of results
- Docker installed on your system
- Pinecone API key - obtain from the Pinecone Console
- Pinecone Assistant API host - after creating an Assistant (e.g. in Pinecone Console), you can find the host in the Assistant details page
To build the Docker image:
docker build -t pinecone/assistant-mcp .
Run the server with your Pinecone API key:
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
(required): Your Pinecone API keyPINECONE_ASSISTANT_HOST
(optional): Pinecone Assistant API host (default: https://prod-1-data.ke.pinecone.io)LOG_LEVEL
(optional): Logging level (default: info)
Add this to your 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>"
}
}
}
}
If you prefer to build from source without Docker:
- Make sure you have Rust installed (https://rustup.rs/)
- Clone this repository
- Run
cargo build --release
- The binary will be available at
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
This project is licensed under the terms specified in the LICENSE file.