Back to Home
JoKFA icon

MCP-Security-Framework

Verified Safe

by JoKFA

Overview

A comprehensive security testing framework for Model Context Protocol (MCP) servers, designed to detect vulnerabilities through automated sandboxing and active probing.

Installation

Run Command
python mcpsf.py assess <source>

Environment Variables

  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • BRAVE_API_KEY
  • GITHUB_TOKEN
  • STRIPE_API_KEY
  • AWS_ACCESS_KEY_ID
  • GOOGLE_API_KEY
  • DATABASE_URL
  • MONGODB_URL
  • REDIS_URL

Security Notes

The framework employs strong sandboxing via Docker containers to isolate target MCP servers and their dependencies. All interactions with targets are mediated by a SafeAdapter, enforcing scope, rate limits, and evidence redaction. While executing untrusted code (dependency installation, server startup) is inherent to its testing function, this occurs within an isolated Docker environment. The crash analysis loop, which may install system dependencies (e.g., via `apt-get install`), broadens the in-container attack surface but remains confined within the sandbox. No direct hardcoded secrets for framework operation or obfuscated code were detected in the provided source code. The design prioritizes non-destructive assessment of external targets.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassMedium
Avg Tokens250
Stars2
Forks1
Last Update2025-11-26

Tags

AI SecurityLLM SecurityVulnerability ScannerContainerized TestingDevSecOpsAutomated Assessment