https://github.com/pinecone-io/assistant-mcp
Pinecone Assistant MCP server
https://github.com/pinecone-io/assistant-mcp
Last synced: 2 months ago
JSON representation
Pinecone Assistant MCP server
- Host: GitHub
- URL: https://github.com/pinecone-io/assistant-mcp
- Owner: pinecone-io
- License: mit
- Created: 2025-02-28T07:30:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-04-10T10:16:59.000Z (2 months ago)
- Last Synced: 2025-04-10T11:40:26.587Z (2 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-zh - pinecone-io/assistant-mcp
- mcp-index - Pinecone Assistant Server - Retrieve information efficiently from Pinecone Assistant with support for multiple configurable results, enabling seamless integration with applications to access vector database capabilities. (APIs and HTTP Requests)
README
# Pinecone Assistant MCP Server
An MCP server implementation for retrieving information from Pinecone Assistant.
## Features
- Retrieves information from Pinecone Assistant
- Supports multiple results retrieval with a configurable number of results## Prerequisites
- Docker installed on your system
- Pinecone API key - obtain from the [Pinecone Console](https://app.pinecone.io)
- Pinecone Assistant API host - after creating an Assistant (e.g. in Pinecone Console), you can find the host in the Assistant details page## Building with Docker
To build the Docker image:
```sh
docker build -t pinecone/assistant-mcp .
```## Running with Docker
Run the server with your Pinecone API key:
```sh
docker run -i --rm \
-e PINECONE_API_KEY= \
-e PINECONE_ASSISTANT_HOST= \
pinecone/assistant-mcp
```### Environment Variables
- `PINECONE_API_KEY` (required): Your Pinecone API key
- `PINECONE_ASSISTANT_HOST` (optional): Pinecone Assistant API host (default: https://prod-1-data.ke.pinecone.io)
- `LOG_LEVEL` (optional): Logging level (default: info)## Usage with Claude Desktop
Add this to your `claude_desktop_config.json`:
```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": "",
"PINECONE_ASSISTANT_HOST": ""
}
}
}
}
```## Building from Source
If you prefer to build from source without Docker:
1. Make sure you have Rust installed (https://rustup.rs/)
2. Clone this repository
3. Run `cargo build --release`
4. The binary will be available at `target/release/assistant-mcp`### Testing with the inspector
```sh
export PINECONE_API_KEY=
export PINECONE_ASSISTANT_HOST=
# 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 project is licensed under the terms specified in the LICENSE file.