database
Pinecone MCP Integration for LangGraph
Connect Pinecone to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Pinecone to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Pinecone MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-pinecone": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=pinecone",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=pinecone --write=deny Why Use KosmoKrator Here
Expose only Pinecone instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Pinecone Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Pinecone integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__pinecone__pinecone_list_indexes | pinecone.pinecone_list_indexes | Read | List all vector indexes in your Pinecone project. Returns index names, dimensions, metrics, and status. |
integration__pinecone__pinecone_get_index | pinecone.pinecone_get_index | Read | Get detailed information about a specific Pinecone vector index, including its dimension, metric, host URL, and status. |
integration__pinecone__pinecone_create_index | pinecone.pinecone_create_index | Write | Create a new serverless vector index in Pinecone. Specify the index name, vector dimension, and similarity metric (cosine, euclidean, or dotproduct). |
integration__pinecone__pinecone_upsert_vectors | pinecone.pinecone_upsert_vectors | Write | Upsert vectors into a Pinecone index using an index host URL. |
integration__pinecone__pinecone_query_vectors | pinecone.pinecone_query_vectors | Read | Search for similar vectors in a Pinecone index using a query embedding. |
integration__pinecone__pinecone_list_collections | pinecone.pinecone_list_collections | Read | List all collections in your Pinecone project. Collections are static snapshots of indexes used for backups or creating new indexes. |
integration__pinecone__pinecone_get_current_user | pinecone.pinecone_get_current_user | Read | Get information about the currently authenticated Pinecone user, including email, name, and project details. |