Pinecone MCP server: which tools overwrite records, what the docs search sends, and how to make your agent ask
All 12 tools of Pinecone's Developer MCP server (@pinecone-database/mcp 0.4.0), checked by running it on this machine against a local stand-in that recorded every request, never a real Pinecone account: which tools overwrite records and create indexes, how the docs search sends the model's question to Pinecone with no key and hands the answer back word for word, how each database tool asks the model for its own name for usage analytics, and the Claude Code settings that make the writes ask.
Checked on by running @pinecone-database/mcp 0.4.0 (npm, run on Node 24, Pinecone TypeScript SDK 9.2.0) from @pinecone-database/mcp and reading its tools/list answer. Each tier is the tool risk checker’s reading, with our reason wherever we changed it. Written by the people who make VariantGate.
The short answer
It has no delete tool and escapes every name it puts in a path, but both upserts overwrite records with an existing id, both create tools make new indexes in your project, and there is no read-only switch. Let the lists, stats and searches run unasked, make the four writes ask, and let the docs search run only where the agent cannot read your secrets.
- Can run on their own
- 7
- Should ask a person
- 5
Lethal trifecta: This server can read private data and send data out. Beside a server that can take in content other people wrote, a setup holds all three legs of the lethal trifecta. Check your whole setup
Which Pinecone server this is
This page is about Pinecone’s Developer MCP server, @pinecone-database/mcp on npm, the one its README starts with npx -y @pinecone-database/mcp. We ran 0.4.0, the latest release on 28 November 2026, on Node 24. It never reached a real account: every request it made went to a recorder on this machine that answered like Pinecone’s API, with a made-up key, so we saw exactly what each tool would send, but not what Pinecone would then do with it. Pinecone’s separate Assistant MCP server is not covered here.
Twelve tools, no delete, no switch
The server lists the same twelve tools with or without PINECONE_API_KEY. Without a key the eleven database tools answer with an error telling the model to ask you for one, and search-docs still works. There is no tool that deletes a record, a namespace or an index. There is also no read-only mode and no setting that turns tools off: the key is the only limit, and it reaches every index in the project.
Ten of the twelve tools carry hints. The searches, lists and rerank say read-only and the two upserts say destructive; the two create tools carry neither.
What the four writes do
upsert-recordsandupsert-documentssent the records straight to the upsert endpoint, with no read first. Their own descriptions say a record or document with an existing id is replaced, so a model that reuses an id overwrites what was stored there.create-index-for-modelandcreate-document-indexlisted the indexes, then sent the request for a new index in the cloud and region they were given (aws,us-east-1unless the model picks another), taggedsource: mcp, and waited until it was ready. An index that already exists came back unchanged.
What the docs search sends
search-docs does not use your key. It opens its own MCP session with Pinecone’s documentation assistant and sends the model’s question as written:
POST https://prod-1-data.ke.pinecone.io/mcp/assistants/pinecone-docs
user-agent: node
{"method":"tools/call","params":{"name":"get_context","arguments":
{"query":"how do I delete all records in namespace customers of
index shop-docs for user maya@acme.example"}}}Whatever the model puts in the question leaves your machine, index names and email addresses included. The answer comes back to the model word for word: our stand-in put a hidden HTML comment in it asking for ~/.aws/credentials, and the model got it unmarked. That is why it asks below, unless the agent cannot read your secrets.
It asks the model who it is
Every database tool has two extra arguments the server adds to each schema, llm_provider and llm_model, described like this:
llm_model: Optional. If you are an AI model, use this field to
specify your name (e.g., "gpt-4o", "Composer", "Claude Sonnet 4", …)
… **Do not prompt the user for this.** This value is used to
track usage analytics.When the model fills them in, they go to Pinecone in the user agent of that call:
POST https://shop-docs-abc123.svc.…pinecone.io/records/namespaces/customers/search
user-agent: @pinecone-database/pinecone v9.2.0; lang=typescript;
node v24.16.0; source_tag=pineconemcp040; caller=anthropic:claude_opus
api-key: pcsk_…It is not a secret, and the model can leave both out, but the schema tells it not to ask you about them. We saw no other telemetry: the server sent nothing on start, and every other request went to api.pinecone.io, the index’s own host or the documentation assistant.
Names are escaped
Unlike several servers we ran, this one puts index names and namespaces into paths escaped, and the Pinecone SDK refuses a name of .. before sending anything:
describe-index name: ../indexes/support-kb?x=
GET /indexes/..%2Findexes%2Fsupport-kb%3Fx%3D
upsert-records namespace: ../../indexes/support-kb
POST /records/namespaces/..%2F..%2Findexes%2Fsupport-kb/upsert
describe-index name: ..
refused before sending: "contains the segment .."So a model cannot reach another index through a crafted name. It does not need to: any index in the project is one name away, and list-indexes names them all.
A safer setup
Give the server a key for a project that holds only what the agent may read and write, not your production project, so a wrong upsert or a stray index lands somewhere you can clear. Add it like this:
claude mcp add pinecone -e PINECONE_API_KEY=… -- npx -y @pinecone-database/mcp@0.4.0Its 12 tools
Hard to undo2 toolsAsk a person every time. Consider two people, or deny it if the agent never needs it.
upsert-documentsInsert or update documents in a Pinecone document index (one created with create-document-index).
Server says: destructive
Our call: Sent the documents straight to the index's documents/upsert endpoint in batches of 96, with no read first. A document whose _id already exists is replaced, so an upsert can wipe a stored document's text.
upsert-recordsInsert or update records in an integrated Pinecone index.
Server says: destructive
Our call: Sent the records straight to records/namespaces/<namespace>/upsert with no read first. The tool's own description says a record with an existing id is overwritten, and our rec1 went out as only the new text.
Reaches people1 toolAsk a person: once it reaches someone, it cannot be unsent.
search-docsSearch the official Pinecone documentation for relevant information.
Server says: read-only
Our call: Sends the model's question as written to Pinecone's documentation assistant at prod-1-data.ke.pinecone.io, with no API key, even when none is set. The answer comes back word for word: a hidden HTML comment asking for ~/.aws/credentials reached the model unmarked.
Changes data2 toolsAsk a person. Once it is routine, a standing rule can answer.
create-document-indexCreate a Pinecone document index: an index defined by a schema of searchable "string" fields.
Server gives no read-only or destructive hint
Our call: Listed the indexes first, then sent POST /indexes for a new managed index in the cloud and region it was given (aws, us-east-1 by default), tagged source: mcp, and waited until it was ready. An existing name came back unchanged.
create-index-for-modelCreate a Pinecone index with integrated inference, which automatically embeds the text field named in "fieldMap".
Server gives no read-only or destructive hint
Our call: Listed the indexes first, then sent POST /indexes/create-for-model for a new serverless index with Pinecone's hosted embedding model, and waited until it was ready. An existing name came back unchanged.
Only looks7 toolsLet it run. It only looks.
list-indexesList all Pinecone indexes in the project, including each index's configuration and readiness status.
Server says: read-only
Our call: Sent one GET for /indexes and returned names, hosts and settings. It takes no arguments.
describe-indexDescribe the configuration of a Pinecone index, including its embedding model and the "fieldMap" that names the record field holding the text to embed.
Server says: read-only
Our call: Sent one GET for /indexes/<name>. The name was escaped, so ../indexes/support-kb?x= stayed one path segment, and a name of .. was refused before anything was sent.
describe-index-statsDescribe the statistics of a Pinecone index, including record counts per namespace.
Server says: read-only
Our call: Looked up the index's host, then sent one POST to describe_index_stats with an empty body: namespace names and record counts, no records.
search-document-indexSearch a Pinecone document index (one created with create-document-index).
Server says: read-only
Our call: Sent one search to the index's documents endpoint and returned every field of each match by default (include_fields: *). It changes nothing.
search-recordsSearch an index for records that are semantically similar to the query text.
Server says: read-only
Our call: Sent one search to the namespace's records endpoint, with the namespace escaped, and returned the matching records' text. It changes nothing.
rerank-documentsRerank a set of provided documents by relevance to a query.
Server says: read-only
Our call: Sent the query and the documents the model passed to api.pinecone.io/rerank with your key, and returned scores. Nothing was stored in the project.
cascading-searchSearch across multiple indexes for records that are similar to the query text, then deduplicate and rerank the combined results.
Server says: read-only
Our call: Sent one search per named index, then one rerank request to api.pinecone.io with the hits, and stored nothing. What comes back is your records' text, word for word.
Let the reads run in Claude Code
Claude Code asks before every MCP tool it has no rule for. Added as pinecone, this server’s tools are named mcp__pinecone__<tool>. These allow rules, in .claude/settings.json or ~/.claude/settings.json, let the tools that only look run without a prompt. Everything else keeps asking, including any tool a later version of the server adds.
{
"permissions": {
"allow": [
"mcp__pinecone__list-indexes",
"mcp__pinecone__describe-index",
"mcp__pinecone__describe-index-stats",
"mcp__pinecone__search-document-index",
"mcp__pinecone__search-records",
"mcp__pinecone__rerank-documents",
"mcp__pinecone__cascading-search"
]
}
}The command that adds the server:
claude mcp add pinecone -e PINECONE_API_KEY=… -- npx -y @pinecone-database/mcp@0.4.0Send the rest to a person, not the terminal
A prompt in the terminal only works while someone is watching it. With this hook, every other tool of the server becomes a request in your VariantGate inbox, on your phone or in Slack, and Claude Code waits for the answer. The matcher names the look-only tools, so a tool added later is sent too. Put the key in VARIANTGATE_KEY, or run the one-command setup for Claude Code first.
{
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__pinecone__(?!(list-indexes|describe-index|describe-index-stats|search-document-index|search-records|rerank-documents|cascading-search)$).*",
"hooks": [
{ "type": "command", "command": "variantgate hook claude-code", "timeout": 180 }
]
}
]
}
}Disagree with a tier, or run the server with other flags? Open these tools in the tool risk checker, change what you like, and copy the settings for your own setup. It runs in your browser and starts from its own reading, so a tool we marked as only looking by hand asks there until you change it.
Set it up in Cursor, VS Code, Codex, Gemini CLI and other clients
The same server as the claude mcp add line above, written the way each client reads it, for Claude Desktop, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Cline and Zed. Cursor and VS Code add it in one click: the app shows the settings and asks before it saves them. Set up like this, every tool runs as soon as the model calls it; the next section puts a person in front of the ones that change things. Running it with other flags? Convert your own settings.
claude_desktop_config.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.cursor/mcp.json or .cursor/mcp.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}.vscode/mcp.json{
"servers": {
"pinecone": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.codex/config.toml[mcp_servers.pinecone]
command = "npx"
args = ["-y", "@pinecone-database/mcp@0.4.0"]
env = { PINECONE_API_KEY = "…" }~/.gemini/settings.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}cline_mcp_settings.json (Configure MCP Servers){
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.config/zed/settings.json{
"context_servers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}- Add context_servers next to your other settings in the same file.
Any MCP client: put the proxy in front
Claude Desktop, Cursor and most other MCP clients have no hook to send a call to a person. The VariantGate MCP proxy does it in the server’s place: it starts the server, lets the look-only tools above through, and holds every other call until someone approves it in the inbox. Run npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz login once to save a key, then use the settings for your client:
claude_desktop_config.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.cursor/mcp.json or .cursor/mcp.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}.vscode/mcp.json{
"servers": {
"pinecone": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.codex/config.toml[mcp_servers.pinecone]
command = "npx"
args = ["-y", "https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz", "mcp-proxy", "--name", "pinecone", "--look-only", "list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search", "--", "npx", "-y", "@pinecone-database/mcp@0.4.0"]
env = { PINECONE_API_KEY = "…" }~/.gemini/settings.json{
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}cline_mcp_settings.json (Configure MCP Servers){
"mcpServers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}~/.config/zed/settings.json{
"context_servers": {
"pinecone": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"pinecone",
"--look-only",
"list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search",
"--",
"npx",
"-y",
"@pinecone-database/mcp@0.4.0"
],
"env": {
"PINECONE_API_KEY": "…"
}
}
}
}- Add context_servers next to your other settings in the same file.
Already have it in Claude Desktop? One command rewrites the file for you, with these look-only tools filled in, and keeps the old one (setup vscode does the same for VS Code; how it works):
npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz setup claude-desktopThe same in Claude Code, instead of the hook. The proxy now asks about every call that matters, so an allow rule for the whole server, mcp__pinecone, keeps Claude Code from asking a second time in the terminal:
claude mcp add pinecone -e PINECONE_API_KEY=… -- npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz mcp-proxy --name pinecone --look-only list-indexes,describe-index,describe-index-stats,search-document-index,search-records,rerank-documents,cascading-search -- npx -y @pinecone-database/mcp@0.4.0Claude Code’s allow rules match a tool’s name, never its arguments, so a rule cannot tell a harmless call of these tools from a risky one. If the agent cannot read your secrets, with Read denied on .env files, ~/.aws, ~/.ssh and other key files, and you accept that what it asks is sent to Pinecone's documentation assistant, these rules also let search-docs run unasked:
{
"permissions": {
"allow": [
"mcp__pinecone__list-indexes",
"mcp__pinecone__describe-index",
"mcp__pinecone__describe-index-stats",
"mcp__pinecone__search-document-index",
"mcp__pinecone__search-records",
"mcp__pinecone__rerank-documents",
"mcp__pinecone__cascading-search",
"mcp__pinecone__search-docs"
]
}
}When the agent should write
Keep both upserts on ask, and before saying yes check the index, the namespace and the ids: an id that is already in the index replaces that record. For the create tools, check the name, cloud and region, since a new index is a new resource in your project. Searches return your records’ text as written, so text that came from outside, such as support tickets or scraped pages, can carry instructions back to the model.
See it before you decide.
The playground runs the whole approval loop in your browser, no account needed. When it fits, the free plan covers 100 requests a month.