Static analysis scanner for multi-tenant SaaS and MCP server code. 57 deterministic rules for cross-tenant data leakage, IDOR, RLS, and MCP-specific risks. Includes MCP server, SARIF output, and GitHub Action.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tenant-isolation -- npx -y mcp-tenant-isolation~/.codex/config.toml
[mcp_servers.tenant-isolation]
command = "npx"
args = ["-y", "mcp-tenant-isolation"]
# codex mcp add tenant-isolation -- npx -y mcp-tenant-isolation~/.cursor/mcp.json
{
"mcpServers": {
"tenant-isolation": {
"command": "npx",
"args": [
"-y",
"mcp-tenant-isolation"
]
}
}
}.vscode/mcp.json
{
"servers": {
"tenant-isolation": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-tenant-isolation"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tenant-isolation": {
"command": "npx",
"args": [
"-y",
"mcp-tenant-isolation"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tenant-isolation": {
"command": "npx",
"args": [
"-y",
"mcp-tenant-isolation"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"tenant-isolation": {
"command": "npx",
"args": [
"-y",
"mcp-tenant-isolation"
]
}
}
}