How to Use the Liftoff MCP in LangChain
Run multi-step mobile ad reporting chains in LangChain with live Liftoff performance data.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Liftoff MCP to LangChain
Create your Vinkius account to connect Liftoff 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.
Automate multi-step campaign audits in LangChain
The `list_liftoff_campaigns` tool pulls your active ad campaigns directly into your LangChain ReAct agent's context window. Your agent parses this list, identifies underperforming campaigns, and immediately feeds those IDs into `request_performance_report` to spin up a deep-dive analysis. You don't have to manually glue these steps together. LangChain chains the output of the campaign list directly into the report request, letting your agent run the entire sequence based on real-time metadata.
Trace report polling latency with LangSmith
The `get_report_status` tool lets your LangChain agent monitor asynchronous report generation without blocking your main application thread. LangSmith traces the exact latency of each status check, showing you how long the Liftoff API takes to prepare your data. Once the status switches to complete, the agent automatically triggers `download_report_results` to fetch the raw CSV. Each step of this MCP execution pipeline is logged in LangSmith, giving you clear visibility into Liftoff API response times and token costs.
Connect Liftoff MCP Server to your SQL databases
The `get_spend_metrics` tool fetches synchronous performance data that your LangChain agent can instantly join with your internal database records. By combining this MCP server tool with LangChain's SQL database integrations, you can write chains that compare Liftoff spend against your actual backend revenue. Your LangChain agent queries both sources in a single execution loop, calculating true mobile ad ROI without manual Liftoff data exports. This setup turns raw Liftoff performance metrics into structured database updates inside your LangChain application with zero intermediate script writing.
Set up Liftoff 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 Liftoff 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({
"liftoff-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 Liftoff 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 Liftoff. 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 Liftoff MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Liftoff MCP today
We host it, we monitor it, we maintain it. You just paste one token.