Environment Variables
PINECONE_ASSISTANT_HOST
: Your Pinecone Assistant host.PINECONE_API_KEY
: Your Pinecone API key.
Steps
-
Install Meshagent:
- Sign Up & Authenticate: Follow the Meshagent CLI getting started guide.
-
Start Pinecone MCP Service in a Room:
This command will start a Meshagent Room named “test”, running the Pinecone MCP server. The room and its services will close if inactive.
-
Join a Chatbot with the Toolkit in the Room:
- The chatbot will be able to use Pinecone tools in the room.
- Room link will be printed in the output for browser-based chat.
-
Test the Integration:
- Open the room link from the chatbot join command.
- Send a message to the agent to interact live with the MCP Server tools.
Project Level Deployment
To make the MCP server tools and a chatbot persistently available in every room of a Meshagent project (ideal for production), deploy as project-level services:-
Create Persistent MCP Pinecone Service:
-
Create Persistent Chatbot Service with Toolkit:
Tools Available
assistant_context
Retrieves relevant document snippets from your Pinecone Assistant knowledge base.
Short Description:assistant_context
| Retrieves relevant document snippets from your Pinecone Assistant knowledge base.
Tool Details
assistant_context
Retrieves relevant document snippets from your Pinecone Assistant knowledge base.
Returns an array of text snippets from the most relevant documents.
assistant_name
(string
): Name of an existing Pinecone assistantquery
(string
): The query to retrieve context for.top_k
(integer
, optional): Number of context snippets to retrieve. Defaults to 15. Recommended: 5-8 for simple/narrow queries, 10-20 for complex/broad topics.
Meshagent & MCP Resources
- Meshagent Homepage
- Meshagent Documentation
- Meshagent CLI Getting Started
- Meshagent MCP Tool Image (Docker Hub)
For more details about MCP servers and Pinecone’s Assistant integration, see Pinecone Assistant MCP Server Repository and this Docker image.