mc-next-mcp-server
You can discover, inspect, and invoke Salesforce Marketing Cloud Next, Data 360, Data 360 Connect, and core Salesforce platform APIs via a compact MCP toolset.
Browse/search 445 API endpoints across 3 families and 44 resource groups.
Describe any endpoint’s method, base host, path/query params, body schema, and sample body.
Call catalog endpoints for query, read, create, update, delete, and non-CRUD actions (publish, clone, activate, etc.), including multipart file-upload actions.
Run Salesforce platform tools: SOQL queries and pagination, list/describe sObjects, generic REST requests, org limits.
Manage records: single-record CRUD, bulk create/update/delete up to 200 per call, and composite requests up to 25 subrequests.
Manage metadata via Tooling API: create/list/delete custom objects and custom fields (gated).
Maintain the server: inspect/clear/tune the response cache and poll long-running jobs.
Access MCP resources (
mcnext://catalog,mcnext://overview) and prompts (explore-mc-next,explore-salesforce-org).Operate with no credentials for catalog browsing/smoke test; use OAuth client-credentials or Salesforce CLI session for API calls.
Safety gates keep destructive operations and metadata changes disabled by default.
Provides integration with Salesforce Marketing Cloud Next, Data 360, and Data 360 Connect APIs, along with Salesforce platform tools for SOQL queries, object and record CRUD, metadata CRUD, and org limits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mc-next-mcp-server Show me the endpoints for creating an email in Marketing Cloud Next."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mc-next-mcp-server
An MCP (Model Context Protocol) server that exposes Salesforce Marketing Cloud Next, Data 360, and Data 360 Connect APIs, plus a set of Salesforce platform tools inspired by Salesforce Inspector Reloaded.
The endpoint catalog is generated from the official Salesforce Postman collections, so the tool surface stays in sync with the published API reference.
At a glance
445 API endpoints across 3 families and 44 resource groups, driven by a generated catalog
30 MCP tools — 8 catalog-driven, 6 platform, 8 record CRUD, 6 metadata CRUD, 2 maintenance
Two Salesforce hosts — core org (Marketing Cloud Next + platform) and Data 360 tenant
One OAuth token — client credentials, shared across every family
Two safety gates — destructive operations and schema changes are off by default
No credentials needed to browse the catalog or run the smoke test
Optional HTTP transport — off by default; stdio is the default and the safer mode
Quick Start
Get the server running and verified in about five minutes. No Salesforce org is required for steps 1–4 — the catalog tools work without credentials, so you can confirm the wiring before you set up authentication.
1. Clone and install
git clone https://github.com/supanmaniar/salesforce-mc-next-mcp.git
cd salesforce-mc-next-mcp
npm install2. Build
npm run build3. Verify — no credentials needed
npm run smokeThis connects to the built server over stdio as a real MCP client and asserts the
tool surface, both safety gates, and the validation paths. You should see
✔ smoke test complete — all assertions passed.
If this passes, the server is healthy and any remaining problem is configuration.
4. Try it without credentials
The server starts fine with no credentials — it warns on stderr and only fails when you make an API call. Point your MCP client at it and ask:
List the endpoints available for publishing an email.What API families and resource groups does the mc-next server cover?5. Add credentials
The server has two authentication modes. The default uses a Salesforce Connected App and is the right choice for anything shared or headless:
{
"env": {
"SF_CLIENT_ID": "your_connected_app_consumer_key",
"SF_CLIENT_SECRET": "your_connected_app_consumer_secret",
"MC_NEXT_API_BASE_URL": "https://my-org.my.salesforce.com/services/data/v66.0",
"DATA360_TENANT_URL": "https://my-tenant.c360a.salesforce.com",
"DATA360_CONNECT_BASE_URL": "https://my-tenant.c360a.salesforce.com/services/data/v66.0"
}
}Local development shortcut: if you have already run sf org login web, you can
skip the Connected App entirely and reuse that session:
{
"env": {
"SF_AUTH_MODE": "cli_session",
"SF_CLI_ORG": "me@example.com",
"MC_NEXT_API_BASE_URL": "https://my-org.my.salesforce.com/services/data/v66.0"
}
}What that shortcut costs. In
cli_sessionmode the server runs as you, with your full privileges, and its activity is not separately attributable in Setup. It is refused outright if combined with the HTTP transport. Read docs/AUTH-MODES.md before using it.
For a quick local test, a .env file works too:
cp .env.example .env
# edit .env, then:
node --env-file=.env dist/index.js6. Wire up your client
Client | Guide |
VS Code + GitHub Copilot | |
Claude Desktop | |
Connected App creation |
Safety default: destructive operations and schema changes are both off. The gates block the 63 destructive endpoints, but the server is not read-only — see SECURITY.md.
Where to go next
I want to… | Read |
Understand how the server is put together | |
See worked examples with real tool calls | |
Understand or regenerate the catalog | |
Deploy it (Docker, multi-org, monitoring) | |
Review the security model |
Related MCP server: MCP Salesforce Lite
Verification
What has been independently checked, and what has not. The distinction matters: everything below was run against a specific commit, and the last row states the one gap plainly.
Verified at commit 99e2419 (45 checks: 43 pass, 2 warnings, 0 failures).
Build and static gates
Check | Result |
| Pass |
| Pass, exit 0 |
| Pass, exit 0 |
| Pass, zero warnings |
| Pass |
| Pass — 445 endpoints, 44 groups, 63 destructive |
| Pass — 73/73 assertions |
GitHub Actions CI | Pass — last 5 runs green |
Catalog fidelity
The mc-next catalog was diffed against the source Postman collection:
Metric | Postman | Catalog | Delta |
Unique (method, path) pairs | 12 | 12 | 0 |
Endpoints | 27 | 27 | 0 |
Missing from catalog | — | — | 0 |
Present in catalog but not the collection | — | — | 0 |
A perfect 1:1 match — no invented endpoints and none dropped.
Protocol and live behaviour
Driven through a real MCP stdio client. Live API calls were exercised against a mock Salesforce (OAuth token, CMS, limits, and query endpoints) so the full transport path is covered without needing an org:
Check | Result |
Server starts over stdio; | Pass |
Resources ( | Pass |
Starts with no credentials; catalog still browsable | Pass |
| Pass |
| Pass |
Path-parameter substitution ( | Pass |
401 → force token refresh → retry succeeds | Pass |
Debug logs go to stderr only, never stdout | Pass |
The OAuth handshake was additionally tested against a real Salesforce org with invalid credentials, confirming the flow reaches Salesforce and returns an actionable error rather than a stack trace.
Safety gates
Gate | Result |
| Refused by default |
Catalog | Refused by default |
| Refused by the separate metadata gate |
Wrong HTTP verb, missing path parameter, unknown endpoint id | Rejected |
Unknown endpoint id suggests alternatives | Pass |
Input validation (bad types, | Rejected |
What is not verified
No live call has been made against a real Marketing Cloud Next or Data 360
tenant. That requires a Connected App with the Client Credentials Flow enabled
and the relevant scopes. Until then, treat the API-behaviour results above as
verified against mock transport, with OAuth reachability proven against a real
org. One screenshot of mcnext_query content.retrieve-all-workspaces returning a
real workspace list would close the gap.
Docker, the HTTP transport, and mcnext_poll_job have been code-reviewed and
covered by the smoke test, but not exercised end to end against a live tenant.
What it covers
API family | Endpoints | Source collection |
| 27 | Salesforce Marketing Cloud Next APIs |
| 35 | Salesforce Data 360 APIs |
| 383 | Salesforce Data 360 Connect APIs |
Total | 445 across 44 groups |
Plus Salesforce platform tools: SOQL query, object list/describe, generic REST explorer, org limits, and full record + object CRUD.
How it works across Salesforce products
The server spans two different Salesforce hosts, which is the single most important thing to understand about it. Marketing Cloud Next lives on your core org; Data 360 lives on a separate tenant host.
┌──────────────────────────────────────┐
one OAuth token ───► │ login.salesforce.com │
shared by every │ SF_LOGIN_URL │
API family │ POST /services/oauth2/token │
└──────────────────────────────────────┘
│
┌───────────────────────────────┴───────────────────────────────┐
│ │
▼ ▼
┌──────────────────────────┐ ┌──────────────────────────────────┐
│ CORE ORG HOST │ │ DATA 360 TENANT HOST │
│ my-org.my.salesforce.com│ │ my-tenant.c360a.salesforce.com │
│ │ │ │
│ MC_NEXT_API_BASE_URL │ │ DATA360_TENANT_URL │
│ SF_INSTANCE_URL │ │ DATA360_CONNECT_BASE_URL │
│ │ │ │
│ ┌────────────────────┐ │ │ ┌────────────────────────────┐ │
│ │ mc-next (27) │ │ │ │ data360 (35) │ │
│ │ Content / CMS │ │ │ │ Query, Profile, Ingestion, │ │
│ │ │ │ │ │ Metadata, Data Graphs │ │
│ ├────────────────────┤ │ │ ├────────────────────────────┤ │
│ │ sf_* platform │ │ │ │ data360-connect (383) │ │
│ │ SOQL, describe, │ │ │ │ Activations, Segments, │ │
│ │ REST, limits │ │ │ │ Streams, Connections, ML, │ │
│ ├────────────────────┤ │ │ │ Governance, Clean Rooms… │ │
│ │ sf_* record CRUD │ │ │ └────────────────────────────┘ │
│ │ sf_* metadata CRUD │ │ │ │
│ └────────────────────┘ │ │ │
└──────────────────────────┘ └──────────────────────────────────┘The platform and CRUD tools only ever talk to the core org host. The catalog-driven mcnext_* tools pick their host per endpoint, based on the endpoint's base key.
Product-by-product coverage
Salesforce product | Host | Endpoints | What you can do |
Marketing Cloud Next (Content / CMS) | Core org | 27 | Search content, manage workspaces, create/update/publish/clone emails and email templates |
Data 360 — Query & Insights | Tenant | 8 | Query API V1 & V2, Query Unified Record ID, Calculated Insights |
Data 360 — Profile, Ingestion, Metadata & Auth | Tenant | 27 | Profile API, Ingestion API (incl. CSV bulk upload), Metadata API, Data Graph API, Auth |
Data 360 Connect — Activation | Tenant | 59 | Activations, Activation Platforms/Targets, External Platforms, Data Actions |
Data 360 Connect — Data | Tenant | 99 | Data Streams, Data Lake/Model Objects, Data Spaces, Data Graphs, Data Transforms, Data Kits, Data Shares, Connections |
Data 360 Connect — Identity & Segments | Tenant | 32 | Identity Resolutions, Universal ID Lookup, Segments, Profile, Search Index, Insights |
Data 360 Connect — AI & Governance | Tenant | 164 | Machine Learning, Document AI, Notebook AI, Agent Configuration, Data Governance, Clean Rooms |
Data 360 Connect — Platform | Tenant | 29 | Metadata, Query (Current), Query V1 & V2, Auth, Limits, Private Network Routes, Connectors, Calculated Insights |
Salesforce Platform (any org) | Core org | n/a | SOQL, object describe, REST explorer, org limits, record CRUD, custom object/field CRUD |
How a request flows
Discover —
mcnext_list_endpointsfilters the catalog by family/group/kind/search.Describe —
mcnext_describe_endpointreturns the resolved base URL, path params, query params, and body schema.Invoke — the verb tool (
mcnext_query/read/create/update/delete/action) resolves the endpoint'sbasekey to the right host and sends the request.Authenticate — one cached OAuth token is shared by every family; a 401 triggers a single transparent re-auth and retry.
The platform and CRUD tools bypass the catalog entirely and call /services/data/vXX/... directly on SF_INSTANCE_URL.
Limitations
These are the honest boundaries of the current implementation.
Authentication
Two modes, one at a time.
SF_AUTH_MODE=oauth_client_credentials(default) uses the OAuth 2.0 client-credentials flow.SF_AUTH_MODE=cli_sessionreuses the Salesforce CLI's stored session. There is no JWT bearer flow, no username/password flow, and no interactive/browser login. See docs/AUTH-MODES.md.cli_sessionruns with your privileges. In that mode all calls run as the CLI user, with their full access and no separate audit identity. It is refused if combined with the HTTP transport, and is intended for local stdio development only.One identity for everything. All calls run as a single identity — the Connected App's integration user, or (in
cli_sessionmode) the CLI user. There is no per-user or per-request impersonation, so Salesforce sharing rules and field-level security apply to that one identity.One org per server instance. The base URLs are fixed at startup from environment variables. Pointing at a second org or tenant requires a second server instance.
No token persistence. Tokens are cached in memory only and re-fetched on restart.
Token source is resolved per request, not pinned. In
cli_sessionmode the server re-reads the CLI every 10 minutes and after any401, so a renewed CLI session is picked up without a restart.
API surface
Catalog-driven coverage only. The 445 endpoints come from the three Postman collections. Anything not in those collections is reachable only through
sf_rest_request(core org) — there is no equivalent generic passthrough for the Data 360 tenant hosts.No GraphQL. The Salesforce GraphQL API is not covered.
No SOAP. The Partner/WSDL-based SOAP API is not covered. This matters for one specific case: Inspector's Data Import uses SOAP to set assignment rules, duplicate rules, and owner-change options on inserts. Those options are not available here.
No Bulk API 2.0. The
/jobs/ingestand/jobs/queryendpoints are not in the catalog. Bulk record work uses the Composite API instead, which caps at 200 records per call — fine for hundreds of records, not for millions.No Metadata API deploy/retrieve. There is no
package.xmlgeneration, no retrieve/deploy jobs, and no destructive-changes deployment. Custom object and field creation goes through the Tooling API instead, which is a different mechanism with different limits.No Tooling API passthrough for arbitrary metadata.
sf_soql_queryandsf_describe_objectaccept atooling: trueflag, and the metadata CRUD tools use Tooling endpoints, but there is no general "call any Tooling endpoint" tool.No file uploads. No endpoint in the catalog uses
multipart/form-data, so the form-data code path is currently unexercised. The Ingestion API's CSV upload is sent as a rawtext/csvbody, not as a file part.
Features deliberately not ported
These Inspector features were left out because they depend on a browser session or a UI, not because they were overlooked:
Inspector feature | Why it's absent |
Data Export / Data Import UI | Browser UI over SOQL/SOAP; the underlying query and CRUD capability is available via |
Debug Logs viewer | Needs log streaming and a viewer; |
Event Monitor | Requires a long-lived CometD/streaming subscription, which does not fit a request/response MCP tool |
Flow Scanner / Object Scanner / Dependencies Explorer | Rule engines over metadata; would need the Metadata API and a rules port |
Field Creator UI | The capability is ported ( |
Org Limits UI | Ported as |
REST Explorer UI | Ported as |
Operational
No caching of API responses. Every tool call hits Salesforce. Repeated
sf_describe_objectcalls cost API requests.No rate-limit coordination. Retries use exponential backoff on 429/5xx, but the server does not track or budget the org's daily API allowance. Check
sf_org_limitsbefore bulk work.No pagination helper for the catalog tools.
mcnext_queryreturns whatever the API returns; followingnextPageToken-style cursors is the caller's responsibility. Only SOQL has a dedicated pagination tool (sf_soql_query_more).Asynchronous metadata changes.
sf_create_custom_objectandsf_create_custom_fieldreturn as soon as the Tooling API accepts the request. The object or field may take seconds to become visible; re-check withsf_list_objects/sf_describe_object.No write confirmation or dry-run mode. Tools execute immediately once the safety gates are open. There is no preview step.
stdio transport only. No HTTP/SSE transport, so the server cannot be hosted as a shared remote service.
No automated tests against a real org. The smoke test asserts the tool surface, safety guards, and validation logic without credentials. End-to-end behaviour against a live Salesforce org is unverified.
Design: why 30 tools instead of 445
Exposing 445 individual MCP tools would bloat the model's context and hurt tool-selection accuracy. Instead the server exposes a small set of generic, catalog-driven tools. The model discovers endpoints, then invokes them:
mcnext_list_endpoints -> mcnext_describe_endpoint -> mcnext_query / read / create / update / delete / actionTools
Catalog-driven (Marketing Cloud Next / Data 360)
Tool | Purpose |
| Browse/search the 445 endpoints by family, group, kind, method, or free text |
| Full contract for one endpoint: path params, query params, body schema, sample body |
| GET a collection (kind |
| GET a single record (kind |
| POST a new record (kind |
| PATCH/PUT a record (kind |
| DELETE a record (kind |
| Non-CRUD operations: publish, clone, activate, run, search, resolve, … — some gated |
Salesforce platform (Inspector-style)
Tool | Purpose |
| Run SOQL (data or Tooling API) |
| Paginate via |
| Global describe — list sObjects |
| Field-level metadata for an sObject |
| Generic REST explorer for any |
| Org limits and current API usage |
Record CRUD — ported from Inspector's Inspect page and batch patterns
Tool | Purpose |
| Create one record ( |
| Read one record by Id, optionally field-limited |
| Update one record ( |
| Delete one record — gated |
| Create up to 200 records per call ( |
| Update up to 200 records per call ( |
| Delete up to 200 records per call — gated |
| Batched mixed subrequests ( |
Object & field metadata CRUD — ported from Inspector's Field Creator
Tool | Purpose |
| Create a custom object (Tooling API |
| Create a custom field, with optional field-level security — gated |
| Delete a custom field by Tooling Id — gated |
| Delete a custom object by Tooling Id — gated |
| List custom objects with their Tooling Ids |
| List custom fields with their Tooling Ids |
Maintenance
Tool | Purpose |
| Inspect, clear, or re-tune the response cache ( |
| Poll a long-running job to completion; read-only ( |
Resources & prompts
Resources:
mcnext://catalog(full catalog),mcnext://overview(auth model, bases, stats)Prompts:
explore-mc-next,explore-salesforce-org
Documentation
Guide | What it covers |
Prerequisites, | |
Config file locations, | |
Creating the Connected App, scope → capability mapping, secrets, rotation | |
Connected App vs CLI session, the privilege trade-off, and why one combination is refused | |
stdio model, env var management, multi-org, logging, monitoring | |
Image build, client integration, why | |
Tool taxonomy, request flow, token caching, the two-host model | |
Worked tool calls and error-handling patterns | |
Catalog provenance, regeneration, validation | |
Optional network transport, auth, and its identity limitation | |
Polling long-running jobs with | |
Response caching, TTL tuning, reducing API consumption | |
Threat model, what is and isn't protected, safety-gate gaps, disclosure | |
What's planned near-, medium-, and long-term, and how to influence it |
Not read-only by default. The safety gates block the 63 destructive endpoints, but the other 382 — including 180 create/update/action endpoints — are allowed. See SECURITY.md.
Install
From a git clone (recommended)
git clone https://github.com/supanmaniar/salesforce-mc-next-mcp.git
cd salesforce-mc-next-mcp
npm install
npm run buildcatalog/endpoints.json is committed, so npm run generate is optional — and it
cannot run without the source Postman collections, which are not in this repo.
From npm
npm install -g mc-next-mcp-serverOr run it without installing:
npx mc-next-mcp-serverThis installs the compiled dist/ and the generated catalog/. You still need a
Salesforce Connected App and the environment variables described in
Configure.
Not yet published. The package is prepared for publishing but has not been released to the npm registry yet. Until then, use the git clone above. See Publishing for the maintainer checklist.
With Docker
docker build -t mc-next-mcp-server:1.0.0 .
docker run --rm -i --env-file .env mc-next-mcp-server:1.0.0The -i flag is required — the server is stdio-only. See
Docker deployment.
Publishing
Maintainers only. The prepublishOnly hook runs the build and the catalog audit
before anything is uploaded, so a broken or truncated catalog cannot be published.
npm login # if not already authenticated
npm run prepublishOnly # build + audit — exactly what the hook runs
npm pack --dry-run # inspect the contents
npm publish # publishConfig sets access: publicprepublishOnly deliberately does not run npm run generate: regeneration
requires the source Postman collections, which are not in this repository, so it
would fail on a clean checkout.
Configure
Copy .env.example to .env and fill in your values. The server reads configuration from the process environment — it does not auto-load .env files. Use your MCP client's env block, or run with node --env-file=.env dist/index.js.
Required
Variable | Description |
| Connected App consumer key |
| Connected App consumer secret |
| MC Next base incl. |
| Data 360 tenant URL (c360a host) |
| Data 360 Connect base incl. |
Optional
Variable | Default | Description |
|
| OAuth token host (use |
| origin of | Instance URL for the platform tools |
|
| API version for platform tools |
|
| Request timeout |
|
| Retries for 429 / 5xx |
|
| Allow DELETE and destructive actions |
|
| Allow custom object/field creation and deletion |
|
| Log HTTP requests to stderr |
|
| Response cache TTL for GETs. |
|
| Max cached responses (LRU eviction) |
|
| Default delay between |
|
| Default polling time budget |
|
| Enable the HTTP transport (see HTTP deployment) |
|
| HTTP listen port |
|
| HTTP bind host. Non-loopback requires an auth token |
| (unset) | Bearer token. Required for any non-loopback bind |
| (unset) | Comma-separated allowed |
Authentication
All three API families are reached with a single OAuth 2.0 client-credentials token.
Note on the source collections. The Marketing Cloud Next collection already uses the client-credentials grant. The two Data 360 collections use the OAuth 2.0 implicit grant, which is browser-only and cannot be used by a server. This server converts them to client-credentials, which requires a Connected App with the relevant scopes enabled.
Create a Connected App in Salesforce Setup with OAuth enabled, the client-credentials flow permitted, and the scopes you need:
sfdc_cms_api— Marketing Cloud Next (Content/CMS)cdp_query_api— Data 360 querycdp_profile_api— Data 360 profilecdp_ingest_api— Data 360 ingestion
Safety
There are two independent gates, because deleting a data row and changing org schema carry very different risk.
MC_NEXT_ALLOW_DESTRUCTIVE (default false)
Blocks operations that destroy data:
every
DELETEendpoint in the catalog (45 of them)destructive catalog actions such as delete, remove, purge, cancel, deactivate, revoke, unpublish
sf_delete_record,sf_bulk_delete_recordsDELETEviasf_rest_requestorsf_composite
MC_NEXT_ALLOW_METADATA_CHANGES (default false)
Blocks operations that change org schema:
sf_create_custom_object,sf_delete_custom_objectsf_create_custom_field,sf_delete_custom_field
Metadata changes are gated separately because they are materially harder to reverse than a record delete — removing a custom field destroys its data, and removing an object destroys all of its records.
Both flags must be set explicitly; neither is implied by the other.
These gates do not make the server read-only. They block the 63 destructive endpoints and the tools listed above. The remaining 382 endpoints — including 103
create, 45update, and 32actionoperations — are allowed by default.sf_rest_requestalso permits arbitraryPOST/PATCH/PUT; onlyDELETEis gated. See SECURITY.md for the full picture and the recommended posture per environment.
Use with an MCP client
The example below uses the Claude Desktop shape (mcpServers). VS Code uses
the key servers and requires "type": "stdio" — see
VS-CODE-SETUP.md for the exact format, and
CLAUDE-DESKTOP-SETUP.md for config file locations.
{
"mcpServers": {
"mc-next": {
"command": "node",
"args": ["/absolute/path/to/mc-next-mcp-server/dist/index.js"],
"env": {
"SF_CLIENT_ID": "...",
"SF_CLIENT_SECRET": "...",
"MC_NEXT_API_BASE_URL": "https://my-org.my.salesforce.com/services/data/v66.0",
"DATA360_TENANT_URL": "https://my-tenant.c360a.salesforce.com",
"DATA360_CONNECT_BASE_URL": "https://my-tenant.c360a.salesforce.com/services/data/v66.0"
}
}
}
}Development
npm run generate # regenerate catalog/endpoints.json from the Postman collections
npm run build # tsc -> dist/
npm run typecheck # tsc --noEmit
npm run dev # tsc --watch
npm run smoke # end-to-end MCP client test (no credentials needed)
npm run audit # catalog fidelity checks
npm run lint # ESLint
npm run format # PrettierA pre-commit hook runs ESLint and Prettier on staged files. CI runs all of the above plus a dependency audit on Node 18, 20, and 22.
See CONTRIBUTING.md for the catalog regeneration workflow, code standards, and the commit message format. For running the server in Docker, on multiple orgs, or with debug logging, see DEPLOYMENT-GUIDE.md.
Scripts
Script | Purpose |
| Postman collections → |
| Fidelity checks on the generated catalog |
| Diagnose raw request bodies in the source collections |
| Connects over stdio and asserts the tool surface |
Never hand-edit
catalog/endpoints.json— regenerate it withnpm run generate.
Catalog notes
No
requiredarrays in body schemas. The Postman collections only provide sample bodies, so every property appears present. Marking them all required would be wrong, especially for PATCH endpoints. Schemas describe shape and types, not obligations.Empty raw bodies are normalized to "no body". Many GET/DELETE requests declare
mode: rawwith an empty string; that means no body, not an empty JSON body.Non-JSON bodies are typed explicitly. The Ingestion API's bulk upload is CSV and is passed through verbatim with
Content-Type: text/csv.Postman variable placeholders are stripped.
{{nextPageToken}}-style values are not real defaults.
License
MIT
Available Tools
28 toolsmcnext_actionRun a Marketing Cloud Next / Data 360 actionA
Invoke a non-CRUD operation (kind "action"): publish, unpublish, clone, activate, deactivate, run, execute, refresh, validate, search, query, resolve, merge, and similar. Some actions are destructive (delete/remove/cancel/deactivate) and are blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true. For file-upload endpoints, pass formData with an absolute file path for the "file" field.
Inputs: endpointId (required), body, query, headers, +2 more.
mcnext_createCreate a Marketing Cloud Next / Data 360 recordA
Create a record (POST, kind "create"). Pass the JSON payload in body. Use mcnext_describe_endpoint to see the expected body schema and sample.
Inputs: endpointId (required), body, query, headers.
mcnext_deleteDelete a Marketing Cloud Next / Data 360 recordA
Delete a record (DELETE, kind "delete"). Requires the path parameter. This is destructive and is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true.
Inputs: endpointId (required), query, headers, pathParams.
mcnext_describe_endpointDescribe a Marketing Cloud Next / Data 360 endpointA
Get the full contract for one endpoint: HTTP method, base URL family, path, path params, query params, request body JSON schema, and a sample body. Call this before invoking an endpoint.
Inputs: endpointId (required).
mcnext_list_endpointsList Marketing Cloud Next / Data 360 API endpointsA
Browse the 445 endpoints across 3 API families (mc-next: 27, data360: 35, data360-connect: 383) and 44 resource groups. Use this first to discover the endpoint id you need. Filter by family, group, kind, method, or a free-text search.
Inputs: kind, group, limit, family, +3 more.
mcnext_queryQuery Marketing Cloud Next / Data 360 recordsB
List/filter records from a collection endpoint (GET, kind "query"). Supports pagination and filters such as pageSize, offset, orderBy, and family-specific filters.
Inputs: endpointId (required), query, headers.
mcnext_readRead a Marketing Cloud Next / Data 360 recordA
Fetch a single record by id or key (GET, kind "read"). Requires the path parameter.
Inputs: endpointId (required), query, headers, pathParams.
mcnext_updateUpdate a Marketing Cloud Next / Data 360 recordA
Update a record (PATCH or PUT, kind "update"). Requires the path parameter and a JSON body. For PATCH, include only the fields to change.
Inputs: endpointId (required), body, query, headers, +1 more.
sf_bulk_create_recordsBulk create Salesforce recordsA
Create up to 200 records in one call (POST /composite/sobjects). Each record is a field map. Set allOrNone to true to roll back the whole batch if any record fails. Larger inputs are split into multiple calls automatically.
Inputs: records (required), sobject (required), allOrNone.
sf_bulk_delete_recordsBulk delete Salesforce recordsA
Delete up to 200 records per call (DELETE /composite/sobjects?ids=...). This is destructive and is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true. Larger inputs are split into multiple calls automatically.
Inputs: ids (required), sobject (required), allOrNone.
sf_bulk_update_recordsBulk update Salesforce recordsA
Update up to 200 records in one call (PATCH /composite/sobjects). Each record must include its Id plus the fields to change. Larger inputs are split into multiple calls automatically.
Inputs: records (required), sobject (required), allOrNone.
sf_compositeRun a Salesforce Composite requestA
Execute up to 25 subrequests in one API call (POST /composite), like Inspector's Composite usage. Subrequests can reference earlier results with "@{referenceId.field}". Useful for multi-step operations that must stay within one API call.
Inputs: compositeRequest (required), allOrNone.
sf_create_custom_fieldCreate a custom fieldA
Create a custom field on an object via the Tooling API (POST /tooling/sobjects/CustomField), mirroring Inspector's Field Creator. Optionally grants field-level security to profiles/permission sets. Gated behind MC_NEXT_ALLOW_METADATA_CHANGES=true.
Inputs: name (required), type (required), label (required), sobject (required), +14 more.
sf_create_custom_objectCreate a custom objectA
Create a custom object via the Tooling API (POST /tooling/sobjects/CustomObject). The API name is derived from label (or name) with a "__c" suffix. A Name field is created automatically unless you pass nameFieldType: "AutoNumber". Gated behind MC_NEXT_ALLOW_METADATA_CHANGES=true.
Inputs: label (required), name, description, pluralLabel, +5 more.
sf_create_recordCreate a Salesforce recordA
Create a single sObject record (POST /sobjects/{SObject}). Returns the new record Id. Use sf_describe_object first to check which fields are createable and required.
Inputs: fields (required), sobject (required), tooling.
sf_delete_custom_fieldDelete a custom fieldA
Delete a custom field via the Tooling API (DELETE /tooling/sobjects/CustomField/{id}). Requires the field's Tooling API Id — find it with sf_list_custom_fields. Gated behind MC_NEXT_ALLOW_METADATA_CHANGES=true.
Inputs: fieldId (required).
sf_delete_custom_objectDelete a custom objectA
Delete a custom object via the Tooling API (DELETE /tooling/sobjects/CustomObject/{id}). Requires the object's Tooling API Id — find it with sf_list_custom_objects. This removes the object and its data. Gated behind MC_NEXT_ALLOW_METADATA_CHANGES=true.
Inputs: objectId (required).
sf_delete_recordDelete a Salesforce recordA
Delete a single record (DELETE /sobjects/{SObject}/{id}). This is destructive and is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true.
Inputs: id (required), sobject (required), tooling.
sf_describe_objectDescribe a Salesforce objectA
Get field-level metadata for an sObject: field names, types, labels, picklist values, and whether each field is required/createable/updateable. Essential before writing SOQL or building a record payload.
Inputs: sobject (required), tooling, includePicklists.
sf_get_recordGet a Salesforce recordA
Fetch a single record by Id (GET /sobjects/{SObject}/{id}). Optionally restrict the returned fields with fields to keep the response small.
Inputs: id (required), sobject (required), fields, tooling.
sf_list_custom_fieldsList custom fieldsA
List custom fields with their Tooling API Ids (via a Tooling API SOQL query on CustomField). Use the returned Id with sf_delete_custom_field.
Inputs: limit, search, sobject.
sf_list_custom_objectsList custom objectsA
List custom objects in the org with their Tooling API Ids (via a Tooling API SOQL query on CustomObject). Use the returned Id with sf_delete_custom_object.
Inputs: limit, search.
sf_list_objectsList Salesforce objectsA
List the sObjects in the org (global describe). Returns each object's name, label, and key prefix. Use sf_describe_object for field-level detail.
Inputs: search, tooling.
sf_org_limitsGet Salesforce org limitsA
Read the org's governor limits and current usage (/limits), including DailyApiRequests, DataStorageMB, and FileStorageMB. Useful for checking remaining API quota before bulk work.
Inputs: filter.
sf_rest_requestCall any Salesforce REST endpointA
Generic REST explorer (like Salesforce Inspector's REST Explorer). Call any path under /services/data/vXX with any method. Paths may be relative (e.g. "/sobjects/Account/describe") or absolute (e.g. "/services/data/v66.0/limits"). Use this for endpoints not covered by the other tools.
Inputs: path (required), method (required), body, headers.
sf_soql_queryRun a SOQL queryA
Execute a SOQL query against the org (Salesforce REST /query). Returns records plus done and nextRecordsUrl for pagination. Use sf_soql_query_more to fetch the next page. Example: SELECT Id, Name FROM Account LIMIT 10
Inputs: soql (required), tooling.
sf_soql_query_moreFetch the next page of a SOQL queryA
Fetch the next page of results using the nextRecordsUrl returned by sf_soql_query.
Inputs: nextRecordsUrl (required).
sf_update_recordUpdate a Salesforce recordA
Update a single record (PATCH /sobjects/{SObject}/{id}). Pass only the fields you want to change. Returns 204 No Content on success.
Inputs: id (required), fields (required), sobject (required), tooling.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
The mcnext_* CRUD tools and the sf_* record tools cover the same conceptual operations (create/read/update/delete/query) on different API families, so an agent could initially select the wrong one. The descriptions and naming prefixes clarify the distinction, but the overlap is real and requires careful reading.
Most tools follow a clear prefix + verb + noun pattern (mcnext_query, sf_create_record, sf_bulk_delete_records). The main inconsistency is the use of read/get and query/soql_query across the two prefixes, plus mcnext_ vs sf_ as competing prefixes, but the overall style is uniform snake_case and predictable.
28 tools is on the heavy side, and the server covers two fairly large domains (Salesforce operations and mc-next endpoint access). While most tools have a specific purpose, several could be consolidated or omitted without losing much capability.
The set covers CRUD, bulk operations, query/pagination, schema discovery, org limits, composite requests, and custom object/field lifecycle for Salesforce, plus generic endpoint browsing for mc-next. Minor gaps exist (e.g., no metadata update tools for custom objects/fields), but the generic REST and composite tools can fill most holes.
Maintenance
Related MCP Connectors
Plan Salesforce deploys, open pull requests and trigger pipelines from your AI client.
Connect assistants to your workspace knowledge, skills, and work tools.
Discover, plan and run tools across your connected business systems through one OAuth MCP endpoint
One place to build, share, and govern the skills and tools your AI agents use at work.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Salesforce organizations through natural language by exposing Salesforce APIs (REST, Bulk v2, GraphQL, Tooling, Auth) as MCP tools for querying data, managing records, and executing SOQL queries.19MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to securely interact with Salesforce CRM data through SOQL queries, CRUD operations, and metadata exploration. Supports connecting to Salesforce objects like Accounts, Contacts, and Opportunities via OAuth 2.0 authentication.82MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with Salesforce through a secure interface for performing CRUD operations, executing SOQL queries, and managing schema discovery. It features a smart learning system that analyzes custom objects and fields to provide intelligent assistance tailored to specific Salesforce configurations.1423 npm17BSD 2-Clause "Simplified"
- FlicenseAqualityDmaintenanceEnables AI assistants to interact with Salesforce data by listing objects, describing fields, and executing SOQL queries.4-