MCP Tools Reference
All 16 tools available in @squirex.dev/mcp-server.
Core Scanningโ
scan_agentforceโ
Runs all security rules against the project. Returns SARIF JSON.
Parameters:
dir(optional) โ overrideSQUIREX_PROJECT_DIRrules(optional) โ comma-separated rule IDs to restrict
scan_agentforce_fileโ
Scans a single metadata file against applicable rules.
Parameters:
fileโ absolute or relative path to the file
scan_agentforce_ruleโ
Runs a single rule against the full project.
Parameters:
ruleIdโ e.g.AGENTFORCE-1.1
Rule Intelligenceโ
list_scan_rulesโ
Returns all rules with id, category, severity, and short description.
get_rule_detailsโ
Returns full rule documentation including remediation guidance.
Parameters:
ruleId
explain_violationโ
Provides root-cause analysis for a specific SARIF result.
Parameters:
ruleIdlocationโ file + line from SARIF output
suggest_fixโ
Generates a metadata or code fix for a violation.
Parameters:
ruleIdcontextโ the violating XML/Apex snippet
Apex Testing & Schemaโ
run_testsโ
Executes Apex tests using the Go runtime engine.
Parameters:
method(optional) โClassName.methodNamefor single-method runsmockData(optional) โ path to testdata JSON
get_coverageโ
Returns line-level coverage data from the last test run.
analyze_schemaโ
Returns the inferred SObject schema from the codebase.
predict_conflictsโ
Parameters:
branchesโ comma-separated branch names (e.g.main,feature/my-branch)
generate_sarif_reportโ
Generates SARIF output for CI integration from the last scan.
Testing Center Bridgeโ
generate_dx_testsโ
Converts scan violations to Agentforce DX test YAML.
Parameters:
rules(optional) โ filter to specific rule IDs
validate_dx_testsโ
Validates the generated DX test spec syntax.
push_to_testing_centerโ
Pushes the spec to Salesforce via sf agent test run.
Parameters:
targetOrgโ authenticated org alias
get_testing_center_resultsโ
Returns the status and results of the latest Testing Center run.