|
1 | 1 | # Pinecone Cursor Plugin |
2 | 2 |
|
3 | | -Official Pinecone plugin for Cursor. Provides skills, rules, and a Pinecone MCP server integration for building with Pinecone. |
| 3 | +Official [Pinecone](https://www.pinecone.io) plugin for [Cursor](https://cursor.com). Build semantic search, RAG, recommendation systems, and other vector-based applications with Pinecone — directly from your editor. |
4 | 4 |
|
5 | | -## Skills |
| 5 | +## What's included |
6 | 6 |
|
7 | | -| Skill | Description | |
| 7 | +### Skills |
| 8 | + |
| 9 | +Skills are specialized agent capabilities invoked automatically by Cursor Agent or manually via `/skill-name` in chat. |
| 10 | + |
| 11 | +| Skill | What it does | |
8 | 12 | |-------|-------------| |
9 | | -| `quickstart` | Onboarding — create an index, upload data, run your first search | |
10 | | -| `query` | Natural language search across Pinecone indexes via MCP | |
11 | | -| `cli` | Pinecone CLI (`pc`) for index and vector management | |
12 | | -| `assistant` | Pinecone Assistants for document Q&A with citations | |
13 | | -| `mcp` | Reference docs for all MCP server tools and parameters | |
14 | | -| `docs` | Organized links to official Pinecone documentation | |
15 | | -| `help` | Overview of all skills and getting-started guidance | |
| 13 | +| `/quickstart` | Step-by-step onboarding — create an index, upload data, and run your first search. Choose between a **Database** path (vector search) or **Assistant** path (document Q&A). | |
| 14 | +| `/query` | Search integrated indexes using natural language text via the Pinecone MCP server. | |
| 15 | +| `/cli` | Use the Pinecone CLI (`pc`) for terminal-based index and vector management. | |
| 16 | +| `/assistant` | Create, manage, and chat with Pinecone Assistants for document Q&A with citations. Includes scripts for uploading files, syncing changes, and retrieving context. | |
| 17 | +| `/mcp` | Reference documentation for all Pinecone MCP server tools and their parameters. | |
| 18 | +| `/docs` | Curated links to official Pinecone documentation, organized by topic. | |
| 19 | +| `/help` | Overview of all available skills and what you need to get started. | |
| 20 | + |
| 21 | +### MCP Server |
| 22 | + |
| 23 | +The plugin bundles the [Pinecone MCP server](https://github.com/pinecone-io/pinecone-mcp) (`@pinecone-database/mcp`), giving Cursor Agent direct access to your Pinecone resources: |
16 | 24 |
|
17 | | -## MCP Server |
| 25 | +- Create, describe, and delete indexes |
| 26 | +- Upsert and query vectors |
| 27 | +- Search Pinecone documentation |
| 28 | +- Manage index configurations |
18 | 29 |
|
19 | | -The plugin bundles the [Pinecone MCP server](https://github.com/pinecone-io/pinecone-mcp) (`@pinecone-database/mcp`). Requires a `PINECONE_API_KEY` environment variable. |
| 30 | +### Bundled Scripts |
| 31 | + |
| 32 | +Several skills include Python scripts (run via [`uv`](https://docs.astral.sh/uv/)) for operations beyond what MCP provides: |
| 33 | + |
| 34 | +| Script | Skill | Purpose | |
| 35 | +|--------|-------|---------| |
| 36 | +| `upsert.py` | quickstart | Seed an index with sample data | |
| 37 | +| `quickstart_complete.py` | quickstart | Standalone end-to-end quickstart | |
| 38 | +| `create.py` | assistant | Create a new Pinecone Assistant | |
| 39 | +| `upload.py` | assistant | Upload files to an assistant | |
| 40 | +| `chat.py` | assistant | Chat with an assistant | |
| 41 | +| `context.py` | assistant | Retrieve context snippets from an assistant | |
| 42 | +| `list.py` | assistant | List all assistants in your account | |
| 43 | +| `sync.py` | assistant | Sync local files to an assistant | |
20 | 44 |
|
21 | 45 | ## Prerequisites |
22 | 46 |
|
23 | | -- [Pinecone account](https://app.pinecone.io) (free) |
24 | | -- Pinecone API key |
25 | | -- Node.js v18+ (for the MCP server) |
| 47 | +- **Pinecone account** — free at [app.pinecone.io](https://app.pinecone.io/?sessionType=signup) |
| 48 | +- **API key** — create one in the Pinecone console, then set it: |
| 49 | + ```bash |
| 50 | + export PINECONE_API_KEY="your-key" |
| 51 | + ``` |
| 52 | +- **Node.js v18+** — required for the MCP server (`npx`) |
| 53 | + |
| 54 | +### Optional |
| 55 | + |
| 56 | +| Tool | What it enables | Install | |
| 57 | +|------|----------------|---------| |
| 58 | +| [Pinecone CLI](https://docs.pinecone.io/guides/operations/pinecone-cli) (`pc`) | Terminal-based index management, batch operations | `brew tap pinecone-io/tap && brew install pinecone-io/tap/pinecone` | |
| 59 | +| [uv](https://docs.astral.sh/uv/) | Run the bundled Python scripts | [Install guide](https://docs.astral.sh/uv/getting-started/installation/) | |
| 60 | + |
| 61 | +## Getting started |
| 62 | + |
| 63 | +1. Install the plugin from the [Cursor Marketplace](https://cursor.com/marketplace) |
| 64 | +2. Set your `PINECONE_API_KEY` environment variable |
| 65 | +3. Open Cursor Agent chat and type `/quickstart` to get started |
| 66 | +4. Verify the MCP server is connected: Cursor Settings > Features > Model Context Protocol |
| 67 | + |
| 68 | +## Verifying the installation |
| 69 | + |
| 70 | +| Component | Where to check | |
| 71 | +|-----------|---------------| |
| 72 | +| Skills | Cursor Settings > Rules — listed under "Agent Decides" | |
| 73 | +| MCP Server | Cursor Settings > Features > Model Context Protocol | |
| 74 | +| Commands | Type `/` in Agent chat and search | |
| 75 | + |
| 76 | +## Links |
| 77 | + |
| 78 | +- [Pinecone Documentation](https://docs.pinecone.io) |
| 79 | +- [Pinecone MCP Server](https://github.com/pinecone-io/pinecone-mcp) |
| 80 | +- [Pinecone Discord](https://discord.gg/pinecone) |
| 81 | + |
| 82 | +## License |
| 83 | + |
| 84 | +[Apache-2.0](LICENSE) |
0 commit comments