KosmoKrator

database

Pinecone MCP Integration for CrewAI

Connect Pinecone to CrewAI through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write Bearer token auth

Connect Pinecone to CrewAI

Expose KosmoKrator integrations to CrewAI workers as scoped local tools.

Wrap kosmo integrations:call for specific tasks or connect workers to a local MCP gateway. The gateway is local, scoped to this integration, and starts with --write=deny so CrewAI can inspect read-capable tools without receiving write access by default.

Pinecone MCP Config for CrewAI

Use per-worker integration scopes to avoid giving every worker every tool.

{
  "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

Scoped tools

Expose only Pinecone instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Pinecone Tools Visible to CrewAI

CrewAI sees stable MCP tool names generated from the Pinecone integration catalog.

MCP toolSource functionTypeDescription
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.

Related Pinecone Pages