Litmus (OAuth) MCP server for AI agents

Live

OAUTH 2.0

EMAIL QUALITY

Marketing

Litmus (OAuth) gives your agent email quality checks in your Litmus account: run accessibility checks, enroll emails in Email Guardian monitoring, and preview and publish Litmus Personalize content such as countdown timers and progress bars.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Litmus (OAuth)
agent · Acme Q3
Run
Did my welcome email pass the accessibility checks?
S
litmusoauth_accessibility_check_get
290ms
Email quality agent
The check finished and flagged 3 issues: missing alt text on 2 images and a low-contrast footer link.
Sources: Litmus accessibility check, 1 email
litmusoauth
3 issues
18:29
Message Claude...

Tools your email quality agent reaches for on Litmus (OAuth), scoped per user.

CALL ANY TOOL
24 tools for email quality in Litmus (OAuth): check email accessibility, enroll emails in Email Guardian and register webhooks, and preview and publish Litmus Personalize timers, progress bars, calendar events, conditional images, and sentiment trackers.
litmusoauth_accessibility_check_create
Create accessibility check
Submit an email's HTML for accessibility checks (WCAG and email best practices). Returns the email GUID used to fetch the results; the checks run in the background. Use litmusoauth_accessibility_check_create, then poll litmusoauth_accessibility_check_get until meta.state is complete. Uses the OAuth connection (Litmus v3 API, early access).
Parameters
Name
Type
Required
Description
html
string
Required
The full HTML of the email to check. Example: <html><body><h1>Spring sale</h1></body></html>.
litmusoauth_accessibility_check_get
Get accessibility check
litmusoauth_guardian_email_enroll
Enroll guardian email
litmusoauth_guardian_email_result_get
Get guardian email result
litmusoauth_guardian_email_unenroll
Guardian email unenroll
litmusoauth_guardian_emails_list
List guardian emails
litmusoauth_guardian_user_emails_list
List guardian user emails
litmusoauth_guardian_webhook_create
Create guardian webhook
litmusoauth_guardian_webhook_test
Guardian webhook test
litmusoauth_integration_user_create
Create integration user
litmusoauth_personalize_calendar_event_preview
Preview personalize calendar event
litmusoauth_personalize_calendar_event_publish
Publish personalize calendar event
litmusoauth_personalize_conditional_image_preview
Preview personalize conditional image
litmusoauth_personalize_conditional_image_publish
Publish personalize conditional image
litmusoauth_personalize_progress_bar_preview
Preview personalize progress bar
litmusoauth_personalize_progress_bar_publish
Publish personalize progress bar
litmusoauth_personalize_sentiment_tracker_preview
Preview personalize sentiment tracker
litmusoauth_personalize_sentiment_tracker_publish
Publish personalize sentiment tracker
litmusoauth_personalize_sentiment_tracker_report_get
Get personalize sentiment tracker report
litmusoauth_personalize_template_get
Get personalize template
litmusoauth_personalize_templates_list
List personalize templates
litmusoauth_personalize_timer_preview
Preview personalize timer
litmusoauth_personalize_timer_publish
Publish personalize timer
litmusoauth_ping_authenticated
Ping authenticated
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Litmus tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["litmusoauth"], toolNames: [
    "litmusoauth_accessibility_check_create",
    "litmusoauth_accessibility_check_get",
    "litmusoauth_guardian_email_enroll"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Run accessibility checks on this email, then enroll it in Email Guardian" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["litmusoauth"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Run accessibility checks on this email, then enroll it in Email Guardian" }],
  tools,
});

// Execute the tool call with the user's vaulted Litmus OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["litmusoauth"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Run accessibility checks on this email, then enroll it in Email Guardian" }],
  tools,
});

// Tool call runs with the user's vaulted Litmus OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["litmusoauth"] }, pageSize: 100,
});

const agent = new Agent({
  name: "email_quality_agent",
  model: "gemini-2.5-pro",
  instruction: "Litmus tools scoped to this user",
  tools,
});

await agent.run("Run accessibility checks on this email, then enroll it in Email Guardian");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Litmus (OAuth) tool. Click to copy, paste into your agent, done.
Accessibility checks
Copy the prompt
Copied
Submit this email's HTML for accessibility checks.
Copy the prompt
Copied
Show the results of my latest accessibility check.
Copy the prompt
Copied
Check that Litmus accepts my connection.
Email Guardian
Copy the prompt
Copied
List the emails enrolled in Email Guardian.
Copy the prompt
Copied
Enroll this email in Email Guardian.
Copy the prompt
Copied
Register a webhook for Email Guardian rendering alerts.
Litmus Personalize
Copy the prompt
Copied
List the Litmus Personalize templates for countdown timers.
Copy the prompt
Copied
Preview a countdown timer that ends on Friday at 5 PM.
Copy the prompt
Copied
Publish the countdown timer for my live email.
SEE HOW AUTH WORKS
Each user signs in to Litmus once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Litmus (OAuth)
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Litmus (OAuth)
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Litmus (OAuth)
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Litmus (OAuth)
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other marketing connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Support and Ops Teams
Email-to-calendar agent
Reads scheduling intent out of Gmail threads, resolves the times everyone actually has free, and creates the event on the user's own Google Calendar. No shared service account.
Test other agents
See the same per-user auth pattern across other marketing connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
OPS
Email-to-calendar scheduling agent
Read scheduling intent out of Gmail threads, resolve mutual free time, and create the Google Calendar event.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Litmus token looks fine in a demo. In production every enrollment and published asset looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Litmus today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Litmus as the user or through a shared service account?
As the user. Each user signs in to Litmus once, and Scalekit stores and refreshes their tokens. Every accessibility check, enrollment, and published asset in your audit trail is attributed to that user, not a shared service account.
Where is the Litmus OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Litmus?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the get, list, and preview tools without the publish tools or litmusoauth_guardian_email_unenroll, which stops monitoring an email. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Litmus access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
What can the agent do with Litmus Personalize?
It lists templates, renders previews, and publishes calendar events, conditional images, progress bars, sentiment trackers, and countdown timers for use in live emails. litmusoauth_personalize_sentiment_tracker_report_get returns the vote results of a published tracker.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""litmusoauth"": {
""url"": ""https://mcp.scalekit.com/litmusoauth"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.litmusoauth]
url = ""https://mcp.scalekit.com/litmusoauth""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""litmusoauth"": {
""url"": ""https://mcp.scalekit.com/litmusoauth"",
""type"": ""http""
}
}
}