marketo-mcp-server
marketo-mcp-server
Un servidor del Protocolo de Contexto de Modelo (MCP) para Marketo: brinde a Claude y a otros asistentes de IA acceso directo a su instancia de Marketo.
Consulte leads, inspeccione programas, revise correos electrónicos y formularios, gestione listas estáticas e inteligentes, explore canales y páginas de destino, y ejecute exportaciones masivas, todo mediante lenguaje natural.
Características
Categoría | Qué puede hacer |
Leads | Obtener por ID o correo electrónico, crear/actualizar en lote, eliminar, recuperar registro de actividad |
Programas | Listar, obtener por ID, clonar, obtener miembros |
Correos electrónicos | Listar, obtener por ID, clonar, enviar muestra/prueba |
Formularios | Listar, obtener por ID, clonar, aprobar |
Listas inteligentes | Listar, obtener por ID con definiciones completas de filtros |
Listas estáticas | Obtener miembros, añadir leads, eliminar leads |
Canales | Listar, obtener por ID, crear con estados de progresión |
Páginas de destino | Listar, obtener por ID, clonar |
Exportación masiva | Crear trabajo, poner en cola, consultar estado, descargar archivo |
Requisitos previos
Node.js 20+
Una instancia de Marketo con acceso a la API REST
Un usuario de Marketo solo para API y un servicio LaunchPoint con Client ID y Client Secret
Configuración
1. Obtenga sus credenciales REST de Marketo
En el administrador de Marketo: Integration → LaunchPoint → cree o seleccione un servicio → copie el Client ID y el Secret. Su URL base se encuentra en Integration → Web Services (p. ej., https://xxx-xxx-xxx.mktorest.com).
2. Establezca las variables de entorno
MARKETO_CLIENT_ID=your_client_id
MARKETO_CLIENT_SECRET=your_client_secret
MARKETO_BASE_URL=https://xxx-xxx-xxx.mktorest.comUso
Claude Desktop
Añada a ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) o %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"marketo": {
"command": "npx",
"args": ["marketo-mcp-server"],
"env": {
"MARKETO_CLIENT_ID": "your_client_id",
"MARKETO_CLIENT_SECRET": "your_client_secret",
"MARKETO_BASE_URL": "https://xxx-xxx-xxx.mktorest.com"
}
}
}
}Claude Code
claude mcp add marketo-mcp-server npx marketo-mcp-server \
-e MARKETO_CLIENT_ID=your_client_id \
-e MARKETO_CLIENT_SECRET=your_client_secret \
-e MARKETO_BASE_URL=https://xxx-xxx-xxx.mktorest.comCursor
Añada a .cursor/mcp.json en la raíz de su proyecto (o ~/.cursor/mcp.json globalmente):
{
"mcpServers": {
"marketo": {
"command": "npx",
"args": ["marketo-mcp-server"],
"env": {
"MARKETO_CLIENT_ID": "your_client_id",
"MARKETO_CLIENT_SECRET": "your_client_secret",
"MARKETO_BASE_URL": "https://xxx-xxx-xxx.mktorest.com"
}
}
}
}Docker
docker build -t marketo-mcp-server .
docker run -e MARKETO_CLIENT_ID=... -e MARKETO_CLIENT_SECRET=... -e MARKETO_BASE_URL=... marketo-mcp-serverReferencia de herramientas
Leads (5 herramientas)
Herramienta | Descripción |
| Obtener un solo lead por ID de lead de Marketo |
| Buscar un lead por dirección de correo electrónico |
| Upsert por lotes de hasta 300 leads |
| Eliminar permanentemente un lead por ID |
| Obtener el registro de actividad de un lead (filtrable por tipo de actividad) |
Programas (4 herramientas)
Herramienta | Descripción |
| Listar programas con paginación y filtrado por tipo/fecha |
| Obtener metadatos completos del programa por ID |
| Clonar un programa con todos los activos locales en una carpeta de destino |
| Obtener leads inscritos en un programa |
Correos electrónicos (4 herramientas)
Herramienta | Descripción |
| Listar activos de correo electrónico con filtrado de estado |
| Obtener metadatos completos del correo electrónico, incluyendo HTML y estructura de módulos |
| Clonar un activo de correo electrónico en una carpeta de destino |
| Enviar un correo electrónico de prueba/muestra, opcionalmente renderizado con los tokens de un lead |
Formularios (4 herramientas)
Herramienta | Descripción |
| Listar formularios con paginación y filtrado de estado |
| Obtener metadatos del formulario, incluyendo campos y reglas de visibilidad |
| Clonar un formulario en una carpeta de destino |
| Aprobar un borrador de formulario para publicarlo |
Listas inteligentes (2 herramientas)
Herramienta | Descripción |
| Listar listas inteligentes con paginación |
| Obtener una lista inteligente con sus definiciones completas de filtros |
Listas estáticas (3 herramientas)
Herramienta | Descripción |
| Obtener leads que son miembros de una lista estática |
| Añadir hasta 300 leads a una lista estática |
| Eliminar hasta 300 leads de una lista estática |
Canales (3 herramientas)
Herramienta | Descripción |
| Listar todos los canales y sus estados de progresión |
| Obtener un solo canal por ID |
| Crear un canal con estados de progresión personalizados |
Páginas de destino (3 herramientas)
Herramienta | Descripción |
| Listar páginas de destino con filtrado de estado |
| Obtener metadatos completos de la LP, incluyendo plantilla e incrustaciones de formularios |
| Clonar una página de destino en una carpeta de destino |
Exportación masiva (4 herramientas)
Herramienta | Descripción |
| Crear un trabajo de exportación masiva de leads con lista de campos y filtro de fecha |
| Poner en cola un trabajo de exportación creado para su procesamiento |
| Consultar el estado de un trabajo de exportación en ejecución |
| Descargar el archivo de un trabajo de exportación completado |
Ejemplos de prompts
"Muéstrame todos los leads creados esta semana desde la fuente Webinar"
"¿Qué programas están activos actualmente y en qué canal se encuentra cada uno?"
"Encuentra todos los formularios en la página de destino Contact Us y muéstrame sus campos"
"Clona el programa Q1 Webinar en la carpeta Q2 y nómbralo Q2 Webinar"
"Exporta todos los leads actualizados en los últimos 30 días a CSV: email, firstName, lastName, company"
"Envía una muestra del correo electrónico con ID 1234 a test@example.com renderizado con los datos del lead 5678"
Autenticación
Marketo utiliza credenciales de cliente OAuth 2.0. El servidor obtiene y almacena en caché un token automáticamente, renovándolo 60 segundos antes de que caduque. No se requiere gestión manual de tokens.
Licencia
MIT: consulte LICENSE.
Available Tools
32 toolsmarketo_add_leads_to_listA
Add one or more leads to a static list by lead IDs. Max 300 leads per call.
Inputs: listId (required), leadIds (required).
marketo_approve_formA
Approve a Marketo form draft, making it the live version. The form must be in draft status.
Inputs: id (required).
marketo_clone_emailB
Clone an existing Marketo email asset. Creates a draft copy with the specified name in the target folder.
Inputs: id (required), name (required), folderId (required), folderType, +1 more.
marketo_clone_formA
Clone an existing Marketo form. Creates a new form with the same fields and settings under the specified name and folder.
Inputs: id (required), name (required), folderId (required), folderType, +1 more.
marketo_clone_landing_pageA
Clone an existing Marketo landing page. Creates a draft copy with the specified name in the target folder.
Inputs: id (required), name (required), folderId (required), folderType, +1 more.
marketo_clone_programA
Clone an existing Marketo program. Creates a copy with all local assets (emails, LPs, smart campaigns) under the specified name and folder.
Inputs: id (required), name (required), folderId (required), folderType, +1 more.
marketo_create_bulk_export_leadsA
Create a bulk lead export job. Specify which fields to export and a date range filter. The job must be enqueued separately after creation. Max 500MB or 10M records per export.
Inputs: fields (required), filter (required), format.
marketo_create_channelB
Create a new channel in Marketo. Channels define program types and their progression statuses (e.g. Invited > Registered > Attended for a Webinar channel).
Inputs: name (required), applicableProgramType (required), progressionStatuses (required).
marketo_create_or_update_leadsA
Batch create or update leads in Marketo. Upserts up to 300 leads per call. Uses 'email' as the default dedup field. Set action to createOnly, updateOnly, or createOrUpdate.
Inputs: input (required), action, lookupField.
marketo_delete_leadA
Delete a lead from Marketo by lead ID. This is permanent and cannot be undone.
Inputs: id (required).
marketo_enqueue_bulk_exportA
Enqueue a previously created bulk export job for processing. The job moves from Created to Queued status. Poll status with marketo_get_bulk_export_status.
Inputs: exportId (required).
marketo_get_bulk_export_fileA
Download the file from a completed bulk export job. Returns CSV/TSV content. Only works when job status is Completed. Large files may be clipped in MCP response.
Inputs: exportId (required).
marketo_get_bulk_export_statusA
Check the status of a bulk export job. Returns status (Created/Queued/Processing/Completed/Failed/Cancelled), file size, number of rows, and timestamps.
Inputs: exportId (required).
marketo_get_channel_by_idA
Get a single Marketo channel by ID. Returns channel metadata including progression statuses and their step numbers.
Inputs: id (required).
marketo_get_channelsA
List all channels in Marketo. Channels define the program type taxonomy (e.g. Webinar, Tradeshow, Email Send). Returns channel names, progression statuses, and applicability.
Inputs: maxReturn, offset.
marketo_get_email_by_idA
Get a single Marketo email asset by ID. Returns full email metadata including HTML content, subject line, from/reply-to, and module structure.
Inputs: id (required).
marketo_get_emailsA
List email assets in Marketo. Supports pagination via maxReturn/offset and filtering by status (approved/draft). Returns email metadata including subject line, from address, and folder.
Inputs: maxReturn, offset, status.
marketo_get_form_by_idA
Get a single Marketo form by its ID. Returns full form metadata including fields, submit button label, and visibility rules.
Inputs: id (required).
marketo_get_formsA
List forms in Marketo. Supports pagination via maxReturn (max 200) and offset. Optionally filter by status (approved/draft). Returns form metadata including name, URL, status, and folder.
Inputs: maxReturn, offset, status.
marketo_get_landing_page_by_idA
Get a single Marketo landing page by ID. Returns full LP metadata including template, URL, content sections, and form embeds.
Inputs: id (required).
marketo_get_landing_pagesA
List landing pages in Marketo. Supports pagination via maxReturn/offset and filtering by status (approved/draft). Returns LP metadata including URL, template, and mobile enablement status.
Inputs: maxReturn, offset, status.
marketo_get_lead_activitiesA
Get activity log for a specific lead. Filter by activity type IDs (e.g. 1=Visit Web Page, 6=Send Email). Supports pagination via nextPageToken. Returns timestamped activity records.
Inputs: leadId (required), activityTypeIds, nextPageToken, batchSize.
marketo_get_lead_by_emailA
Look up a lead by email address. Uses filterType=email on the leads endpoint. Returns matching lead records.
Inputs: email (required), fields.
marketo_get_lead_by_idA
Get a single lead by Marketo lead ID. Optionally specify which fields to return. Returns lead record with all requested fields.
Inputs: id (required), fields.
marketo_get_lead_listsB
Get leads that are members of a specific static list. Supports pagination via nextPageToken and batchSize.
Inputs: listId (required), fields, batchSize, nextPageToken.
marketo_get_program_by_idA
Get a single Marketo program by ID. Returns full program metadata including channel, status, costs, tags, and folder location.
Inputs: id (required).
marketo_get_program_membersA
Get members (leads) of a Marketo program. Supports pagination via nextPageToken and batchSize. Optionally specify which lead fields to return.
Inputs: programId (required), fields, batchSize, nextPageToken.
marketo_get_programsA
List programs in Marketo. Supports pagination (maxReturn/offset), filtering by type (filterType: id/programType/folder/tag), and date range filtering. Returns program metadata including status, channel, costs, and tags.
Inputs: maxReturn, offset, filterType, filterValues, +2 more.
marketo_get_smart_list_by_idA
Get a single Marketo smart list by ID. Returns full smart list metadata including filter definitions and rule logic.
Inputs: id (required).
marketo_get_smart_listsA
List smart lists in Marketo. Returns smart list metadata including name, folder, created/updated dates, and filter rules summary.
Inputs: maxReturn, offset.
marketo_remove_leads_from_listA
Remove one or more leads from a static list by lead IDs. Max 300 leads per call.
Inputs: listId (required), leadIds (required).
marketo_send_sampleA
Send a sample/test email to an email address. Optionally render personalization tokens using a specific lead's data. Useful for QA before approving.
Inputs: id (required), emailAddress (required), textOnly, leadId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Each tool has a clear, distinct purpose targeting a specific Marketo resource and action. There is no ambiguity between tools like marketo_get_email_by_id and marketo_get_emails, or between create, clone, add, remove, and delete operations.
All tools follow a consistent verb_noun pattern prefixed with 'marketo_'. Verbs are lowercase and nouns are descriptive. For example, marketo_get_lead_by_id, marketo_create_or_update_leads, marketo_add_leads_to_list. No mixing of conventions.
With 32 tools, the server covers a broad domain (leads, lists, emails, forms, landing pages, programs, channels, smart lists, bulk exports). While slightly above the typical 3-15 range, the complexity of Marketo justifies the count, and each tool serves a specific function.
The server covers core CRUD for leads and lists, asset management for emails, forms, and landing pages, and program/channel operations. However, notable gaps exist: no direct update for assets (only clone and approve), no program creation/deletion, and no list management beyond add/remove. Bulk export is well-covered.
Maintenance
Related MCP Connectors
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
Unofficial remote MCP server for Less Annoying CRM: OAuth 2.1, read-only grants, 10 tools.
MCP server for customer-io
Send transactional email and manage domains, audiences, and broadcasts from any MCP client.