Server Sfmc MCP Server

MCP server providing Salesforce Marketing Cloud language intelligence - AMPscript, SSJS, GTL, and Marketing Cloud Next (MCN) Handlebars - as Model Context Protocol tools, resources, and prompts for AI-assisted development and code review. Ships two searchable doc indexes: MCE help (Salesforce Help for Marketing Cloud Engagement administration and setup) and MCN developer docs (Marketing Cloud Next REST API and…. Its 27 documented tools cover handlebars, validate, ampscript, ssjs.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-20 · ★ 5 · #63 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

JavaScript servers · how we verify → /methodology

01 · Install Server Sfmc

Claude Code

claude mcp add joernberkefeld-mcp-server-sfmc -- npx -y mcp-server-sfmc

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "joernberkefeld-mcp-server-sfmc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-sfmc"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license no standard license detected - usage rights unclear; check the repo before commercial use

npm package mcp-server-sfmc - unscoped; check the name against the project README before installing

registry namespace io.github.JoernBerkefeld is GitHub-verified and matches the repo owner

03 · What Server Sfmc can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can list all AMPscript functions, optionally filtered by platform: 'next' to return only MCN-supported functions, generate fix suggestions for each diagnostic in a code snippet. target: 'next' includes MCN fixes, list valid completions at a given cursor position, and detect the target platform for a project - checks .mcdevrc.json (→ "engagement") or sfdx-project.json (→ "next").

Capability map

Tools grouped from the project's README - what Server Sfmc lets an agent do.

Validate

4 tools - e.g. Validate AMPscript code - unknown functions, arity, delimiter balance, comment syntax. target: 'next' flags MCN-incompatible functions.; Validate SSJS - ES6+ usage, missing Platform.Load, wrong API calls.…

validate_ampscript · validate_ssjs · validate_sfmc_html · validate_handlebars

Handlebars

4 tools - e.g. Signature, parameters, description, origin, and MCN API version for a single MCN Handlebars helper (case-insensitive).; List all MCN Handlebars helpers, optionally filtered by category and/or origin…

lookup_handlebars_helper · list_handlebars_helpers · get_handlebars_completions · write_handlebars

Ampscript

3 tools - e.g. Full signature, parameters, return type, MCN compatibility badge (API version), behavioral notes for MCN, and examples; List all AMPscript functions, optionally filtered by platform: 'next' to return only…

lookup_ampscript_function · list_ampscript_functions · get_ampscript_completions

read & search

3 tools - e.g. Unified help search - auto-detects the platform from projectRoot and routes to the right doc index. MCN projects search both the developer API reference and MCN; Search bundled Marketing Cloud Engagement…

search_help · search_mce_help · search_mcn_help

Ssjs

2 tools - e.g. Full signature and description for any SSJS Platform function or method; List SSJS Platform API completions, optionally filtered by prefix; redirects to AMPscript completions when target: 'next'

lookup_ssjs_function · get_ssjs_completions

Review

1 tool - e.g. Review a unified diff - validates only added lines, maps back to diff line numbers

review_change

Suggest

1 tool - e.g. Generate fix suggestions for each diagnostic in a code snippet. target: 'next' includes MCN fixes.

suggest_fix

Format

1 tool - e.g. Apply basic formatting conventions (keyword casing, quote normalisation)

format_sfmc_code

Latest releases

v2.9.0 · 2026-08-18

## mcp-server-sfmc v2.9.0 · Changed · Bumped data-package dependencies to the split-refactor major releases: · - mpscript-data ^4.0.0 · - handlebars-data ^0.4.0 · - ssjs-data ^2.0.0 · Bumped sfmc-language-lsp to…

v2.8.2 · 2026-08-13

Bump ssjs-data from 1.6.0 to 1.7.0 (generated sfmc-globals.d.ts now marks nonFunctionalAtRuntime methods @deprecated). · Bump sfmc-language-lsp from 3.15.0 to 3.16.0 (completions strike through nonFunctionalAtRuntime…

v2.8.1 · 2026-08-12

Bump ampscript-data from ^3.4.0 to ^3.5.0 (adds the nonFunctionalFunctionLookup export). · Bump sfmc-language-lsp from ^3.14.0 to ^3.15.0 (AMPscript nonFunctionalAtRuntime hover + diagnostic). · Conversion-map…

04 · Who maintains Server Sfmc

mcp-server-sfmc is maintained by joernberkefeld. We track 2 MCP servers from joernberkefeld - 2 actively maintained, 6 combined GitHub stars, oldest repo from Apr 2026.

05 · Facts

category
other - ranked #63 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-18)
registry
io.github.JoernBerkefeld/mcp-server-sfmc (active, first published 2026-04-06 · 45 versions)
packages
npm:mcp-server-sfmc

06 · Server Sfmc FAQ

Is Server Sfmc still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-20 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Server Sfmc do?

With this server connected, an agent can list all AMPscript functions, optionally filtered by platform: 'next' to return only MCN-supported functions, generate fix suggestions for each diagnostic in a code snippet. target: 'next' includes MCN fixes, list valid completions at a given cursor position, and detect the target platform for a project - checks .mcdevrc.json (→ "engagement") or sfdx-project.json (→ "next").

How do I install Server Sfmc?

Run `npx -y mcp-server-sfmc`. You can also paste the ready-made client config above.

Does Server Sfmc run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Server Sfmc