Releases: semwalajay83-sem/salesforce-metadata-mcp
Releases · semwalajay83-sem/salesforce-metadata-mcp
Release list
v3.0.0
Full Changelog: v2.12.0...v3.0.0
v2.8.7
v2.8.7
This is the first GitHub Release for this repo, so it covers everything shipped in git since npm's last published version (v2.8.0) — 7 patch releases and 42+ real bugs found and fixed by testing against a live org, not just code review.
Added
sf_create_external_client_app— Salesforce's newer replacement for Connected Apps. Unlikesf_create_connected_app, its Client Credentials Flow "Run As" user (clientCredentialsFlowUser) is settable via the Metadata API, verified live — on a classic Connected App that same setting is Setup-UI-only. Tool count: 222.
Fixed
sf_create_connected_appcould never successfully grant any OAuth scope — every scope value used the wrong casing versus Salesforce's actual metadata enum (apivsApi). Fixed with each literal verified against a live org; also added thechatbot_apiscope needed for Agent API callers.- Agentforce agent creation was broken end to end (v2.8.4):
GenAiPlannerno longer exists as a type (superseded byGenAiPlannerBundle), the agent→planner link was never written by any tool, andsf_create_agentbroke outright wheneverinstructionswas passed. - 8 more Agentforce/Einstein bugs (v2.8.5):
sf_retrieve_metadatastarted an async job but could never actually return the result;sf_create_einstein_botandsf_create_einstein_predictionwere both non-functional (5 separate XML defects between them). - 10 Flow bugs (v2.8.3):
sf_create_flowandsf_create_flow_from_xmlturned out to be two independent XML generators — the onesf_create_flowactually uses had never been tested; record-triggered and scheduled flows never deployed at all. - 5 bugs across dashboards, escalation rules, field dependencies, global value sets, business processes (v2.8.2), including missing XML-escaping that broke any deploy containing
&. - 5 bugs in code-scanning and package tools (v2.8.1):
sf_run_code_scanner/sf_scan_apex_antipatterns404'd on every call; several CLI-wrapping tools swallowed the real Salesforce error message and surfaced only a generic failure;sf_install_packagehung on any package requesting site-access approval. - Removed 5 fake-passing Agentforce/Einstein tests from
test-suite.mjsthat could never fail (try/catch always returning success) and exercised orphaned code no MCP tool actually calls — real coverage now lives in dedicatedqa-agentforce.mjs/qa-agentforce-adjacent.mjssuites. - Fixed
sf_create_connected_app's own regression test, which called the function with a wrong parameter name and omitted both required fields — very likely how the scope-casing bug above went unnoticed for as long as it did.
Investigated, not a code defect
Agentforce custom action creation (GenAiFunction) is blocked by org licensing/edition in the test org used for this project, confirmed by attempting to assign the relevant Permission Set License directly (Salesforce rejected it: user license doesn't support it). Agent activation and Consumer Secret retrieval have no API path on either Connected Apps or External Client Apps — both are Setup UI only, by Salesforce's own design.
Full details for every fix: CHANGELOG.md