How to Use the Amplience MCP in LangChain
Connect your Amplience MCP Server to LangChain to build multi-step reasoning pipelines that read, edit, and publish content automatically.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Amplience MCP to LangChain
Create your Vinkius account to connect Amplience to LangChain and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Build automated content chains with this MCP Server
LangChain agents excel at sequential logic. You feed them a prompt, and they decide exactly which Amplience tools to call in what order. A single chain can grab your active workspace using `list_hubs`, find the right repo with `list_repositories`, and map out folder structures via `list_folders`. Tracing these operations is built right in. LangSmith tracks the exact latency and token usage every time your agent fires off a `create_content_item` request. You see the raw inputs and outputs at every step, making it trivial to debug why a specific schema validation failed during a complex generation pipeline.
Read and modify live e-commerce data
Retrieving specific configuration details requires precision. Your ReAct agent uses `get_content_item` to pull the exact JSON structure and schema revision lock for any product or page. If the marketing team needs a bulk update, the agent parses that data, applies your custom logic, and fires `update_content_item` to push the changes back to the database. Deletions demand strict version control. Before wiping anything out, the system checks the revision history to ensure safety, then executes `delete_content_item`. Combining these operations into a single tool-calling loop lets you manage thousands of localized assets without touching the manual Amplience interface.
Publish directly to the delivery CDN
Content creation means nothing if it stays stuck in a draft state. Once your agent finishes assembling a new product page, it triggers `publish_content_item` to push that exact version to the live delivery edge. You get immediate verification that the structural matching succeeded. Validating those live assets happens instantly. The pipeline calls `get_delivery_content` to read the actual blocks served by the CDN, confirming your updates propagated correctly. Your automated workflows handle the entire lifecycle from draft to live deployment in seconds.
Set up Amplience MCP in LangChain
Prerequisites
- Python 3.10+ installed
-
langchain-mcp-adapters+langgraphpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChainBaseToolobjects. - 2
Connect via HTTP transport
Use
MultiServerMCPClientwith"transport": "http"pointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create a ReAct agent
Pass the discovered tools to
create_react_agent()from LangGraph. The agent automatically routes Amplience tool calls through the MCP protocol. - 4
Run with any LLM
Swap
ChatOpenAIforChatAnthropic,ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI
async with MultiServerMCPClient({
"amplience-mcp": {
"transport": "http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
result = await agent.ainvoke({
"messages": "List recent Amplience transactions"
})
print(result["messages"][-1].content) 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 LangChain
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.