simply-sf-mcp

v0.2.6
@simplysf/simply-sf-mcp Checked 10 hours ago Published 20 days ago

An MCP server that exposes SimplySF Salesforce tooling to coding agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

simply_apex_test_suite_generate Generate an Apex test suite file

Write an `ApexTestSuite` metadata file listing every `@IsTest` class in the given source directories. Pass one or more `source_dir` paths (for example `force-app`), the suite `name`, and the `output_dir` to write `<name>.testSuite-meta.xml` into. An existing file with that name is overwritten. This reads and writes local files only and never contacts an org. Deploy the file with the Salesforce CLI afterwards if the suite should exist in an org.

ParameterTypeDescription
name *stringThe test suite name; the file is written as <name>.testSuite-meta.xml.
output_dir *stringDirectory to write the file into, relative to the project root or absolute.
source_dir *arraySource directories to scan for @IsTest classes, relative to the project root or absolute.

simply_aep_binding_list List AT4DX Application Factory bindings

List the AT4DX Application Factory bindings (Service, Selector, Domain and Unit of Work custom metadata) and which record wins for each key. Use this to answer "which class does `Application.Service.newInstance(IAccountsService.class)` return?" or "which selector is used for Account?". Each item has the binding type, the key (the interface or SObject), the bound class in `to`, its priority or sequence, and `effective`, which is true for the record AT4DX actually resolves to. A Domain key with more than one candidate is marked `ambiguous`. Read local source by passing `source_dir` (for exampl…

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
effective_onlybooleanOnly the record that wins for each key.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.
typearrayOnly these binding types. Defaults to all four.

simply_aep_binding_validate Validate AT4DX Application Factory bindings

Check the AT4DX Application Factory bindings for wiring problems: two Domain or Unit of Work bindings for one SObject, two bindings to the same class, colliding sequences, duplicate developer names, SObject references that are missing or ambiguous, and Domain bindings whose SObject has no trigger. Each issue has a `severity` (`error` for a real bug, `warning` for a likely one), the `rule` it broke and a `message`. Use it after changing binding custom metadata, or to explain why AT4DX resolves the wrong class. Pass `source_dir` to check local source or `target_org` to check an org; with neithe…

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.
typearrayOnly these binding types. Defaults to all four.

simply_aep_domain_process_binding_list List AT4DX Trigger Action Framework bindings

List the AT4DX Trigger Action Framework bindings (`DomainProcessBinding__mdt`): the criteria and action classes run for each SObject's trigger events or domain method tokens, in execution order. Use this to see what runs when, for example, an Account is inserted. Items carry the SObject, the trigger operation or domain method token, the type (Criteria or Action), the order, the class, and whether the binding is active or asynchronous. `orderCollision` marks two active bindings that share an order. Filter with `sobject` and `active_only`. Pass `source_dir` for local source or `target_org` for…

ParameterTypeDescription
active_onlybooleanOnly active bindings.
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
sobjectarrayOnly bindings for these SObject API names, for example ["Account"].
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.

simply_aep_domain_process_binding_validate Validate AT4DX Trigger Action Framework bindings

Check the AT4DX Trigger Action Framework bindings for wiring problems: active bindings that share an order, a missing trigger operation or domain method token, duplicate developer names, and SObject references that are missing or ambiguous. With `sobject`, the issues about those SObjects come first, followed by issues that affect the whole scan. Each issue has a `severity`, a `rule` and a `message`. Pass `source_dir` for local source or `target_org` for an org; with neither, the project's default org is checked.

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
sobjectarrayOnly bindings for these SObject API names, for example ["Account"].
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.

simply_aep_field_set_inclusion_list List AT4DX selector field set inclusions

List the AT4DX selector field set inclusions (`SelectorConfig_FieldSetInclusion__mdt`): which field sets are added to each SObject's selector. Every active record contributes its field set; there is no winner to resolve. Use this to find out why a selector queries a field. Pass `source_dir` for local source or `target_org` for an org; with neither, the project's default org is read.

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.

simply_aep_field_set_inclusion_validate Validate AT4DX selector field set inclusions

Check the AT4DX selector field set inclusions for wiring problems: the same field set included twice for an SObject, duplicate developer names, and SObject references that are missing or ambiguous. Each issue has a `severity`, a `rule` and a `message`. Pass `source_dir` for local source or `target_org` for an org; with neither, the project's default org is checked.

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.

simply_aep_platform_event_subscription_list List AT4DX platform event subscriptions

List the AT4DX Platform Event Distributor subscriptions (`PlatformEvents_Subscription__mdt`), sorted by event bus, then category, then name. Every active subscription that matches an event is invoked; there is no winner to resolve. Use this to find which consumer classes run for a platform event. Pass `source_dir` for local source or `target_org` for an org; with neither, the project's default org is read.

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.

simply_aep_platform_event_subscription_validate Validate AT4DX platform event subscriptions

Check the AT4DX Platform Event Distributor subscriptions for wiring problems, several of which fail silently at run time: a missing event bus or consumer, a matcher rule without the field it matches on, subscriptions that can never be reached, an event bus that lacks the fields the distributor needs, and duplicate consumers or developer names. Each issue has a `severity`, a `rule` and a `message`. Pass `source_dir` for local source or `target_org` for an org; with neither, the project's default org is checked.

ParameterTypeDescription
api_versionstringAPI version to use, for example "62.0". Defaults to the org's own.
limitintegerMaximum number of items to return. Defaults to 200; check "truncated" in the result.
source_dirarrayLocal source directories to read instead of an org, relative to the project root or absolute (for example ["force-app"]).
target_orgstringAlias or username of an org the user has authorized with `sf org login`. Read-only tools fall back to the project's default target-org when it's omitted; tools that change an org require it.

simply_package_version_get Get a package version from sfdx-project.json

Read the version a package is declared at in the project's `sfdx-project.json`: either a dependency's version or the version the project's own package builds. Use this when you need a version number to put in a script, a branch name or a commit message, or to check which dependency version the project pins. Pass the package name or alias in `package`. If the same package is declared at different versions in more than one package directory, pass `directory` (a package directory path as written in `sfdx-project.json`, for example `force-app`) to pick one. This reads the local project file only…

ParameterTypeDescription
package *stringThe package name or alias to look up.
directorystringOnly search this package directory, by its path in sfdx-project.json (for example "force-app").