Skip to main content

SecurityStack MCP

Give your AI agent the ability to secure its own environment — one MCP config, six tools.

Audit MCP configs for poisoning, redact secrets/PII before they leave for an LLM, vet untrusted skills, monitor dependency health, and actively scan your network. All from a single securitystack entry in your agent's MCP config.

This is the client: the unified MCP server an AI agent (Claude CLI/Desktop, or any MCP-aware agent) installs to call the SecurityStack hosted services. The backend services themselves are hosted — you don't run them. You configure API keys and your agent gets six security tools.

Why

An AI agent has four ways to get compromised. SecurityStack covers all four:

1. What it INSTALLS   → poisoned skills / MCP configs     → scan_skill + audit_mcp_server_config
2. What it DEPENDS ON → a dependency goes down/rogue        → check_dependencies
3. Where it's EXPOSED → open ports, default creds           → network_scan (with AI agent loop)
4. What it SENDS OUT  → secrets/PII leak into the LLM       → scan_secrets

Two of these — audit_mcp_server_config and scan_secrets — run offline, in-process, with no API key. They work the moment you install the server. The other four call hosted services (configure their keys to enable them; each is skipped gracefully if unset).

Install

1. Install the server

# From source (clone this repo, then install):
git clone https://github.com/<your-org>/securitystack-mcp.git
cd securitystack-mcp
pip install .

(A pip install securitystack-mcp from PyPI will be available once published. Until then, install from source as above.)

2. Add it to your agent

For Claude Desktop / CLI (claude_desktop_config.json or ~/.claude.json):

{
  "mcpServers": {
    "securitystack": {
      "command": "python",
      "args": ["-m", "stack.unified_mcp_server"],
      "env": {
        "ACTIVESCANNER_API_KEY": "ask_live_...",
        "DEPSCAN_API_KEY": "dsk_live_...",
        "SECURITYSCAN_API_KEY": "ss_live_...",
        "SECRETSCAN_API_KEY": "ssc_..."
      }
    }
  }
}

The two offline tools (audit_mcp_server_config, scan_secrets) need no key and work immediately. The four hosted-service tools activate when you set their key; set only what you use.

Get API keys at securitystack.io (Free tier available — no credit card).

3. Verify

claude mcp list
# securitystack ... Connected

Then ask your agent: "Audit my MCP config for security risks" or "Scan this prompt for secrets before I send it: ..."

The six tools

Tool What it does Needs a key?
audit_mcp_server_config Audits an MCP config for tool poisoning, leaked credentials, supply-chain risk, toxic capability pairs (OWASP MCP Top 10). No — runs offline
scan_secrets Detects & redacts secrets (API keys, tokens, private keys) + PII (email, phone, SSN, credit card, IBAN) in a payload before it leaves for an LLM/API. Runs offline in-process with no key; routes to the backend if a key is set. No — runs offline
scan_skill Analyzes an untrusted AI skill for prompt injection, malware patterns, OWASP LLM Top 10 — before you install it. SECURITYSCAN_API_KEY
check_dependencies Checks the health (uptime, SSL, blacklist, trust score) of endpoints your agent depends on. DEPSCAN_API_KEY
network_scan Active security scan of a device/host with an autonomous AI agent that reasons about findings. Requires authorized: true — only scan what you own. ACTIVESCANNER_API_KEY
full_stack_audit All of the above correlated into one prioritized report. per-tool keys

Authorization & legality

network_scan performs active scanning. You must set authorized: true to certify you own or have permission to scan the target. Scanning without authorization may violate the CFAA (US), the Computer Misuse Act (UK), and similar laws. See the Terms of Service.

License

Apache-2.0. See LICENSE.

Metadata

Release files for securitystack-mcp 0.1.0

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

Source distribution (sdist)

Source distribution for securitystack-mcp 0.1.0
File Size Uploaded
securitystack_mcp-0.1.0.tar.gz 19.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for securitystack-mcp 0.1.0
File Interpreter ABI Platform
securitystack_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / securitystack_mcp-0.1.0.tar.gz

Download URL securitystack_mcp-0.1.0.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f64b3e21852133d8f0b9ef7488cd534b859890d9e10c228f577ca58719c219a
BLAKE2b-256 checksum
How to use checksums
cec6d5f6128611d948351014670170ee9cebe4b63599bc24eebbd1504de4606c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / securitystack_mcp-0.1.0-py3-none-any.whl

Download URL securitystack_mcp-0.1.0-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e07e657b958eecc8d1ffd694cf446d822143ff9ec77f6533daaaabac95a4fa9
BLAKE2b-256 checksum
How to use checksums
d4a35b6eaa0e00816be1eb9e5fe1a9db15c776db4de1e8e90d8d7bbc83fa2d64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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