Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

MCP Security Python Packages

Python packages with the GitHub topic mcp-security. Sorted by monthly downloads, with stars and forks.
hashgraph-online
plugin-scanner

Open-source antivirus and firewall for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

183K 1K 293
hashgraph-online
hol-guard

Open-source antivirus and firewall for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

108K 1K 293
golf-mcp
mcp-testing

Comprehensive MCP testing framework - test performance, security and compliance in one CLI

83K 5 3
Agent-Threat-Rule
pyatr

Open detection-rule standard for AI agent security threats — like Sigma, but for AI agents. Executable, testable rules for prompt injection, tool poisoning, context exfiltration and MCP attacks. Merged into open-source projects at Microsoft, Cisco, Gen Digital, MISP and FINOS. MIT-licensed.

25K 445 71
pezhik
skilltotal

Static security scanner for npm/PyPI packages, MCP servers, agent skills, VS Code extensions and repos. Runs locally, never runs the code, no LLM. CLI, Claude Code plugin, Action.

24K 16 1
mcp-hangar
mcp-hangar

MCP policy enforcement plane — deterministic policy on every Model Context Protocol call: identity, RFC 8707 audience binding, tool schema digest pinning, full audit trail. Python, self-hosted, MIT.

21K 18 10
Rul1an
assay-it

Open evidence profile for MCP tool actions. Enforce configured tool-call policies and record decisions and observations in offline-verifiable bundles. Optional Linux kernel controls. No hosted backend required.

19K 17 3
koda-ai-studio
agent-bom

AI supply-chain BOM: every agent, MCP server and AI package, and what each one can reach. Open-source scanner and self-hosted control plane for code, containers, cloud and AI. Self-host free; local scans need no account.

18K 38 12
spellwarden-ai
spellwarden

Open-source scanner for agent skills, MCP servers, A2A agent cards and the agent configuration of Claude Code, Cursor, VS Code, Windsurf, Codex and Gemini CLI. 66 rules mapped to OWASP, NIST and MITRE ATLAS; SARIF output; Apache-2.0.

16K 3 0
sattyamjjain
agent-audit-kit

Static scanner for MCP-connected AI agent pipelines. 562 rules across 14 categories, 14 compliance frameworks, OWASP Agentic 10/10 + MCP 10/10, GitHub Action, SARIF, public CVE-to-rule ledger.

14K 12 1
sunglasses-dev
sunglasses

Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,569 patterns across 117 categories and reports findings and incomplete scans. A Claude Code hook blocks secret material in tool calls and the paths and hosts your policy lists before tools run.

13K 11 3
usezn
zn-gate

The local security layer for coding agents. Use Claude Code, Codex CLI, Cursor, OpenCode, Antigravity or the ZCode desktop app (plus Gemini CLI and Copilot CLI, experimental) without exposing your secrets, your data or your systems. Open source (MIT), no account, nothing sent by default.

8K 5 0
alexar76
aimarket-histor

HISTOR — public transparency log of MCP tool definitions: reads what remote MCP endpoints in the official registry advertise (never calls a tool), signs it as MTL/1 labels, appends them to an RFC 9162 Merkle log, and answers /check: is what a client received what was observed? Never calls a server safe.

8K 0 0
msaleme
agent-security-harness

AI agent security harness, adversarial testing: 662 executable tests in the v4.32.0 release, across MCP, A2A, x402/L402, decision governance, benchmark integrity, human-in-the-loop, skill supply chain. Five target shapes: a verdict must be able to be wrong AND to be right. OWASP Agentic v1.1 T1-T17, AIUC-1 crosswalk (2026-10-15), NIST AI 800-2.

7K 33 8
strangertest-labs
stranger-test

Test whether user B can read user A's data in your AI app. Two-user, cross-tenant isolation tests (IDOR/BOLA) for LangGraph agent servers, MCP servers and gateways, and LLM semantic caches. Python CLI and GitHub Action.

6K 0 0
rezearcher
greyridge-x402-tools

Keyless x402 (USDC-on-Base) pay-per-call APIs for AI agents: maintained multi-ATS jobs & hiring feed, company/domain enrichment, email deliverability grading, Base-token honeypot/rug safety, and an MCP prompt-injection scanner (OWASP LLM01/LLM08, CI-gateable). Free previews, no API key. CLI / LangChain / CrewAI.

6K 0 0
Threx-code
cordon-scanner

Language-agnostic software supply-chain security scanner covering 28 ecosystems. Detects malicious packages, suspicious code, install-time threats, secrets and AI-agent security risks before execution

6K 4 1
babywyrm
mcpnuke

MCP red teaming & security scanner — enumerate, probe, and exploit Model Context Protocol servers

5K 3 0
Balanov
mcp-attest

Authorization conformance harness for MCP servers: test a live server against your own policy, as every identity, and produce evidence an auditor can verify.

5K 10 2
nagarajulu
mcp-cage

Zero-Code Wire & Native-Hook Security Firewall for Claude Code, Cursor, Codex, Gemini CLI & MCP (Gitleaks + Little Snitch for AI Coding Agents)

5K 1 0
loglux
authmcp-gateway

🔐 Secure authentication proxy for MCP servers with JWT auth, real-time monitoring, and admin dashboard. Production-ready Docker deployment.

5K 13 6
AgentAvow
agentgraph-trust

Is this AI tool safe to connect? Safe to connect, Review before you connect, or Do not connect, backed by a signed 0-100 trust score anyone can verify offline. For MCP servers, packages, repos and agent skills.

4K 6 10
open-coder-ai
chock

Governance-as-code for AI coding agents: author a policy once, enforce it on every agent (Claude, Copilot, Cursor, Codex) via git hooks, CI, and native controls.

4K 11 1
preloop
preloop

The open-source AI agent control plane and software factory: govern every tool and model call.

3K 97 24
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology