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โ
- Claude Code
- Gemini CLI
- VS Code (Copilot)
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"
}
}
}
}
Add to your Gemini MCP config:
{
"mcpServers": {
"squirex": {
"command": "npx",
"args": ["-y", "@squirex.dev/mcp-server"],
"env": {
"SQUIREX_PROJECT_DIR": "/path/to/your/salesforce/project"
}
}
}
}
Add to your VS Code MCP settings (settings.json):
{
"mcp.servers": {
"squirex": {
"command": "npx",
"args": ["-y", "@squirex.dev/mcp-server"],
"env": {
"SQUIREX_PROJECT_DIR": "${workspaceFolder}"
}
}
}
}
Environment Variablesโ
| Variable | Required | Description |
|---|---|---|
SQUIREX_PROJECT_DIR | โ | Absolute path to your Salesforce project root |
SQUIREX_LICENSE_KEY | For private repos | License 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
squirexCLI installed (or available via npx)- A Salesforce project with Agentforce metadata