MCP.Market

Sfmc MCP server

by Inefavel·io.github.Inefavel/sfmc-mcp-server·v0.2.1

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

B78/100grade B
What users say
No reviews yet
Be the first
Safety scan
B78/100

full report

Adoption
New

0 stars33 downloads/wk

Reviews

Write one

Nobody has reviewed Sfmc yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Sfmc tools (3)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • list_data_extensions

    Lista Data Extensions da Business Unit conectada, com nome, external key (customerKey),

  • query_data_extension

    Consulta registros de uma Data Extension pelo external key (customerKey).

  • validate_sql

    Valida uma Query Activity do SFMC Automation Studio antes de executá-la.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan7 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 76 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 78/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Sfmc compares

Against every graded Sales and outbound MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
78/100
higher than 66% of 876 Sales and outbound servers
Tools
3
the typical Sales and outbound server has 8
Tools that change things
0%
typical: 11%. Fewer write tools means less an agent can break
Downloads a week
33
more than 25% of 156 Sales and outbound servers with a package

What its tools let an agent do: 3 read

Install Sfmc in Claude Code, Cursor or VS Code

Runs npx -y sfmc-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add sfmc-mcp-server -- npx -y sfmc-mcp-server
Add to Cursor

What the publisher says

From the Sfmc repository's README, as published. We do not edit it. Read it on GitHub

SFMC MCP Server

Conecte o Claude (ou qualquer client MCP) ao Salesforce Marketing Cloud. Explore Data Extensions, consulte registros e valide queries do Automation Studio antes de rodá-las.

O problema

Quem opera SFMC conhece a rotina: você escreve uma Query Activity, salva, roda a automação — e 30 minutos depois descobre que digitou EmailAdress em vez de EmailAddress. Ou que usou um ORDER BY, que o dialeto do Automation Studio não suporta. Ou que a coluna de saída não existe na DE de destino.

O feedback loop do SFMC é medido em dezenas de minutos. Este servidor MCP reduz para segundos.

O que ele faz

validate_sql em ação

Você: valide essa query pra mim

SELECT c.SubscriberKey, c.EmailAdress, c.LastPurchaseDate
FROM Customers_Master c
ORDER BY c.CreatedDate DESC
❌ INVÁLIDA — 3 erro(s) bloqueante(s).

1. ORDER BY não é suportado em Query Activities do SFMC. [linha ~3]
   → Se precisar de ranking, use ROW_NUMBER() OVER (ORDER BY ...) em subquery.

2. A coluna "EmailAdress" não existe na DE "Customers_Master".
   → Você quis dizer "EmailAddress"?

3. A coluna "LastPurchaseDate" não existe na DE "Customers_Master".
   → Campos disponíveis: SubscriberKey, EmailAddress, FirstName, Status, CreatedDate

O que ele detecta:

Regras do dialeto — ORDER BY, CTEs (WITH), MERGE, DML/DDL, variáveis (DECLARE @), temp tables (#temp), cursores, stored procedures, FULL OUTER JOIN, parênteses desbalanceados, SELECT * arriscado, GETDATE() em fuso do servidor.

Contra o schema real — DEs inexistentes, colunas inexistentes (com sugestão de correção via distância de edição), aliases não declarados, colunas de saída incompatíveis com a DE de destino, PK do destino ausente no SELECT (a falha silenciosa mais cara do SFMC).

Instalação

npx sfmc-mcp-server

Ou instalando localmente:

npm install -g sfmc-mcp-server

Configuração

1. Crie um Installed Package no SFMC

Setup → Apps → Installed Packages → New → Add Component → API Integration (Server-to-Server)

Permissões mínimas (somente leitura):

  • Data Extensions: Read
  • Automations: Read

Anote o Client ID, o Client Secret e o subdomínio (a parte antes de .auth.marketingcloudapis.com).

2. Configure o Claude Desktop

~/Library/Application Support/Claude/claudedesktopconfig.json (macOS) %APPDATA%\Claude\claudedesktopconfig.json (Windows)

{
  "mcpServers": {
    "sfmc": {
      "command": "npx",
      "args": ["-y", "sfmc-mcp-server"],
      "env": {
        "SFMC_SUBDOMAIN": "mcXXXXXXXXXXXXXXXXXXXXXX",
        "SFMC_CLIENT_ID": "seu_client_id",
        "SFMC_CLIENT_SECRET": "seu_client_secret",
        "SFMC_MODE": "read"
      }
    }
  }
}

Reinicie o Claude Desktop. Pronto.

Múltiplas Business Units

Uma entrada por BU, cada uma com seu SFMCACCOUNTID (o MID):

{
  "mcpServers": {
    "sfmc-varejo": {
      "command": "npx",
      "args": ["-y", "sfmc-mcp-server"],
      "env": { "SFMC_ACCOUNT_ID": "1234567", "...": "..." }
    },
    "sfmc-b2b": {
      "command": "npx",
      "args": ["-y", "sfmc-mcp-server"],
      "env": { "SFMC_ACCOUNT_ID": "7654321", "...": "..." }
    }
  }
}

Exemplos de uso

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Sfmc: common questions

Is Sfmc MCP server safe?
Mostly: it is graded B (78/100). Read the Sfmc safety report
How do I install Sfmc?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Sfmc need an API key?
Yes. The registry entry asks for SFMC_CLIENT_SECRET.
Is Sfmc maintained?
The last commit was 115 days ago (2026-07-12). The latest release is v0.2.1.
What can I use instead of Sfmc?
Servers from other publishers that do the same job: Sfcc Dev MCP server, Salesforce Cloud MCP server and Salesforce MCP server.
How does Sfmc compare with other Sales and outbound MCP servers?
safety score 78/100 (higher than 66% of 876 Sales and outbound servers); tools 3 (the typical Sales and outbound server has 8); tools that change things 0% (typical: 11%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Sfmc

Same job from other publishers: the closest match first, then the best rated.