API KEY
The Mailerlite MCP connector gives AI agents secure, per-user access to MailerLite — letting agents manage subscribers, groups, automations, and campaigns on behalf of the authorizing user. Every operation is tied to the MailerLite account owner who authorized the agent, keeping all email marketing actions fully auditable.
For more tools, view docs.
from langchain_mcp_adapters.client import MultiServerMCPClient
from scalekit import ScalekitClient
client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="mailerlitemcp")
mcp = MultiServerMCPClient({
"mailerlitemcp": {
"url": "https://mcp.scalekit.com/mailerlitemcp",
"headers": {"Authorization": "Bearer " + token}
}
})
tools = await mcp.get_tools()import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";
const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "mailerlitemcp" });
const openai = new OpenAI();
// Connect to MCP at https://mcp.scalekit.com/mailerlitemcp
// Pass: Authorization: Bearer + tokenimport Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";
const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "mailerlitemcp" });
const anthropic = new Anthropic();
// Connect to MCP at https://mcp.scalekit.com/mailerlitemcp
// Pass: Authorization: Bearer + tokenfrom google.adk.agents import LlmAgent
from scalekit import ScalekitClient
client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="mailerlitemcp")
# Connect to MCP at https://mcp.scalekit.com/mailerlitemcp
# Pass: Authorization: Bearer + token// shared token
audit → bot_service_account
// scalekit
audit → user_abc ✓