Skip to main content
Glama
vinkius-labs

Salesforce Marketing Cloud MCP

by vinkius-labs

🎯 Salesforce Marketing Cloud MCP Integration

Host on Vinkius Edge Docker Pulls

A cutting-edge Model Context Protocol server that translates LLM intent into Salesforce Marketing Cloud (SFMC) orchestration. Let your autonomous agents segment audiences, manage subscribers, and trigger Journey Builder workflows entirely through natural language.

Revolutionizing Campaign Orchestration

Interacting with the SFMC SOAP and REST APIs is notoriously difficult due to complex XML envelopes, strict rate limits, and asynchronous data extension handling. This MCP server acts as an intelligent proxy. It provides LLMs with deterministic, safe tools to interact with your marketing stack.

Why Vinkius is the Optimal Deployment Strategy

To ensure your marketing automation remains uninterrupted, this MCP is built to run on the Vinkius Edge Platform.

  • Zero-Maintenance Infrastructure: The Vinkius platform handles horizontal scaling automatically. Whether your agent is pulling 10 or 10,000 subscriber records, Vinkius scales the MCP instance instantly.

  • Enterprise-Grade Compliance: Securely bind your Marketing Cloud client IDs and secrets to the Vinkius vault. The LLM never touches your keys.

  • Vinkius Ecosystem: Tap into the broader Vinkius marketplace to combine this SFMC server with other data enrichment MCPs seamlessly.

Related MCP server: mcp-server-salesforce

Agent Capabilities

This server equips your AI with powerful marketing primitives:

  • query_data_extension: A safe query interface for Data Extensions. Perfect for agents that need to analyze audience segments or retrieve personalized customer attributes before drafting an email.

  • trigger_journey: Push users directly into active Salesforce Journeys. Enables the AI to respond to an event and immediately enroll a user in a nurture campaign.

  • manage_subscriber: View, update, or unsubscribe contacts with built-in safeguards to respect communication preferences.

🌐 Deploy to Vinkius Edge

Get your Marketing Cloud MCP running globally in under a minute. We utilize Vinkius Edge for its unparalleled edge performance and security.

Execute the following command in your terminal:

npx mcpfusion deploy

You are ready to connect your LLM to the endpoint provided by Vinkius.

🔗 Get Started with the Salesforce Marketing Cloud MCP on Vinkius

Local Contributions

Built on top of the @mcpfusion/core framework.

npm install
npm run dev

Available Tools

6 tools
sf_add_campaign_memberA

[INSTRUCTIONS] Creates a CampaignMember junction record linking a Lead or Contact to a Campaign. Provide campaignId and either contactId OR leadId (not both). Status defaults to "Sent" but can be set to "Responded", "Registered", etc. based on your campaign member statuses. Returns the created membership record.

Add a lead or contact to a Salesforce marketing campaign for attribution tracking and engagement measurement.

ParametersJSON Schema
NameRequiredDescriptionDefault
campaignIdYesCampaign ID
contactIdNoContact ID (provide either this OR leadId)
leadIdNoLead ID (provide either this OR contactId)
statusNoMember status (default: Sent)

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only show destructiveHint: false. Description discloses it creates a non-destructive record, returns the created membership, and mentions status defaults. No hidden side effects; adds useful behavioral context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two paragraphs: first with instructions, second a summary. Front-loaded with purpose. Some redundancy (e.g., 'Add a lead or contact...' echoes first sentence), but generally efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description mentions return value. Covers key aspects: what it does, parameter constraints, status options. Lacks error handling or prerequisite info (e.g., campaign must exist), but adequate for a simple create tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (baseline 3). Description adds mutual exclusivity of contactId/leadId, default status, and possible status values, enhancing understanding beyond the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it creates a CampaignMember junction record linking a Lead or Contact to a Campaign, distinguishing it from sibling tools like sf_campaign_members (list) and sf_create_campaign (create campaign).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit instructions: provide campaignId and either contactId OR leadId, and explains status defaults and options. Lacks explicit when-not-to-use or alternatives, but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sf_campaign_membersA
Read-only

[INSTRUCTIONS] Retrieves CampaignMember junction records for a campaign. Returns member name, type (Lead or Contact), status (Sent/Responded/etc.), and response date. Use to see who is in a campaign, track engagement, or analyze campaign reach. Essential for campaign ROI and attribution analysis.

Get all leads and contacts enrolled in a specific Salesforce campaign with their membership status and response dates. [READ-ONLY]

ParametersJSON Schema
NameRequiredDescriptionDefault
campaignIdYesCampaign ID (18-char Salesforce ID)
limitNoMaximum results (default: 20)

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint=true and destructiveHint=false. Description adds that it returns member name, type, status, response date, and explicitly marks [READ-ONLY], reinforcing safe read behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat redundant, repeating similar information in two sentences. The '[INSTRUCTIONS]' prefix is unnecessary. Could be more compact and focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, so description covers return fields (member name, type, status, response date). Lacks details on error handling or edge cases, but for a simple read tool with 2 params, it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, with descriptions for campaignId and limit. The description mentions campaign in context but adds no new parameter details beyond schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves CampaignMember junction records for a campaign, listing specific fields. It distinguishes from siblings like sf_add_campaign_member (adds) and sf_campaign_performance (performance).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides specific use cases: 'see who is in a campaign, track engagement, or analyze campaign reach'. Implicitly advises against using for adding or performance analysis. Could explicitly mention alternatives but clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sf_campaign_performanceA
Read-only

[INSTRUCTIONS] Runs aggregate SOQL on Campaign records grouped by Type. Returns the number of campaigns, total leads generated, total conversions, total budgeted cost, and actual cost per campaign type. Provides an instant ROI overview across all marketing channels. Use for marketing dashboard, channel-level performance comparison, or budget allocation analysis.

Get aggregate marketing campaign performance — campaign counts, total leads, conversions, and costs grouped by campaign type. [READ-ONLY]

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=true, so safety is already covered. Description adds behavioral detail: the query groups by Type and returns an ROI overview. It consistently notes '[READ-ONLY]'. No contradictions; adds useful context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with 'INSTRUCTIONS' and key details. Slightly verbose first sentence but overall efficient. Could be slightly tighter, but no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no parameters or output schema, the description covers all needed: explains input (none), output structure (list of aggregated metrics), and use cases. Annotations cover safety. Complete for its purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so schema coverage is 100%. The baseline for 0 parameters is 4. The description does not add parameter info because none are needed. Appropriate score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool runs aggregate SOQL on Campaign records grouped by Type, listing specific return fields (campaign counts, leads, conversions, costs). It distinguishes from sibling tools like sf_campaign_members (members) and sf_campaigns_by_status (status), making purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit use cases are provided: 'marketing dashboard, channel-level performance comparison, or budget allocation analysis.' While it doesn't specify when not to use, the context and sibling list imply alternatives. Slightly missing explicit exclusions, but overall clear guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sf_campaigns_by_statusA
Read-only

[INSTRUCTIONS] Filters Campaign records by Status. Returns campaigns with lead/contact counts, budget, and conversion data. Use for questions like "which campaigns are currently running?" or "show completed campaigns with their results."

Get Salesforce campaigns filtered by status — Planned, In Progress, Completed, or Aborted — with full metrics. [READ-ONLY]

ParametersJSON Schema
NameRequiredDescriptionDefault
statusYesCampaign status: Planned, In Progress, Completed, Aborted
limitNoMaximum results (default: 20)

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the tool is safe. The description reinforces this with '[READ-ONLY]' and adds behavioral context by listing the specific metrics returned (lead/contact counts, budget, conversion data), which goes beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two main sentences and an initial instructions line that may be redundant. It front-loads the key information. Despite the slight redundancy, it earns a 4 for efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately explains the return data (campaigns with lead/contact counts, budget, conversion data). For a simple 2-param tool with good annotations, this is fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with both parameters described. The description essentially repeats the status values (Planned, In Progress, Completed, Aborted) and does not add extra meaning beyond the schema. No details on the limit parameter are added. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Filters Campaign records by Status' and specifies the resource (campaigns) and the primary filter. It also mentions the returned data (lead/contact counts, budget, conversion data) and provides example queries. This distinguishes it from siblings like sf_search_campaigns and sf_campaign_performance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives example use cases ('which campaigns are currently running?', 'show completed campaigns with their results') which guide when to use the tool. However, it does not explicitly exclude alternatives or state when not to use it, missing some comparative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sf_create_campaignA

[INSTRUCTIONS] Creates a Campaign sObject. Name is required. Type: Email, Conference, Webinar, Trade Show, Public Relations, Advertisement, Banner Ads, Telemarketing. Status defaults to "Planned". Dates use YYYY-MM-DD. budgetedCost is the planned spend. Returns the created campaign with its Salesforce ID.

Create a new marketing campaign in Salesforce with name, type, status, dates, description, and budget.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesCampaign name
typeNoType: Email, Conference, Webinar, Advertisement, etc.
statusNoStatus (default: Planned)
startDateNoStart date YYYY-MM-DD
endDateNoEnd date YYYY-MM-DD
descriptionNoCampaign description
budgetedCostNoPlanned budget amount

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only have destructiveHint: false. Description discloses it creates (mutation), includes default behavior (status defaults to 'Planned'), and return value. Does not cover permissions or rate limits, but adequate for a create tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Fairly concise with two sections but some repetition (first line and summary). The [INSTRUCTIONS] tag adds structure. Could be tighter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description explains return value (created campaign with ID). Covers required fields, defaults, and date format. Missing error handling details, but sufficient for basic use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. Description adds extra context: name required, type list, date format, budget meaning. This enhances parameter understanding beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it creates a Campaign sObject, specifying the verb 'Creates' and resource. It distinguishes from siblings like sf_add_campaign_member and sf_search_campaigns by focusing on creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides detailed usage instructions including required fields, type options, default status, date format, and return value. Lacks explicit when-not-to-use or alternative tools, but context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sf_search_campaignsA
Read-only

[INSTRUCTIONS] Queries the Campaign sObject. Returns campaign name, status (Planned/In Progress/Completed/Aborted), type (Email/Conference/Webinar/Advertisement), start/end dates, number of leads generated, contacts converted, budgeted cost, and actual cost. Use when the user asks about marketing initiatives, campaign performance, or budget spend.

Search Salesforce marketing campaigns by name to find initiatives with status, type, budget, and lead/contact conversion metrics. [READ-ONLY]

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesCampaign name keyword
limitNoMaximum results (default: 20)

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true. Description reinforces with '[READ-ONLY]' and describes return payload, adding value beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is somewhat verbose with a list of fields, but structured with instructions and read-only tag. Could be more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 2 params and no output schema, description covers purpose, usage, and return values adequately. Missing mention of default limit (20) but schema handles that.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so params are fully documented. Description adds minimal extra meaning, only reiterating 'name keyword'. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it queries the Campaign sObject and lists specific returned fields (name, status, type, dates, metrics). It distinguishes from siblings by being a search-by-name tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: 'when the user asks about marketing initiatives, campaign performance, or budget spend.' Provides read-only context but lacks explicit when-not-to-use or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv1.0.0
    • First observedsf_add_campaign_member
    • First observedsf_campaign_members
    • First observedsf_campaign_performance
    • First observedsf_campaigns_by_status
    • First observedsf_create_campaign
    • First observedsf_search_campaigns

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct operation: campaign creation, member addition, member retrieval, performance aggregation, status-based filtering, and name search. No two tools have overlapping purposes.

Naming Consistency3/5

Tool names follow a mixed convention: some start with a verb (sf_add_campaign_member, sf_create_campaign, sf_search_campaigns) while others start with a noun (sf_campaign_members, sf_campaign_performance, sf_campaigns_by_status). The prefix 'sf_' is consistent, but the lack of a uniform pattern reduces clarity.

Tool Count5/5

Six tools cover the core operations for a marketing campaign server (create, add members, query members, query campaigns by status, search by name, and aggregate performance). This is a well-scoped set without excess or deficiency.

Completeness3/5

The tool surface covers campaign creation and member addition, but lacks update and delete operations for both campaigns and campaign members. While common queries are supported, missing lifecycle actions force agents to rely on external mechanisms, creating minor gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables management of email campaigns, subscribers, lists, segments, journeys, templates, transactional email, and client/account settings through the Campaign Monitor API via natural language.
    100
    1
    -
  • F
    license
    B
    quality
    D
    maintenance
    Provides AI agents with secure access to Salesforce data and operations, enabling natural language interaction with CRM for sales, marketing, and executive teams.
    6
    5
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables natural language interaction with Iterable marketing platform data, allowing users to query campaigns, templates, and perform actions via AI assistants.
    1,776 npm
    11
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables marketing optimization tasks such as copywriting, campaign analysis, social media planning, audience segmentation, and KPI tracking through natural language.
    113 npm
    -