How to Use the Salesforce Marketing Cloud MCP in Claude Code
Run Salesforce Marketing Cloud campaigns directly from your terminal using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Salesforce Marketing Cloud MCP to Claude Code
Create your Vinkius account to connect Salesforce Marketing Cloud to Claude Code — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.
Key Capabilities
Script marketing ops with Claude Code
`sf_campaign_members` extracts the exact lead types, response dates, and engagement statuses for any given campaign. You can pipe this output straight into a shell script to cross-reference marketing engagement against your backend user database. If you need to map out where the budget went, `sf_campaign_performance` dumps the aggregate costs and conversion totals into your terminal. A DevOps engineer can set this up as a cron job to fire weekly ROI reports into a Slack channel.
Headless campaign creation
`sf_create_campaign` takes parameters like YYYY-MM-DD dates, budget, and type to generate a new marketing record from the command line. You no longer need to log into a bloated web UI just to register a new webinar initiative. Once the record exists, `sf_search_campaigns` lets your terminal query the system by name to pull down the newly generated Salesforce ID. You can then inject that ID into your application's environment variables during a deployment pipeline.
Automate lead tracking via CLI
`sf_add_campaign_member` pushes a specific contact ID into a campaign and sets their initial status. When a new user signs up in your app, your backend can trigger a headless command to drop them immediately into a welcome sequence. To keep the database clean, `sf_campaigns_by_status` checks for Aborted or Completed initiatives. Your terminal agent scans these defunct records and archives the associated assets in your codebase.
Set up Salesforce Marketing Cloud MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seesalesforce-marketing-cloud-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Salesforce Marketing Cloud transactions." It will automatically discover and invoke the available Salesforce Marketing Cloud tools.
claude mcp add --transport http salesforce-marketing-cloud-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Salesforce Marketing Cloud MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Salesforce Marketing Cloud MCP today
We host it, we monitor it, we maintain it. You just paste one token.