How to Use the Cin7 Omni MCP in LlamaIndex
Index your Cin7 Omni product catalog and sales data directly into LlamaIndex to build grounded RAG applications.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Cin7 Omni MCP to LlamaIndex
Create your Vinkius account to connect Cin7 Omni to LlamaIndex and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
RAG for Ecommerce Inventory
The `list_cin7_products` tool pulls your entire catalog into LlamaIndex so you can build semantic search over your actual inventory. Instead of relying on static CSV exports, your agent queries live data. It fetches descriptions, pricing, and categories directly from the API. You can combine this with `get_product_details` to enrich the index. When a user asks about a specific item, the agent retrieves the exact dimensions and specifications from the vector store. Answers are grounded in reality, eliminating hallucinations about product features.
Semantic Search on Sales Orders
Fetching historical transactions happens through the `list_sales_orders` tool. LlamaIndex takes these records and turns them into queryable nodes. A customer support agent can now search across thousands of past orders using natural language instead of exact order numbers. If a query requires deeper context, the agent invokes `get_sales_order_details` to pull line items and shipping tracking. This data merges with your existing document index. Your RAG pipeline can cross-reference an order status with your company's return policy PDF in a single response.
LlamaIndex MCP Server Setup
Adding this integration requires the `llama-index-tools-mcp` package. You instantiate a `BasicMCPClient` pointing to your Vinkius endpoint. Calling `await mcp_tool_spec.to_tool_list_async()` converts the API endpoints into native query tools. Vinkius manages the underlying connection securely. You skip the headache of OAuth flows and token refreshes. The server handles authentication while you focus on building the `FunctionAgent` that answers complex supply chain questions.
Set up Cin7 Omni MCP in LlamaIndex
Prerequisites
- Python 3.10+ installed
-
llama-index-tools-mcppackage - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install llama-index-tools-mcp llama-index-llms-openai. The MCP tools package providesBasicMCPClientandMcpToolSpec. - 2
Connect with BasicMCPClient
Point
BasicMCPClientto your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. Supports SSE and Streamable HTTP transports. - 3
Convert to LlamaIndex tools
Call
mcp_tool_spec.to_tool_list_async()to convert all Cin7 Omni MCP tools into nativeFunctionToolobjects that any LlamaIndex agent can use. - 4
Run with any LLM
Create a
FunctionAgentwith the tools and your preferred LLM. SwapOpenAIforAnthropic,Gemini, or any LlamaIndex-supported provider.
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
# Connect to the MCP
mcp_client = BasicMCPClient(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
mcp_tool_spec = McpToolSpec(client=mcp_client)
# Convert MCP tools to LlamaIndex tools
tools = await mcp_tool_spec.to_tool_list_async()
# Create and run the agent
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt="You have access to Cin7 Omni tools.",
)
response = await agent.run("List recent Cin7 Omni data") Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Cin7 Omni. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Cin7 Omni MCP in LlamaIndex
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Cin7 Omni MCP today
We host it, we monitor it, we maintain it. You just paste one token.