marketo-mcp-server
marketo-mcp-server
Marketo用のModel Context Protocolサーバー — Claudeやその他のAIアシスタントからMarketoインスタンスへ直接アクセスできるようにします。
自然言語を通じて、リードのクエリ、プログラムの調査、メールやフォームの確認、静的リストやスマートリストの管理、チャネルやランディングページの探索、一括エクスポートの実行が可能です。
機能
カテゴリ | できること |
リード | IDまたはメールアドレスによる取得、バッチでの作成/更新、削除、アクティビティログの取得 |
プログラム | 一覧表示、IDによる取得、クローン作成、メンバーの取得 |
メール | 一覧表示、IDによる取得、クローン作成、サンプル/テスト送信 |
フォーム | 一覧表示、IDによる取得、クローン作成、承認 |
スマートリスト | 一覧表示、完全なフィルター定義を含むIDによる取得 |
静的リスト | メンバーの取得、リードの追加、リードの削除 |
チャネル | 一覧表示、IDによる取得、進行ステータスを指定した作成 |
ランディングページ | 一覧表示、IDによる取得、クローン作成 |
一括エクスポート | ジョブの作成、エンキュー、ステータスのポーリング、ファイルのダウンロード |
前提条件
Node.js 20以上
REST APIアクセスが有効なMarketoインスタンス
MarketoのAPI専用ユーザーおよびクライアントIDとクライアントシークレットを持つLaunchPointサービス
セットアップ
1. Marketo REST認証情報の取得
Marketo管理画面の Integration → LaunchPoint からサービスを作成または選択し、クライアントIDとシークレットをコピーします。ベースURLは Integration → Web Services にあります(例: https://xxx-xxx-xxx.mktorest.com)。
2. 環境変数の設定
MARKETO_CLIENT_ID=your_client_id
MARKETO_CLIENT_SECRET=your_client_secret
MARKETO_BASE_URL=https://xxx-xxx-xxx.mktorest.com使用方法
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) または %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
プロジェクトルートの .cursor/mcp.json (またはグローバルの ~/.cursor/mcp.json) に追加します:
{
"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-serverツールリファレンス
リード (5ツール)
ツール | 説明 |
| MarketoリードIDで単一のリードを取得 |
| メールアドレスでリードを検索 |
| 最大300件のリードをバッチでアップサート |
| IDでリードを完全に削除 |
| リードのアクティビティログを取得(アクティビティタイプでフィルタリング可能) |
プログラム (4ツール)
ツール | 説明 |
| ページネーションとタイプ/日付フィルタリングを使用してプログラムを一覧表示 |
| IDでプログラムの完全なメタデータを取得 |
| ローカルアセットすべてを含めてプログラムをターゲットフォルダにクローン |
| プログラムに登録されているリードを取得 |
メール (4ツール)
ツール | 説明 |
| ステータスフィルタリングを使用してメールアセットを一覧表示 |
| HTMLやモジュール構造を含むメールの完全なメタデータを取得 |
| メールアセットをターゲットフォルダにクローン |
| テスト/サンプルメールを送信(オプションでリードのトークンを使用してレンダリング) |
フォーム (4ツール)
ツール | 説明 |
| ページネーションとステータスフィルタリングを使用してフォームを一覧表示 |
| フィールドや表示ルールを含むフォームのメタデータを取得 |
| フォームをターゲットフォルダにクローン |
| フォームの下書きを承認して公開 |
スマートリスト (2ツール)
ツール | 説明 |
| ページネーションを使用してスマートリストを一覧表示 |
| 完全なフィルター定義を含むスマートリストを取得 |
静的リスト (3ツール)
ツール | 説明 |
| 静的リストのメンバーであるリードを取得 |
| 最大300件のリードを静的リストに追加 |
| 最大300件のリードを静的リストから削除 |
チャネル (3ツール)
ツール | 説明 |
| すべてのチャネルとその進行ステータスを一覧表示 |
| IDで単一のチャネルを取得 |
| カスタム進行ステータスを持つチャネルを作成 |
ランディングページ (3ツール)
ツール | 説明 |
| ステータスフィルタリングを使用してランディングページを一覧表示 |
| テンプレートや埋め込みフォームを含むLPの完全なメタデータを取得 |
| ランディングページをターゲットフォルダにクローン |
一括エクスポート (4ツール)
ツール | 説明 |
| フィールドリストと日付フィルターを指定して一括リードエクスポートジョブを作成 |
| 作成したエクスポートジョブを処理のためにエンキュー |
| 実行中のエクスポートジョブのステータスをポーリング |
| 完了したエクスポートジョブからファイルをダウンロード |
プロンプト例
「今週作成されたWebinarソースのリードをすべて表示して」
「現在アクティブなプログラムは何で、それぞれどのチャネルに属していますか?」
「Contact Usランディングページにあるすべてのフォームを見つけて、そのフィールドを表示して」
「Q1 WebinarプログラムをQ2フォルダにクローンして、Q2 Webinarという名前にして」
「過去30日間に更新されたすべてのリードをCSVにエクスポートして — email, firstName, lastName, company」
「メールID 1234のサンプルをtest@example.comに送信して。その際、リード5678のデータでレンダリングして」
認証
MarketoはOAuth 2.0クライアント認証情報を使用します。サーバーはトークンを自動的に取得・キャッシュし、有効期限の60秒前に更新します。手動でのトークン管理は不要です。
ライセンス
MIT — 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.