How to Use the Amplience MCP in LlamaIndex
Turn your Amplience MCP Server into a searchable vector store with LlamaIndex and query live e-commerce data instantly.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Amplience MCP to LlamaIndex
Create your Vinkius account to connect Amplience 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.
Index live content for semantic search
LlamaIndex treats your CMS like a dynamic knowledge base. Instead of just reading text, your agent calls `list_content_items` to pull hundreds of product descriptions and immediately embeds them into a vector store. You can then query past configurations or localized marketing copy using natural language. Grounding your AI in actual API data prevents hallucinations. When a user asks about a specific promotional banner, the system uses `get_content_item` to fetch the exact schema revision. The response relies entirely on real database entries rather than guessed information.
Map environments with this MCP Server
Understanding your CMS architecture is the first step for any RAG application. The integration starts by running `list_hubs` to identify all accessible environments. It then maps the internal structure by calling `list_repositories` and `list_folders`, building a complete index of where every asset lives. This structural awareness makes filtering highly accurate. If you only want to search through the UK holiday campaign folder, the agent knows exactly which repository ID to target. It pulls only the relevant documents before generating an answer.
Verify live CDN deployments
Building applications on top of e-commerce data requires knowing what customers actually see. Your setup can execute `get_delivery_content` to retrieve the structural blocks directly from the delivery edge. This confirms whether a recent update actually made it to production. Creating new records based on those insights takes seconds. If the semantic search reveals missing product details, the agent formats the missing data and fires `create_content_item` to fill the gap. You can even update existing structures with `update_content_item` based on retrieved context.
Set up Amplience 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 Amplience 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 Amplience tools.",
)
response = await agent.run("List recent Amplience data") Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Amplience. 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 Amplience MCP in LlamaIndex
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Amplience MCP today
We host it, we monitor it, we maintain it. You just paste one token.