Back to Home
JoKFA icon

MCP-Security-Framework

Verified Safe

by JoKFA

Overview

Automated security assessment and vulnerability detection for Model Context Protocol (MCP) servers.

Installation

Run Command
python mcpsf.py assess @modelcontextprotocol/server-time

Environment Variables

  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • GITHUB_TOKEN
  • STRIPE_API_KEY
  • AWS_ACCESS_KEY_ID
  • GOOGLE_API_KEY
  • DATABASE_URL
  • MONGODB_URL
  • REDIS_URL
  • HTTP_PROXY
  • HTTPS_PROXY

Security Notes

The framework itself is designed with strong security principles, isolating target MCPs in Docker containers and enforcing policies (rate limiting, scope, redaction) via a SafeAdapter. Critical operations like git cloning and running internal commands are performed within these isolated environments. While complex interactions with Docker sockets and `exec_run` carry inherent risks, the implementation shows careful handling (e.g., `shlex.quote`, binary header parsing for `stdio` streams). No direct `eval()` calls by the framework were found. The primary attack surface is the target MCPs it assesses, which it aims to contain securely within sandboxes.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassMedium
Stars2
Forks1
Last Update2025-12-13

Tags

security testingvulnerability detectionLLM securityAI securityDocker sandboxingautomated assessmentCI/CD integrationMCP