{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Inefavel/sfmc-mcp-server",
  "slug": "io.github.inefavel.sfmc-mcp-server",
  "title": "sfmc-mcp-server",
  "summary": "MCP Server para Salesforce Marketing Cloud: valida queries do Automation Studio antes de rodar.",
  "version": "0.2.1",
  "serverKey": "sfmc-mcp-server",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.inefavel.sfmc-mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.inefavel.sfmc-mcp-server/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T08:12:33.498239944Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sfmc-mcp-server@0.2.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add sfmc-mcp-server -e 'SFMC_CLIENT_ID=<SFMC_CLIENT_ID>' -e 'SFMC_CLIENT_SECRET=<SFMC_CLIENT_SECRET>' -e 'SFMC_SUBDOMAIN=<SFMC_SUBDOMAIN>' -- npx -y sfmc-mcp-server@0.2.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"sfmc-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"sfmc-mcp-server@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SFMC_CLIENT_ID\": \"<SFMC_CLIENT_ID>\",\n        \"SFMC_CLIENT_SECRET\": \"<SFMC_CLIENT_SECRET>\",\n        \"SFMC_SUBDOMAIN\": \"<SFMC_SUBDOMAIN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"sfmc-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"sfmc-mcp-server@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SFMC_CLIENT_ID\": \"<SFMC_CLIENT_ID>\",\n        \"SFMC_CLIENT_SECRET\": \"<SFMC_CLIENT_SECRET>\",\n        \"SFMC_SUBDOMAIN\": \"<SFMC_SUBDOMAIN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"SFMC_CLIENT_ID\",\n      \"id\": \"sfmc-client-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SFMC_CLIENT_SECRET\",\n      \"id\": \"sfmc-client-secret\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SFMC_SUBDOMAIN\",\n      \"id\": \"sfmc-subdomain\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"sfmc-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"sfmc-mcp-server@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SFMC_CLIENT_ID\": \"${input:sfmc-client-id}\",\n        \"SFMC_CLIENT_SECRET\": \"${input:sfmc-client-secret}\",\n        \"SFMC_SUBDOMAIN\": \"${input:sfmc-subdomain}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.sfmc-mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"sfmc-mcp-server@0.2.1\"]\nenv = { \"SFMC_CLIENT_ID\" = \"<SFMC_CLIENT_ID>\", \"SFMC_CLIENT_SECRET\" = \"<SFMC_CLIENT_SECRET>\", \"SFMC_SUBDOMAIN\" = \"<SFMC_SUBDOMAIN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "SFMC_SUBDOMAIN",
      "required": true,
      "secret": false,
      "description": "Subdomínio da instância SFMC (a parte antes de .auth.marketingcloudapis.com)",
      "help": "Subdomínio da instância SFMC (a parte antes de .auth.marketingcloudapis.com)",
      "placeholder": "<SFMC_SUBDOMAIN>"
    },
    {
      "name": "SFMC_CLIENT_ID",
      "required": true,
      "secret": false,
      "description": "Client ID do Installed Package (API Integration Server-to-Server)",
      "help": "Client ID do Installed Package (API Integration Server-to-Server)",
      "placeholder": "<SFMC_CLIENT_ID>"
    },
    {
      "name": "SFMC_CLIENT_SECRET",
      "required": true,
      "secret": true,
      "description": "Client Secret do Installed Package",
      "help": "Client Secret do Installed Package",
      "placeholder": "<SFMC_CLIENT_SECRET>"
    },
    {
      "name": "SFMC_ACCOUNT_ID",
      "required": false,
      "secret": false,
      "description": "MID da Business Unit alvo (opcional; usa a BU padrão do package se omitido)",
      "help": "MID da Business Unit alvo (opcional; usa a BU padrão do package se omitido)",
      "placeholder": "<SFMC_ACCOUNT_ID>"
    },
    {
      "name": "SFMC_MODE",
      "required": false,
      "secret": false,
      "description": "Modo de operação: \"read\" (padrão) ou \"write\"",
      "help": "Modo de operação: \"read\" (padrão) ou \"write\"",
      "placeholder": "<SFMC_MODE>"
    }
  ],
  "expectedTools": [
    "list_data_extensions",
    "query_data_extension",
    "validate_sql"
  ],
  "agentSteps": [
    "Ask the user for: SFMC_SUBDOMAIN, SFMC_CLIENT_ID, SFMC_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_data_extensions, query_data_extension, validate_sql.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T08:12:33.498239944Z"
}
