Skip to content
MCP server

Sfmc MCP Server

MCP Server para Salesforce Marketing Cloud: valida queries do Automation Studio antes de…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.1
Listing updated
6 days ago

About Sfmc MCP Server

Sfmc MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

MCP Server para Salesforce Marketing Cloud: valida queries do Automation Studio antes de rodar.

Install

Run in a terminal

claude mcp add sfmc-mcp-server --env SFMC_SUBDOMAIN='<SFMC_SUBDOMAIN>' --env SFMC_CLIENT_ID='<SFMC_CLIENT_ID>' --env SFMC_CLIENT_SECRET='<SFMC_CLIENT_SECRET>' -- npx -y sfmc-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "sfmc-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "sfmc-mcp-server"
      ],
      "env": {
        "SFMC_SUBDOMAIN": "<SFMC_SUBDOMAIN>",
        "SFMC_CLIENT_ID": "<SFMC_CLIENT_ID>",
        "SFMC_CLIENT_SECRET": "<SFMC_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "sfmc-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "sfmc-mcp-server"
      ],
      "env": {
        "SFMC_SUBDOMAIN": "<SFMC_SUBDOMAIN>",
        "SFMC_CLIENT_ID": "<SFMC_CLIENT_ID>",
        "SFMC_CLIENT_SECRET": "<SFMC_CLIENT_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "sfmc-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sfmc-mcp-server"
      ],
      "env": {
        "SFMC_SUBDOMAIN": "<SFMC_SUBDOMAIN>",
        "SFMC_CLIENT_ID": "<SFMC_CLIENT_ID>",
        "SFMC_CLIENT_SECRET": "<SFMC_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sfmc-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "sfmc-mcp-server"
      ],
      "env": {
        "SFMC_SUBDOMAIN": "<SFMC_SUBDOMAIN>",
        "SFMC_CLIENT_ID": "<SFMC_CLIENT_ID>",
        "SFMC_CLIENT_SECRET": "<SFMC_CLIENT_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "sfmc-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "sfmc-mcp-server"
      ],
      "env": {
        "SFMC_SUBDOMAIN": "<SFMC_SUBDOMAIN>",
        "SFMC_CLIENT_ID": "<SFMC_CLIENT_ID>",
        "SFMC_CLIENT_SECRET": "<SFMC_CLIENT_SECRET>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SFMC_SUBDOMAINSubdomínio da instância SFMC (a parte antes de .auth.marketingcloudapis.com)Required
  • SFMC_CLIENT_IDClient ID do Installed Package (API Integration Server-to-Server)Required
  • SFMC_CLIENT_SECRETClient Secret do Installed PackageRequired
  • SFMC_ACCOUNT_IDMID da Business Unit alvo (opcional; usa a BU padrão do package se omitido)
  • SFMC_MODEModo de operação: "read" (padrão) ou "write"

Pricing

Open source

Sfmc MCP Server FAQ

Is Sfmc MCP Server free?

Yes. Sfmc MCP Server is open source, so you can use and self-host it for free.

How do I add Sfmc MCP Server to Claude Code?

Run this command in your terminal: claude mcp add sfmc-mcp-server --env SFMC_SUBDOMAIN='<SFMC_SUBDOMAIN>' --env SFMC_CLIENT_ID='<SFMC_CLIENT_ID>' --env SFMC_CLIENT_SECRET='<SFMC_CLIENT_SECRET>' -- npx -y sfmc-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers