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

How to Use the Campaign Monitor MCP in LangChain

Build autonomous LangChain agents that run your Campaign Monitor marketing, from list management to performance analysis.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect Campaign Monitor MCP to LangChain

Create your Vinkius account to connect Campaign Monitor 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

Chain Commands for Complex Workflows

This server gives your agent direct access to Campaign Monitor. You can build chains that react to marketing data in real time. For instance, an agent can `list_campaigns`, find the one with the highest open rate using `get_campaign_performance`, and then automatically add new leads to that campaign's list with `add_subscriber`. It's not just about single commands. LangChain lets your agent decide the sequence. The agent can reason through a multi-step task, like checking account info before fetching client details. And because you have LangSmith, you can trace every single tool call from this MCP Server, seeing exactly what data went in and what came out.

Automate List and Client Management

Stop logging into the UI for routine checks. Give your agent a goal, and it will use the tools to figure it out. It can `list_clients` to get an overview, then drill down into specific contact lists for each one using `list_contact_lists`. This is perfect for building internal dashboards or running automated audits. An agent can loop through all your lists, run `list_subscribers` on each one, and flag any that have low engagement or are growing too slowly. It's your data, queried your way.

Build Agents with your MCP Server

The tools are the building blocks. Your agent gets ten distinct operations it can perform on your Campaign Monitor account, from `get_account_info` to `list_email_templates`. You don't write the API integration code; you just tell the agent what you need done. Getting started is simple. You pass the tools from this MCP server to the `create_agent` function. LangChain handles the logic of when to call a tool and which one to use. Your job is to define the high-level goal, and the agent takes care of the execution.

Setup guide

Set up Campaign Monitor 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 Campaign Monitor 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({
    "campaign-monitor-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 Campaign Monitor 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 Campaign Monitor. 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 Campaign Monitor MCP in LangChain

You'll use the `langchain-mcp-adapters` library. Just point the `MultiServerMCPClient` at the Vinkius endpoint URL you get after subscribing, call `get_tools()`, and pass them to your agent. The MCP adapter handles all the authentication and schema translation.
Yes. Your agent can use the `list_campaigns` tool to find the campaign you're interested in, then feed its ID into the `get_campaign_performance` tool. You'll get back a full performance summary, including open rates and clicks, right in your agent's context.
Absolutely. The tools from this MCP Server are standard LangChain tools. You can add them to any node in your graph, allowing different states in your application to interact with your Campaign Monitor data.
This MCP server is managed, sandboxed, and requires zero-setup. You get a single endpoint and token that Vinkius handles. You don't need to build an OAuth flow, manage refresh tokens, or write custom tool definitions for every API endpoint. It just works.
The MCP server connection is sandboxed and ephemeral, so data like subscriber lists or campaign stats are only processed for the duration of the tool call. Vinkius doesn't store your data. Since you're using LangChain, you have full control over your agent's memory and any tracing you enable via LangSmith, so you decide what gets logged.

Start using the Campaign Monitor 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 Campaign Monitor. 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.