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โ
| Surface | Count | Description |
|---|---|---|
| Tools | 16 | Callable functions for scanning, testing, schema analysis |
| Resources | 6 | URIs exposing scan results, schema, coverage as structured data |
| Prompts | 4 | Pre-built agentic workflows for security review and test generation |
16 Toolsโ
Core Scanningโ
| Tool | Description |
|---|---|
scan_agentforce | Run all security rules. Returns SARIF JSON. |
scan_agentforce_file | Scan a single metadata file |
scan_agentforce_rule | Run one specific rule (e.g. AGENTFORCE-1.1) |
Rule Intelligenceโ
| Tool | Description |
|---|---|
list_scan_rules | List all rules with ID, category, severity |
get_rule_details | Full description + remediation for a rule |
explain_violation | Root-cause analysis for a specific violation |
suggest_fix | Generate a metadata/code fix suggestion |
Apex Testing & Schemaโ
| Tool | Description |
|---|---|
run_tests | Execute Apex tests using the Go runtime |
get_coverage | Line-level code coverage data |
analyze_schema | Inferred SObject schema from the codebase |
predict_conflicts | Merge conflict prediction between branches |
generate_sarif_report | SARIF output for CI pipeline integration |
Testing Center Bridgeโ
| Tool | Description |
|---|---|
generate_dx_tests | Convert scan violations โ Agentforce DX test YAML |
validate_dx_tests | Validate DX test spec syntax and schema |
push_to_testing_center | Push test spec via sf agent test run |
get_testing_center_results | Get status/results of a Testing Center run |
4 Promptsโ
| Prompt | What It Does |
|---|---|
review-agentforce-security | Full security scan โ prioritized remediation plan |
fix-agentforce-violation | Diagnose + fix a specific violation |
harden-agent-metadata | Proactive defense-in-depth review |
generate-test-evaluation | Generate 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โ
- Setup โ โ configure for Claude Code, Gemini, or Copilot
- Tools Reference โ โ all 16 tools in detail
- Prompts Reference โ โ built-in agentic workflows