How to Use the Aspire MCP in LangChain
Connect LangChain to Aspire and build agents that manage your influencer marketing campaigns for you.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Aspire MCP to LangChain
Create your Vinkius account to connect Aspire 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 Campaign Reporting
This server gives your agent read-access to your Aspire account. You can build a chain that calls `list_projects` to get all your campaigns, then loops through them, calling `get_project` and `list_project_members` for each one. The agent assembles a full picture of who's working on what. Forget manual exports. Your LangChain agent can generate these reports on a schedule or on-demand. With LangSmith, you get a full trace of the agent's reasoning, showing exactly which Aspire data it pulled and why. It's not a black box.
Analyze Creator & Content Performance
Find out what's actually working. An agent can use `list_posts` to scan content from a specific campaign, then use `get_post` to dig into the engagement metrics of individual top performers. It can also pull creator profiles with `get_member` to see their stats. This isn't just about pulling data. You're building a process that identifies high-performing content without you lifting a finger. The agent surfaces the wins, so you can focus on strategy instead of digging through dashboards.
Your Aspire MCP Server for LangChain
This isn't a custom API you have to maintain. It's a managed MCP Server that turns Aspire actions into standard tools your LangChain agent already knows how to use. The setup is just a few lines of code to point the client at the Vinkius endpoint. Authentication, schemas, and hosting are handled. You just build the logic. Your agent gets a list of ready-to-use tools for interacting with Aspire, and you can combine them with any of the other 500+ LangChain integrations.
Set up Aspire 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 Aspire 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({
"aspire-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 Aspire 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 Aspire. 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 Aspire MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Aspire MCP today
We host it, we monitor it, we maintain it. You just paste one token.