Skip to main content

MCP Server Setup

Add SquireX to your AI IDE in one configuration block.


Installโ€‹

npm install -g @squirex.dev/mcp-server

Or use npx (no install needed):

"command": "npx",
"args": ["-y", "@squirex.dev/mcp-server"]

Configure Your IDEโ€‹

Add to ~/.config/claude/claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
"mcpServers": {
"squirex": {
"command": "npx",
"args": ["-y", "@squirex.dev/mcp-server"],
"env": {
"SQUIREX_PROJECT_DIR": "/path/to/your/salesforce/project"
}
}
}
}

Environment Variablesโ€‹

VariableRequiredDescription
SQUIREX_PROJECT_DIRโœ…Absolute path to your Salesforce project root
SQUIREX_LICENSE_KEYFor private reposLicense key โ€” get from squirex.dev/pricing

Verifyโ€‹

Once configured, ask your AI agent:

"Scan my Agentforce metadata for security vulnerabilities"

The agent will call scan_agentforce and return a prioritized violation report.


Requirementsโ€‹

  • Node.js โ‰ฅ 18
  • squirex CLI installed (or available via npx)
  • A Salesforce project with Agentforce metadata