Features
- Built-in skills for index management, semantic search, full-text search, assistant creation, and more
- Bundled MCP server for direct Pinecone operations from Codex, with no extra setup
- Natural language activation — Codex invokes the right skill based on your conversation
Prerequisites
- A Pinecone API key
- The Codex desktop app or CLI installed. The plugin runs locally, so it doesn’t work in Codex cloud tasks.
- Node.js installed and on your
PATH(required for the bundled MCP server) - uv installed (required for the assistant and full-text search ingestion skills)
- Pinecone CLI installed (optional, enables the
pinecone:cliskill)
Install the plugin
Install the plugin from the Codex plugin directory or the command line, then set your API key and launch Codex.1
Add the plugin to Codex
- Plugin directory
- Command line
- In the Codex app, select Plugins in the sidebar.
- Find Pinecone and select it.
- Select Install plugin.
2
Set your API key and launch Codex
Installing the plugin doesn’t set your API key. Codex reads it from the environment it launches in.
- Codex CLI
- Codex desktop app (macOS)
Export the key in the same shell where you run Replace
codex:YOUR_API_KEY with your Pinecone API key. To keep the key across terminal sessions, add the export line to your shell profile, such as ~/.zshrc.3
Run the quickstart
In a new Codex session, ask:Codex invokes the
pinecone:quickstart skill, checks the connection to the Pinecone MCP server, creates an integrated index, upserts sample records, and runs a search.Available skills
Codex picks the right skill based on what you ask. To call a skill directly, type$ followed by its name, such as $pinecone:quickstart. To bring in the whole plugin, mention @pinecone.
MCP tools
The plugin includes the Pinecone MCP server, which provides the following tools:search-docs: Search the official Pinecone documentation.list-indexes: List all available Pinecone indexes.describe-index: Get index configuration and namespaces.describe-index-stats: Get record counts and namespace statistics.create-index-for-model: Create a new index with integrated embeddings.upsert-records: Insert or update records in an index.search-records: Search records with optional metadata filtering and reranking.cascading-search: Search across multiple indexes with deduplication and reranking.rerank-documents: Rerank documents using a specified reranking model.
Troubleshooting
API key not found or 401 errors
API key not found or 401 errors
- Codex desktop app (macOS): Run
launchctl getenv PINECONE_API_KEY. If it returns nothing, set the key again and quit and reopen Codex. - Codex CLI: In the same shell where you run
codex, run[ -n "$PINECONE_API_KEY" ] && echo "set" || echo "not set". If it printsnot set, export the key again.
MCP server not responding
MCP server not responding
Make sure Node.js is on your
PATH and your API key is valid, then restart Codex.The query skill returns no results
The query skill returns no results
The
pinecone:query skill works only with integrated indexes, which use a Pinecone-hosted embedding model. For indexes that use external embeddings, use the pinecone:cli skill or the MCP tools directly.Assistant or full-text search skill errors
Assistant or full-text search skill errors
Run
uv --version to confirm uv is installed. If it’s missing, install it and restart your terminal.