4,500+ servers built on MCP Fusion
Vinkius
Audienceful logo
Vinkius
LangChain logo

How to Use the Audienceful MCP in LangChain

Build marketing chains in LangChain that manage Audienceful subscribers and trigger automations based on real-time campaign data.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Audienceful MCP on Cursor AI Code Editor MCP Client Audienceful MCP on Claude Desktop App MCP Integration Audienceful MCP on OpenAI Agents SDK MCP Compatible Audienceful MCP on Visual Studio Code MCP Extension Client Audienceful MCP on GitHub Copilot AI Agent MCP Integration Audienceful MCP on Google Gemini AI MCP Integration Audienceful MCP on Lovable AI Development MCP Client Audienceful MCP on Mistral AI Agents MCP Compatible Audienceful MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
LangChain

Connect Audienceful MCP to LangChain

Create your Vinkius account to connect Audienceful 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.

GDPR Free for Subscribers

LangChain Audienceful MCP Server Pipelines

The Audienceful MCP Server connects your ReAct agents directly to subscriber management. Your agent calls `list_people` to find segments based on specific email addresses, then immediately passes those UIDs down the execution chain. Moving output from one tool to another happens natively. A logic node might analyze engagement using `list_send_reports`, decide a user needs a follow-up, and execute `trigger_automation` to start that exact email sequence without human intervention.

Chain-Driven Custom Field Operations

Your LangChain pipelines handle dynamic marketing attributes through `list_custom_fields` and `create_custom_field`. When an external database update triggers your script, the agent maps new data points directly into your marketing platform. Tracing these updates in LangSmith shows exactly how long the API took to respond. You get full visibility into the inputs and outputs when the agent decides to run `update_person` with those newly mapped fields.

Automated Subscriber Lifecycle Management

Combining `create_person` and `delete_person` inside a scheduled chain automates list hygiene. Your script pulls bounced emails from a separate source, verifies them, and removes dead weight from your audience. State persistence via `client.session()` keeps track of who was processed during long-running batch jobs. If a task fails midway, the agent knows exactly which profile to fetch next using `get_person` when it resumes.

Setup guide

Set up Audienceful MCP in LangChain

Prerequisites

  • Python 3.10+ installed
  • langchain-mcp-adapters + langgraph packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChain BaseTool objects.

  2. 2

    Connect via HTTP transport

    Use MultiServerMCPClient with "transport": "http" pointing to your Vinkius endpoint. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Create a ReAct agent

    Pass the discovered tools to create_react_agent() from LangGraph. The agent automatically routes Audienceful tool calls through the MCP protocol.

  4. 4

    Run with any LLM

    Swap ChatOpenAI for ChatAnthropic, ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.

agent.py
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI

async with MultiServerMCPClient({
    "audienceful-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 Audienceful 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 Audienceful. 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 Audienceful MCP in LangChain

Install the `langchain-mcp-adapters` package first. Then initialize a `MultiServerMCPClient` pointing to your Vinkius endpoint and pass the extracted tools to `create_agent`.
Yes. You configure a chain to evaluate specific conditions, and if met, the agent executes `trigger_automation` for that specific user UID.
Every interaction gets logged with exact token usage and latency metrics. You see the exact JSON payloads sent to the marketing API during your agent's execution.
Your agent calls `list_people` with specific status filters or email search strings. The resulting array feeds directly into your next processing step.
Vinkius runs the MCP Server in an ephemeral V8 Isolate Sandbox. Email addresses, custom fields, and send reports pass through a zero-trust tunnel directly to your agent, leaving no persistent footprint behind.

Start using the Audienceful MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 10 tools

We've already built the connector for Audienceful. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 10 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.