How to Use the Kit (ConvertKit) MCP in LangChain
Build multi-step subscriber workflows by wiring Kit (ConvertKit) into your LangChain agents.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Kit (ConvertKit) MCP to LangChain
Create your Vinkius account to connect Kit (ConvertKit) 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.
Wire the Kit MCP Server into ReAct agents
The Kit (ConvertKit) MCP Server gives your LangChain agent direct access to email marketing endpoints. You pass the tools into your agent executor, and it decides when to fire off `list_subscribers` or grab macro metrics via `get_account_growth_summary`. You get full observability through LangSmith. Every API request the agent makes shows up in your trace logs. If a chain fails because it hallucinated a tag ID, you see exactly what it sent to `apply_tag_to_subscriber` and fix the prompt immediately.
Chain opt-ins and segmentation
This server exposes `add_subscriber_to_form` and `apply_tag_to_subscriber` so your pipeline handles acquisition and tagging in one pass. An agent reads an incoming lead from a database, drops them into a specific form, and immediately tags them based on their industry. You don't have to write custom integration code. The agent pulls available tags using `list_all_tags` and matches them against the user profile. If a tag is missing, the chain stops and alerts you.
Run automated subscriber audits
Your agent uses `get_subscriber_details` and `update_subscriber` to clean up stale lists automatically. You can build a chron job in LangGraph that checks subscriber engagement scores and updates their custom fields. When you need a broader view, the agent calls `list_email_sequences` to map out where users currently sit in your funnels. It feeds that raw data into your LLM to summarize campaign health.
Set up Kit (ConvertKit) 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 Kit (ConvertKit) 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({
"kit-convertkit-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 Kit (ConvertKit) 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 Kit. 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 Kit (ConvertKit) MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Kit (ConvertKit) MCP today
We host it, we monitor it, we maintain it. You just paste one token.