Sfmc MCP Server
by inefavelio.github.Inefavel/sfmc-mcp-serverv0.2.1
MCP Server para Salesforce Marketing Cloud: valida queries do Automation Studio antes de rodar.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Sfmc MCP server
Install in Claude Code
claude mcp add sfmc -e SFMC_SUBDOMAIN='<sfmc-subdomain>' -e SFMC_CLIENT_ID='<sfmc-client-id>' -e SFMC_CLIENT_SECRET='<sfmc-client-secret>' -- npx -y sfmc-mcp-serverInstall in Cursor
{
"mcpServers": {
"sfmc": {
"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 (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"sfmc": {
"command": "npx",
"args": [
"-y",
"sfmc-mcp-server"
],
"env": {
"SFMC_SUBDOMAIN": "<sfmc-subdomain>",
"SFMC_CLIENT_ID": "<sfmc-client-id>",
"SFMC_CLIENT_SECRET": "<sfmc-client-secret>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"sfmc": {
"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 .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"sfmc": {
"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.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SFMC_SUBDOMAIN | yes | — | Subdomínio da instância SFMC (a parte antes de .auth.marketingcloudapis.com) |
| SFMC_CLIENT_ID | yes | — | Client ID do Installed Package (API Integration Server-to-Server) |
| SFMC_CLIENT_SECRET | yes | yes | Client Secret do Installed Package |
| SFMC_ACCOUNT_ID | — | — | MID da Business Unit alvo (opcional; usa a BU padrão do package se omitido) |
| SFMC_MODE | — | — | Modo de operação: "read" (padrão) ou "write" |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-12 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-12 · 3mo ago · official registry · v0.2.1
FAQ
›How do I install the Sfmc MCP server in Claude Code?
Run: claude mcp add sfmc -e SFMC_SUBDOMAIN='<sfmc-subdomain>' -e SFMC_CLIENT_ID='<sfmc-client-id>' -e SFMC_CLIENT_SECRET='<sfmc-client-secret>' -- npx -y sfmc-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Sfmc require an API key?
Yes. It expects SFMC_SUBDOMAIN, SFMC_CLIENT_ID, SFMC_CLIENT_SECRET, of which 1 is a secret.
›Can I use Sfmc as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Sfmc in the official MCP registry?
Yes, as io.github.Inefavel/sfmc-mcp-server.
Alternatives to Sfmc
Other crm & marketing MCP servers.