Skip to main content

MCP Server

The @squirex.dev/mcp-server package exposes the SquireX Agent Capability Scanner to AI coding agents via the Model Context Protocol. Scan Salesforce Agentforce, ServiceNow Now Assist, MuleSoft Agent Fabric, and MCP servers โ€” directly from your AI coding agent.

Works with Claude Code, Gemini, GitHub Copilot, and any MCP-compatible IDE.


Surfaceโ€‹

SurfaceCountDescription
Tools16Callable functions for scanning, testing, schema analysis
Resources6URIs exposing scan results, schema, coverage as structured data
Prompts4Pre-built agentic workflows for security review and test generation

16 Toolsโ€‹

Core Scanningโ€‹

ToolDescription
scan_agentforceRun all security rules. Returns SARIF JSON.
scan_agentforce_fileScan a single metadata file
scan_agentforce_ruleRun one specific rule (e.g. AGENTFORCE-1.1)

Rule Intelligenceโ€‹

ToolDescription
list_scan_rulesList all rules with ID, category, severity
get_rule_detailsFull description + remediation for a rule
explain_violationRoot-cause analysis for a specific violation
suggest_fixGenerate a metadata/code fix suggestion

Apex Testing & Schemaโ€‹

ToolDescription
run_testsExecute Apex tests using the Go runtime
get_coverageLine-level code coverage data
analyze_schemaInferred SObject schema from the codebase
predict_conflictsMerge conflict prediction between branches
generate_sarif_reportSARIF output for CI pipeline integration

Testing Center Bridgeโ€‹

ToolDescription
generate_dx_testsConvert scan violations โ†’ Agentforce DX test YAML
validate_dx_testsValidate DX test spec syntax and schema
push_to_testing_centerPush test spec via sf agent test run
get_testing_center_resultsGet status/results of a Testing Center run

4 Promptsโ€‹

PromptWhat It Does
review-agentforce-securityFull security scan โ†’ prioritized remediation plan
fix-agentforce-violationDiagnose + fix a specific violation
harden-agent-metadataProactive defense-in-depth review
generate-test-evaluationGenerate Agentforce DX test YAML specs

Architectureโ€‹

AI Coding Agent (Claude / Gemini / Copilot)
โ”‚
โ”‚ MCP Protocol (stdio)
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ @squirex.dev/mcp-server โ”‚
โ”‚ 16 tools ยท 6 resources โ”‚
โ”‚ 4 prompts โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ spawn
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ squirex CLI โ”‚ โ”‚ sf agent test run โ”‚
โ”‚ scan / generate-tests โ”‚ โ”‚ โ†’ Testing Center โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ JSON IPC
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ squireinterp (Go) โ”‚
โ”‚ SAST Rules โ”‚
โ”‚ Apex Runtime โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Next Stepsโ€‹