Marketo MCP Server
for AI Agents
Connect your AI agent to StackOne's Marketo MCP server and give it 59 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
59 Agent Actions
Create, read, update, and delete across Marketo — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Marketo MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Marketo tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Marketo call.
Tools Discovery →What is the Marketo MCP Server?
A Marketo MCP server lets AI agents read and write Marketo data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Marketo MCP server ships with 59 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Marketo MCP Tools
Every action from Marketo's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Email Templates
- Create Email Template
Create a new email template by uploading HTML content
- Clone Email Template
Clone an existing email template into a new template
- List Email Templates
List email templates from the Marketo Design Studio
Emails
- Create Email
Create a new email asset
- Clone Email
Clone an existing email asset into a new email
- List Emails
List emails from the Marketo instance
Forms
- Create Form
Create a new landing-page form
- List Forms
List landing-page forms from the Marketo Design Studio
Landing Page Templates
- Create Landing Page Template
Create a new landing page template
- List Landing Page Templates
List landing page templates from the Marketo Design Studio
Landing Pages
- Create Landing Page
Create a new landing page from a template
- List Landing Pages
List landing pages from the Marketo Design Studio
- Delete Landing Page
Delete a landing page
Programs
- Create Program
Create a new program
- Get Programs
Retrieve the list of accessible programs
Other (44)
- Get Activity Types
Get all available activity types
- Get Activities Paging Token
Get a valid paging token for activities query
- Get Lead Activities
Get activities for specific leads with filtering and pagination
- Get Deleted Leads
Get list of leads deleted from Marketo
- Get Lead Changes
Get list of leads that have changed
- Get Email Template By Name
Retrieve a single email template by name
- Get Email Template Used By
List the assets that reference an email template
- Get Email By Name
Retrieve a single email by name
- Get Email By Id
Retrieve a single email by ID
- Get Email Content By Id
Retrieve the HTML content of an email by ID
- Get Email Variables
Retrieve variables defined in an email
- Get Email Full Content
Retrieve the complete serialized content of an email
- Get Form By Name
Retrieve a single landing-page form by name
- Get Form By Id
Retrieve a single form by ID
- Get Form Used By
List the assets that reference a form
- Get Landing Page Template By Name
Retrieve a single landing page template by name
- Get Landing Page Template By Id
Retrieve a single landing page template by ID
- Get Landing Page By Name
Retrieve a single landing page by name
- Get Landing Page By Id
Retrieve a single landing page by ID
- Get Lead By Id
Retrieve a single lead by ID
- Get Leads By Filter Type
Get leads matching a filter on a specific field value
- Get Lead Fields
Retrieve metadata for all lead fields
- Get Lead Partitions
Retrieve all available lead partitions
- Get Lists By Lead Id
Query static list membership for one lead
- Get Programs By Lead Id
Query program membership for one lead
- Get Smart Campaigns By Lead Id
Query smart campaign membership for one lead
- Get Program By Name
Retrieve the program record for the given name
- Get Programs By Tag
Retrieve a list of programs matching the tag type and tag value given
- Get Program By Id
Retrieve the program record for the given ID
- Update Email Template Content
Replace the HTML content of an existing email template
- Update Email Metadata
Update email metadata
- Update Email Content Section
Update the content of a specific section in an email
- Update Form Metadata
Update form metadata
- Update Landing Page Template Metadata
Update landing page template metadata
- Update Landing Page Template Content
Update the HTML content of a landing page template
- Update Landing Page Metadata
Update landing page metadata
- Update Program Metadata
Update program metadata
- Approve Form Draft
Approve the current draft of a form
- Approve Landing Page Template Draft
Approve the current draft of a landing page template
- Approve Landing Page Draft
Approve the current draft of a landing page
- Unapprove Landing Page
Unapprove an approved landing page
- Submit Form
Submit a Marketo form server-side to create or update leads
- Approve Program
Approve the target program
- Unapprove Program
Unapprove the target program
Marketo AI Agent Use Cases
Connect your AI agent to Marketo and help your team scale the marketing operations they run by hand today.
Use StackOne to connect your AI agent to your marketing automation, CRM, and email tools to automate lead nurture email sequences.
ViewUse StackOne to connect your AI agent to your marketing automation, email, and analytics platforms to automate campaign performance reporting.
ViewUse StackOne to connect your AI agent to your document stores, email platforms, and messaging tools to automate content repurposing and distribution.
ViewSet Up Your Marketo MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Marketo in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Marketo MCP Server FAQ
Does StackOne have a Marketo MCP server?
Marketo MCP server vs direct API integration — what's the difference?
How does Marketo authentication work for AI agents?
origin_owner_id.Are Marketo MCP tools vulnerable to prompt injection?
What is the context bloat of a Marketo agent and how do I avoid it?
Can I limit which actions my Marketo agent can access?
Can I create custom agent actions for my Marketo MCP server?
When should I NOT use a Marketo MCP server?
What AI frameworks and AI clients does the StackOne Marketo MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.