Skip to main content

AI Security Scanner MCP - Cloud Edition

World's first comprehensive agentic AI security scanner with 27 specialized agents covering 100% OWASP ASI + LLM vulnerabilities. This thin client connects to our secure cloud infrastructure where all scanning happens.

Current Version: 1.0.31 | Python: >=3.10 | Package Size: ~50KB

🏗️ Architecture

This package is a lightweight cloud proxy (~50KB) that connects Claude Code to our cloud-hosted security scanning infrastructure. All 27 security agents run in our secure Google Cloud environment, not on your local machine.

Benefits of Cloud Architecture:

  • Always up-to-date security rules
  • No local compute resources needed
  • Proprietary agent logic protected
  • Consistent scanning environment
  • Sub-second scan execution
  • NEW: Automatic report file generation

🚀 Quick Start

Step 1: Get Your API Key

  1. Visit https://app.ai-threat-scanner.com/dashboard/api-keys
  2. Sign up for free account
  3. Generate new API key
  4. Copy your key (format: ciso_live_abc123xyz)

Recommended: Use uvx (no installation required):

claude mcp add ai-security-scanner \
  -e AI_SECURITY_API_KEY=ciso_live_abc123xyz \
  -- uvx --python=3.12 ai-security-mcp@1.0.31

Alternative: Traditional pip install:

pip install ai-security-mcp==1.0.31
claude mcp add ai-security-scanner \
  -e AI_SECURITY_API_KEY=ciso_live_abc123xyz \
  -- ai-security-mcp

Replace ciso_live_abc123xyz with your actual API key.

Step 3: Start Scanning

Open Claude Code and ask:

Scan this repository for AI security vulnerabilities

The thin client will connect to our cloud infrastructure, execute all 27 security agents, and return comprehensive vulnerability findings.

Reports are automatically saved to AIThreatScannerReports/{repository}/ with:

  • Agentic Security Report (vulnerability findings)
  • Comprehensive Analysis (detailed context)
  • Coverage Report (OWASP testing metrics)
  • Scan Summary (JSON format)

📋 Complete Setup Example (macOS)

This example walks through the complete setup process from scratch:

# 1. Install uvx (if not already installed)
pip install uv

# 2. Get your API key from https://app.ai-threat-scanner.com/dashboard/api-keys
# (Sign up for free account if needed)

# 3. Configure Claude desktop MCP server
cat > ~/Library/Application\ Support/Claude/claude_desktop_config.json <<'EOF'
{
  "mcpServers": {
    "ai-security-scanner": {
      "command": "/Users/$(whoami)/.local/bin/uvx",
      "args": ["--python=3.12", "ai-security-mcp@1.0.31"],
      "env": {
        "AI_SECURITY_API_KEY": "your_api_key_here",
        "AI_SECURITY_MCP_URL": "https://ciso-mcp-server-production.up.railway.app/api/tools/call"
      }
    }
  }
}
EOF

# 4. Replace "your_api_key_here" with your actual API key
# Edit the file and update the API key:
# open ~/Library/Application\ Support/Claude/claude_desktop_config.json

# 5. Restart Claude to load the MCP server
killall Claude && sleep 3 && open -a Claude

# 6. Verify MCP server is running (wait ~10 seconds after Claude starts)
ps aux | grep "ai-security-mcp"
# Expected output: Shows uvx running ai-security-mcp@1.0.31

# 7. In Claude, ask: "Scan this repository for AI security vulnerabilities"

# 8. After scan completes, check for report files
ls -lh AIThreatScannerReports/
# Expected: Directory with subdirectories for each scanned repository

# Example output after scanning a repo named "my-app":
# AIThreatScannerReports/my-app/
#   ├── AgenticSecurityReport_20251028_143022_abc123.md
#   ├── ComprehensiveAnalysis_20251028_143022_abc123.md
#   ├── CoverageReport_20251028_143022_abc123.md
#   └── ScanSummary_20251028_143022_abc123.json

Verification checklist:

  • ✅ uvx installed (which uvx)
  • ✅ Config file has valid JSON syntax
  • ✅ API key format: ciso_live_...
  • ✅ MCP server process running (ps aux | grep ai-security-mcp)
  • ✅ Claude shows AI Security Scanner in MCP menu
  • ✅ Scan completes and shows results
  • ✅ Report files created in AIThreatScannerReports/

📊 What You Get

27 Cloud-Hosted Security Agents

OWASP ASI (17 agents): Memory Poisoning, Tool Misuse, Privilege Compromise, Resource Overload, Cascading Hallucination, Intent Breaking, Misaligned Behaviors, Repudiation, Identity Spoofing, Overwhelming HITL, Unexpected RCE, Agent Communication Poisoning, Rogue Agents, Human Attacks, Human Manipulation, Insecure Protocol, Supply Chain

OWASP LLM Top 10 (10 agents): Prompt Injection, Insecure Output Handling, Training Data Poisoning, Model DoS, Supply Chain, Information Disclosure, Insecure Plugin Design, Excessive Agency, Overreliance, Model Theft

🔒 Security & Privacy

Cloud Processing: Your code is analyzed in our secure cloud infrastructure with enterprise-grade security controls.

Data Handling:

  • Code analyzed in isolated containers
  • Results returned via encrypted HTTPS
  • No permanent storage of your code
  • Scan metadata tracked for quota management

Authentication: API keys use secure Bearer token authentication with per-user quota tracking and access control.

📖 Usage Examples

Basic Repository Scan

Scan this repository for agentic AI vulnerabilities

Check Specific Files

Use the AI Security Scanner to check these files for prompt injection:
- src/prompts.py
- src/llm_integration.py

Get Scan History

Show my recent AI security scans

🛠️ Troubleshooting

MCP Server Not Starting

Check if MCP server is running:

ps aux | grep "ai-security-mcp"

If not running, check Claude desktop logs or restart Claude app:

# macOS
killall Claude && sleep 3 && open -a Claude

# Check config file
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json

Common causes:

  • Claude desktop config has syntax errors
  • API key environment variable not set
  • Wrong Python version (need 3.10+)
  • uvx not installed (pip install uv)

"API Key Required" Error

You need to set your API key. Get it from: https://app.ai-threat-scanner.com/dashboard/api-keys

Then reconfigure:

claude mcp remove ai-security-scanner
claude mcp add ai-security-scanner \
  -e AI_SECURITY_API_KEY=your_actual_key \
  -- uvx --python=3.12 ai-security-mcp@1.0.31

"Connection Failed" Error

Check cloud service status:

curl https://ciso-mcp-server-production.up.railway.app/health

Expected response: {"status":"healthy"}

If service is down, check status page: https://status.ai-threat-scanner.com

"Quota Exceeded" Error

You've reached your scan limit. View usage at: https://app.ai-threat-scanner.com/dashboard/usage

Upgrade your plan or wait for quota reset.

Report Files Not Created

Verify MCP server is running (see above).

Check directory permissions:

ls -la AIThreatScannerReports/

Expected after scan: 4 files per scan (3 Markdown + 1 JSON)

Verify version (must be 1.0.31+):

uvx --python=3.12 ai-security-mcp@1.0.31 --version

💰 Pricing

  • Free Tier: 10 scans/day, 100 scans/month
  • Pro Tier: 100 scans/day, unlimited monthly
  • Enterprise: Custom quotas and dedicated support

View pricing: https://ai-threat-scanner.com/pricing

📚 Documentation

🏢 Architecture Details

This package contains only the thin client proxy. The actual security scanning happens in our cloud infrastructure:

Your Machine          Cloud Infrastructure
┌─────────────┐      ┌──────────────────────┐
│ Claude Code │─────▶│ Cloud MCP Server     │
│             │      │ - 27 Security Agents │
│ Thin Client │◀─────│ - Vulnerability DB   │
│ (~50KB)     │      │ - Analysis Engine    │
└─────────────┘      └──────────────────────┘

Thin Client Responsibilities:

  • MCP protocol (stdio) with Claude Code
  • HTTPS proxy to cloud server
  • API key authentication
  • Request/response forwarding

Cloud Server Responsibilities:

  • API key validation
  • Agent execution (all 27)
  • Vulnerability analysis
  • Report generation
  • Quota tracking

📄 License

MIT License - see LICENSE file for details.

Metadata

Release files for ai-security-mcp 1.0.32

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-security-mcp 1.0.32
File Size Uploaded Provenance
ai_security_mcp-1.0.32.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-security-mcp 1.0.32
File Interpreter ABI Platform
ai_security_mcp-1.0.32-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / ai_security_mcp-1.0.32.tar.gz

Download URL ai_security_mcp-1.0.32.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6a3b5066bd0bb8e2e1d1bd541cb7ba465aca14225de5513a69dc476677a46074
BLAKE2b-256 checksum
How to use checksums
ccc51dcbe099e3607be8099cf9dff2de8b0a9e54bc0df5dc886b5cffab055830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / ai_security_mcp-1.0.32-py3-none-any.whl

Download URL ai_security_mcp-1.0.32-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f66100dd8bf6fbc9dcb6f2b1721de0b2cf5f98b216a5d6bb065e073783aeb4b
BLAKE2b-256 checksum
How to use checksums
c619aafe4171657aa7a82840d22301cf2348a71347a805cda4a89a7b07893947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for ai-security-mcp 1.0.32

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page